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.

Is it possible to have more that one CNAME for amazon web services S3 web site?

In docs it is said that bucket name should be equal CNAME.

mysite.com and www.mysite.com as aliaces do I need to create two buckets? It's so strange.

share|improve this question
2  
mysite.com technically can't be a CNAME at all. –  ceejayoz Sep 15 '12 at 14:19

1 Answer 1

up vote 0 down vote accepted

You can have as many names as you want that target the same CNAME. When they say the bucket name should be the CNAME, they mean the bucket name should be what the CNAME points to. Any number of names can point to the same bucket.

Note that a domain name cannot be a CNAME, only a host name can. So www.example.com can be a CNAME to an S3 bucket but example.com cannot.

share|improve this answer
    
Thanks, a question if you don't mind: for site to available via example.com I need to name my bucket as www.example.com, right? What if I want users to reach my site via example.com? what should I do? –  WHITECOLOR Sep 16 '12 at 14:14
    
The easiest way is to arrange to have your registrar do URL forwarding for you. –  David Schwartz Sep 16 '12 at 19:23
    
Ok, thank you for the advice. –  WHITECOLOR Sep 17 '12 at 8:38

Your Answer

 
discard

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.