go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How to map domain name to AWS EC2 instance: Amazon Route 53 example
 
Subject: How to map domain name to AWS EC2 instance: Amazon Route 53 example
Author: Linux
In response to: How to map domain name to AWS EC2 instance: Godday example
Posted on: 10/13/2011 06:20:01 PM

Another way is to use DNS hosting service, for example, Amazon Route 53.

Details can be found here: http://support.rightscale.com/03-Tutorials/02-AWS/02-Website_Edition/2._Deployment_Setup/4._Domain_Setup/Domain_Setup_with_Amazon's_Route_53

The whole point is:

                                
  YourDomainRegistrar =====> DnsHostingService ======> ElasticIpOfYourEC2
                        ^                         ^
                        |                         |
                        |                         |
                  ns1.dnsservice.com           A Records  
                  ns2.dnsservice.com


 

> On 10/13/2011 06:08:19 PM Linux wrote:

If you have your domain "mydomain.com" registered with GoDaddy.com, you can go to the GoDaddy DNS Manager, select Edit Zone for your domain, and put the your AWS EC2 instance's Elastic IP, for example, 123.123.123.123, in the box provided for the A record.

  A(Host) | Points to
----------+------------------
     @    | 123.123.123.123   


Here, @ stands for 'this', i.e. mydomain.com. This A record will resolve the following:
mydomain.com --> 123.123.123.123


Obviously, it does not resolve the subdomain www.mydomain.com. You have to add CNAME record:

  CNAME(Alias) | Points to
---------------+------------------
     www       | @   


This CNAME record will resolve the following
www.mydomain.com --> @ (mydomain.com) --> 123.123.123.123



As with most DNS changes, you may need to wait up until 24 hours for your change being propagated. GoDaddy takes less than 2 hours to push the change.





References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.