General Computing
dns amazon-ec2 amazon-web-services godaddy
Updated Wed, 17 Aug 2022 23:08:06 GMT

getting my domain name to point to my amazon ec2 instance


I'm trying to get my godaddy.com domain name pointed to my Amazon EC2 instance and am having some difficulty.

I created a hosted zone for my domain name on route 54 and set the namesevers up as the "delegation set" servers mentioned on Route 53 (ns-xxx.awsdns-xx.net, etc). But despite that it's not working.

One thing I'm wondering is... do I need to associate the domain name / zone to a particular EC2 instance or EC2 elastic IP? If so I don't know how to do that.

Any ideas?




Solution

Make sure the A-record of your DNS is pointing to the public-facing IP address of your server.

Generally you'll get three columns:

  • Host Name <- How users will get to your site (@, www, subdomain, etc)
  • Address <- where the record should point (generally the IP address of the server)
  • Record Type <- Typically this will be an A record

Using the @ symbol for your hostname will allow users to get to your site via http://domain.com. If you want http://www.domain.com, you will have to set up another record with www as the Host Name.

To check propagation, as well as making sure the record points to the proper address, you can use tools such as http://www.whatsmydns.net/





Comments (1)

  • +0 – Do you need to update the name servers as well? What should the nameservers be pointing to? — Nov 22, 2016 at 20:16  


External Links

External links referenced by this document: