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)

link|improve this question

feedback

2 Answers

up vote 2 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.

link|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
3  
@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. – ErikA 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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.