Alex Rivera | Logout

Is there a way to have index.html functionality with content hosted on S3?

Asked 2008-08-26T12:30:19.253
40

Is there a way to make S3 default to an index.html page? E.g.: My bucket object listing:

/index.html
/favicon.ico
/images/logo.gif

A call to www.example.com/index.html works great! But if one were to call www.example.com/ we'd either get a 403 or a REST object listing XML document depending on how bucket-level ACL was configured.

So, the question: Is there a way to have index.html functionality with content hosted on S3?

Edit
Report

1 Answer

3

Yes. using AWS Cloudfront lets you assign a default file.

answered 2010-08-09T01:08:19.643

Your Answer