I am creating a new website and have purchased it's domain from GoDaddy, and i will possible host it in Amazon EC2 web server.
So i would like to know how i will attach my EC2 instance with already purchased GoDaddy domain name?
Thanks for asking this useful question.
First, you need to create Elastic IP on your Amazon web server console if you haven't created it yet or you can use public IP if you don't want to use Elastic IP.
Then go to our GoDaddy Account, log in and Go to Domain Name Server records, you need to place your public IP(Elastic IP) value into A-record of your DNS.
You will have three columns there
So you need to place your IP address(public Ip from Amazon EC2) in "Address" Column .
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.
For visual step by step guide check this post.
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly