Behnaz shows you how to
redirect a root or apex domain
to a website


I want to redirect Internet traffic from my root (apex) domain (e.g., to another domain (e.g., How can I do this?

Use the following procedure to redirect your domain. In this example, we redirect to


  • A hosted zone for the domain is hosted in Amazon Route 53.
  • You have permissions to add resource records to the hosted zone of
  • You have permissions to create an Amazon S3 bucket.
  • You are able to create an S3 bucket with the exact name for
    Note: The sites must be HTTP, because the redirect cannot connect to S3 over HTTPS.
  1. In the Amazon S3 console, create an S3 bucket with the exact name as
    Note: S3 bucket names must be globally unique. If the bucket name you need is already in use, this solution cannot be used.
  2. Select the bucket you just created, and then choose Properties. Expand the Static Website Hosting drop-down menu, and then choose Redirect all requests to another host name.
  3. In the Redirect all requests to another host name field, enter and then choose Save.
  4. In the Route 53 console, select the hosted zone named
  5. Create a resource record for with the following values:
    Record Type: Choose A IPv4 address.
    Alias: Choose Yes.
    Alias Target: Select the blank value field, expand the drop-down menu, and then choose your S3 bucket under the heading S3 Website Endpoints.
    Routing Policy: Choose Simple.
    Evaluate Health Target: Choose No and then choose Create.
    Note: The drop-down menu might take a few moments to populate your bucket name.

You should now be able to redirect to You can confirm this by browsing to or CURL to You should see “301 Moved Permanently” in your curl output, redirecting to

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2016-12-09

Updated: 2017-10-27