S3 Websites

You can host static websites with S3

  • Static websites are fixed and display the same content for every user and are usually written exclusively in HTML.

  • Dynamic websites can display different content and provide user interaction and are a mix of advanced programming and databases in addition to HTML.

  • Index and Error documents in S3 (both need to be HTML):

    • Must configure an index document (default page) for when the user is not requesting any specific page.

    • Optionally configure bucket with custom error document so that Amazon S3 returns that HTML error document when an error occurs.

  • Website Endpoint:

    • URL where static website can be accessed.

    • Can have a custom website endpoint with Route53.

  • A 403 (Forbidden) error could suggest there are problems with the bucket policy allowing public reads.

Last updated