Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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

share|improve this answer

what about the SOA and PTR records ?

should they be ec2-*.compute-1.amazonaws.com. or the mydomain.com. I'm new to dns and got quite confused with this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.