Domain Name Mapping In Aws
Choose the name of the hosted zone that matches the name of the domain that you.
Domain name mapping in aws. You can purchase a custom domain through a domain registrar such as amazon route 53 godaddy or google domains. But you must set up a dns record to map the custom domain name to the cloudfront distribution domain name. Login to the aws dashboard copy the public ip address and the public dns from the ec2 instance. If you re hosting a static website in an s3 bucket and it s your first time buying a domain name this simple guide is for you.
You must also provide a certificate for the custom domain name. If you bought domain names from any provider like godaddy namecheap etc other than aws route53 you might have their own name server entries. You can use a custom domain name to provide a url that s more intuitive and easier to recall. The aws apigateway domainname resource specifies a custom domain name for your api in api gateway.
If you already have a domain name or if you choose to use another domain registrar to get a domain name please refer to their documentation on configuring dns for your instance. Now you have your website on aws ec2 and want the domain name bought from another provider to be mapped with the ec2 instance. The company from which you bought the domain name is typically the one that provides the registrar functionality and maintains the nameservers.
In the navigation pane choose hosted zones. Click here to open the route 53 console in a new window route 53 is aws s dns service. This mapping is for api requests that are bound for the custom domain name to be routed to api gateway through the mapped cloudfront distribution.