Alias multiple DNS entries to one Amazon S3 Bucket

Posted by Tristan on Server Fault See other posts from Server Fault or by Tristan
Published on 2010-08-10T21:13:23Z Indexed on 2011/02/28 23:27 UTC
Read the original article Hit count: 305

Filed under:
|
|

I have a bucket on Amazon S3. Lets call it "webstatic.mydomain.com". I have a DNS alias setup for that bucket webstatic.mydomain.com CNAME -> web-static.mydomain.com.s3.amazonaws.com.

This all works great, however for some rather complicated reasons I now need:

webstatic.myOtherDomain.com to point to that same amazon bucket so:

webstatic.myOtherDomain.com CNAME -> web-static.mydomain.com.s3.amazonaws.com.

Fails, as the bucket is not called the same as the referring DNS. Can anyone tell me how to have two different DNS entries pointing to the same amazon bucket?

© Server Fault or respective owner

Related posts about dns

Related posts about amazon