Amazon Simple Storage Service
Developer Guide (API Version 2006-03-01)

Example Walkthroughs - Hosting Websites on Amazon S3

This section provides two examples. In the first example, you configure a bucket for website hosting, upload a sample index document, and test the website using the Amazon S3 website endpoint for the bucket. The second example shows how you can use your own domain, such as, instead of the S3 bucket website endpoint, and serve content from an Amazon S3 bucket configured as a website. The example also shows how Amazon S3 offers the root domain support.