Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
What does your DNS entry look like right now? –  Kruug Mar 27 '13 at 15:22
    
Route 53 has four NS records and one SOA record for my domain if that's what you mean. –  neubert Mar 27 '13 at 15:40
    
Maybe I need to make my an A name record for my elastic IP? Do EC2 elastic IPs change? Maybe I could use the elastic IPs public DNS in a PTR record? idk. Since it can take a while for these changes to propagate out it's hard to test.. –  neubert Mar 27 '13 at 15:47
1  
The A record should be the IP address that you want the domain to point to. Use this to check for propagation: whatsmydns.net –  Kruug Mar 27 '13 at 15:49
    
That worked - thanks! If you post it as an answer instead of a comment I'll accept it! –  neubert Mar 27 '13 at 16:07

2 Answers 2

up vote 2 down vote accepted

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/

share|improve this answer

Step 1 : Setting up AWS to provide an IP address for your DNS settings

  1. First we will need to assign an IP address to our server using Amazon’s Elastic IP system, so click Elastic IP’s in the left hand menu.
  2. In the top menu under “Addresses”, click “Allocate New Address”.
  3. Ensure “EIP used in” is set to “EC2″ and click “Yes, Allocate”.
  4. Click the tick box next to the new IP address that has appeared in the main left pane and press the “Associate Address” button in the top menu.
  5. In the “Instance” drop down, select your webserver that we set up previously and click “Yes, Associate”.
  6. That’s it for management on the AWS side of things, however please note that now when accessing your webserver through SSH, SFTP or MySQL, your public DNS address that you were using for the connection will have changed. At this point it is probably better to just use the new IP address to connect that you have just associated with your webserver.

Step 2: Setting up your DNS

  1. Login to your godaddy account and go to domain manager.
  2. Click launch infront of your domain.
  3. click on tab of DNS Zone File and click on Edit.
  4. chage the IP to the new one (you created by Elastic IP system) infront of @ in host section and save changes.
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.