How to route a domain name to Amazon EC2 web server instance?


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?

Thank you


Asked by:- jaiprakash
1
: 177 At:- 6/12/2017 11:32:24 AM
aws Amazon Ec2 GoDaddy Web Hosting






1 Answers
profileImage Answered by:- vikas_jk

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

  • 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

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.

0
At:- 6/12/2017 3:44:18 PM





Login/Register to answer
Or
Register directly by posting answer/details

Full Name *

Email *




By posting your answer you agree on privacy policy & terms of use
Related Questions