How to Host an Entire Website on Amazon S3.
New Website feature allows you host an entire website on Amazon S3. With S3 Browser you can configure your S3 buckets as a "website". When a request is made to the root of your bucket configured as a website, Amazon S3 returns a root document. You can also configure Amazon S3 Bucket to return your own error documents when a 4xx-class error occurs.

To Configure your Amazon S3 Bucket as a Website

  1. Select the bucket, you want to configure website features for.
  2. Click Buckets->Edit Website Properties
    website features for s3 bucket
    Click Buckets->Edit Website Properties or use Ctrl+W keyboard shortcut
  3. Website Properties Dialog will appear.
    bucket website dialog
    Website Properties Dialog allows you to configure website features for amazon s3 bucket.

    Check Enable website features for bucket [bucketname] checkbox.

    Specify Index document and optionally Error document.

    Index document will be returned for requests made to the root of your website or for any subdirectory.

    For example, a GET request made to the following URI (either direct or via a CNAME):
    mywebsitedomain.s3-website-us-east-1.amazonaws.com/images/subdirectory/
    Will return the following S3 object
    mywebsitedomain.s3.amazonaws.com/images/subdirectory/index.html

    Error document will be returned when a 4XX error occurs. This parameter is optional. If no Error document specified, Amazon S3 will return a new HTML error page instead of the current XML error.

  4. Click the OK button to save changes.

Important Notices:

  1. Bucket name should conform with DNS requirements:
    • Should not contain uppercase characters
    • Should not contain underscores (_)
    • Should be between 3 and 63 characters long
    • Should not end with a dash
    • Cannot contain two, adjacent periods
    • Cannot contain dashes next to periods (e.g., "my-.bucket.com" and "my.-bucket" are invalid)

  2. Website features will work only when you access your bucket via the region-specific website endpoint. The website endpoint you use must be in the same region that your bucket.

    Below is the table with Amazon S3 regions and corresponding website endpoints.

    US Standards3-website-us-east-1.amazonaws.com
    US West (Northern California)s3-website-us-west-1.amazonaws.com
    EU (Ireland)s3-website-eu-west-1.amazonaws.com
    Asia Pacific (Singapore)s3-website-ap-southeast-1.amazonaws.com
download s3 browser, bucket explorer
S3 Browser 3.3.9 Free

Powered by Amazon Web Services and Rated by CNET Editors!
 


Related Products

"Amazon Web Services", "AWS", "Amazon S3", "Amazon Simple Storage Service", "Amazon CloudFront", "CloudFront", the "Powered by Amazon Web Services" logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.