Suppose you want to host your static website on Amazon S3. You have registered a domain, for example, example.com, and you want requests for http://www.example.com and http://example.com to be served from your Amazon S3 content. Whether you have an existing static website that you now want to host on Amazon S3 or you are starting from scratch, this example will help you host websites on Amazon S3.