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.

How do I mask https://s3.amazonaws.com/BUCKET as a subdomain (static) using dns entries?

My Amazon bucket name is static.gamer-source.com

CNAME entry is: static CNAME static.gamer-source.com.s3.amazonaws.com. (this is setup through ENOM's host record manager)

share|improve this question

2 Answers 2

up vote 3 down vote accepted

Buckets are accessible using <bucket_name>.s3.amazonaws.com. Amazon provides a few options on how to access these resources using alternate means. Details are provided in the S3 docs.

share|improve this answer
When I do that, <bucket_name>.s3.amazonaws.com turns into <bucket_name>.s3.amazonaws.com. with an extra period which breaks it –  Webnet Nov 14 '10 at 23:14
@Webnet That period is actually the DNS system signifying an absolute domain name. Your CNAME resolves fine for me. –  Rob Olmos Nov 14 '10 at 23:40
Looks like static.gamer-source.com is working just fine. I'm getting an Access Denied error from AWS. –  EEAA Nov 14 '10 at 23:40
Bah you're right, now that I've stepped away for a while it's resolving. –  Webnet Nov 15 '10 at 0:20

In addition to what ErikA said, it's worth noting that you can't use SSL with a custom hostname like yours. Since your question included HTTPS in the URL, I assume that's something you're looking to do.

Since Amazon doesn't have your SSL certificate, they can't authenticate HTTPS traffic for your domain.

More info: http://shlomoswidler.com/2009/08/amazon-s3-gotcha-using-virtual-host.html

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.