Routing traffic to a website that is hosted in a S3 bucket

  • You can configure an S3 bucket to host a static website that can include web pages and client-side scripts.

  • To route domain traffic to an S3 bucket, use Route 53 to create an alias record (Route 53 extension to DNS) that points to your bucket.

Prerequisites

  • S3 bucket that is configured to host a static website.

    • The bucket name must be the same as your domain or subdomain.

  • Registered domain name.

    • You can use Route 53 as your domain registrar, or you can use a different registrar.

  • Route 53 as the DNS service for the domain.

    • If you register your domain name by using Route 53, AWS automatically configure Route 53 as the DNS service for the domain.

Last updated

Was this helpful?