Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Assume that I have created a Cloudfront distribution for a S3 bucket.

Does it matter if you use the aws uri such as verses using Are there any issues using uri for Cloudfront?

I'm currently using a cname in-front of my uri so the change it pretty easy.

share|improve this question

1 Answer 1

It does matter. Using means you are referencing the S3 storage direct and not CloudFront. The requests will be served from wherever the S3 servers are (America, I assume) instead of an edge location closer to the user. Obviously this means you don't get the speed benefits; I believe S3 bandwidth is also more expensive than CF.

You can use a CNAME in front of the S3 bucket if you like, but again that's not using CloudFront so if you want to use it the CNAME should point to instead.

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.