Setup Domain with Amazon EC2

amazon ec2cname-recorddomain-name-system

I have domain from name.com and I want to add in Amazon EC2 server.

I got Public DNS ec2-xxx-xx-x-xxx.compute-1.amazonaws.com

Can I add A-Record in this DNS ?

When I add Elastic IPs , I can't use ssh and public DNS.

So, how to connect domain to Amazon EC2 ?

Best Answer

You will have to use a CNAME record to make your EC2 server visible inside your domain.