How do I map multiple domains to the same bucket on Amazon S3?

pimenz picture pimenz · Jul 23, 2012 · Viewed 8.6k times · Source

Is it possible to do that? I need to be able to access mydomain.com by typing in my-domain.com in the address bar of the browser?

Now I added a DNS entry:

my-domain.com CNAME mydomain.com

But this doesn't seem to work. I get an 404 not found error.

Answer

Geoff Appleford picture Geoff Appleford · Jul 24, 2012

You can only map a single domain to your S3 bucket. However you could use Cloudfront to do this.

See my answer to another similar question for more information.