I have a domain name on godaddy and i also have a amazon web services account. I have an EC2 instance and i want to change the dns nameserver on the godaddy control panel to aws and i have no idea what to change it too...if anyone has any idea on how to route the dns from godaddy to the amazon web servers i would highly appreciate it...thanks

link|improve this question

64% accept rate
feedback

migrated from stackoverflow.com Jan 31 '11 at 10:52

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 6 down vote accepted

First, you need an "Elastic IP" address from Amazon, which is basically a static IP. You can use the ec2-allocate-address command to get one, and then you can associate it with one of your EC2 instances.

For the details, see: http://aws.amazon.com/articles/1346?_encoding=UTF8&jiveRedirect=1

Note that you have to pay ($0.01/hr) for elastic IP addresses that aren't associated with a running instance.

Next, you use Godaddy (or any DNS service) to associate the host name you want with your static IP. This is done with an "A" (for "address") record. See this help page on Godaddy to set up A records: http://help.godaddy.com/article/680#arecs

Finally, you may need to wait some time (few minutes to an hour) for it all to propagate through. You can test it all by pinging your hostname.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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