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.

In this post it says its best to use CNAME only for Ec2 / route 53 setup: EC2/Route53: How do I assign my new domain name to an instance?.

However, I added:

*.mysite.org. CNAME ec2-174-129-38-xxx.compute-1.amazonaws.com.

...to my Route 53 DNS config and *www.*mysite.org works but mysite.org does not and the site 301's to non-www (mysite.org) so essentially nothing works.

Am I missing something? I guess I DO need an A record to the elastic IP?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Yes, you need an A record. CNAMEs can't be used for the root record of a domain.

share|improve this answer
Added A record and its working. thx. So what is Eric reffering to here?: serverfault.com/a/363294/100787 –  Hayden Mar 18 '12 at 0:45
Note that he's talking about www.example.com, not example.com. –  ceejayoz Mar 18 '12 at 1:33

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.