Custom Domain Name Aws Api Gateway
Now you need to create a custom domain in api gateway that you can use with your deployed gateways.
Custom domain name aws api gateway. The easiest way to do this with serverless is with the serverless domain manager plugin. Click create and a new domain should show up in the list. New blank custom domain name form should appear on your screen. When you create a private api you.
Switch over to the api gateway console and click custom domain names in the sidebar. Choose custom domain names from the main navigation pane. After a custom domain name is created in api gateway you must create or update your dns provider s resource record to map to your api endpoint. You can use a custom domain name to provide a url that s more intuitive and easier to recall.
But there s a pretty easy work around that involves a few steps. Create a new one enter in your domain name and select the certificate you just created. You ll also need to make sure you have the correct api type selected. An api s custom domain name can be the name of a subdomain or the root domain also known as zone apex of a registered internet domain.
New blank custom. Now in the left side menu choose custom domain names link and click on create custom domain name button. Log in to aws api gateway console using aws console click on custom domain names and enter details as follows domain name this would be your main endpoint to access the api endpoint configuration we selected regional edge optimized would use aws cloudfront to serve the api endpoint.
A mazon api gateway does not support custom domain names for private apis as of this post. Create a custom domain in api gateway by this point you should have an issued certificate and a serverless service with an http event configured. The aws apigateway domainname resource specifies a custom domain name for your api in api gateway.