3 ms·
Yes, except you have to use CNAMEs (you're meant to point at your distribution's hostname, not its IP address) so you're out of luck if your site is foo.com rat
by tomstuart 16y ago
Yes, except you have to use CNAMEs (you're meant to point at your distribution's hostname, not its IP address) so you're out of luck if your site is foo.com rather than www.foo.com.
- jpcx01 16y agoAlso, s3 doesnt serve up index.html for folders.
- tomstuart 16y agoBut S3 doesn't even have "folders"; a bucket is just a mapping from keys (paths) to values (documents). So if you want a document at /foo/bar, just store it at the path /foo/bar. The only special case is the root "folder" (i.e. the empty key), which CloudFront does now explicitly support: http://aws.amazon.com/about-aws/whats-new/2010/08/05/cloudfront-adds-default-root-object-capability/ http://aws.amazon.com/about-aws/whats-new/2010/08/05/cloudfr....