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
migrated from stackoverflow.com Jan 31 '11 at 10:52
This question came from our site for professional and enthusiast programmers.
First, you need an "Elastic IP" address from Amazon, which is basically a static IP. You can use the
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.
You can create a CNAME record that points to the EC2 Public DNS
In the GoDaddy DNS manager:
Then you can access
This will same you from having to pay the $.01 per hour for an elastic IP.