Why is it not possible to redirect from apex domain to subdomain with route53?


Hi, I want to redirect my domain example.com to www.example.com, and I found this resource here: https://repost.aws/knowledge-center/redirect-domain-route-53. Unfortunately, this resource suggests using an S3 Bucket approach, which I find unappealing.

Instead, I went to my Route 53 hosted zone for example.com and added an A Alias Record. This record routes traffic to "Alias to another record in this hosted zone," and I selected www.example.com as the destination.

After saving the changes, I waited for about an hour. However, when I now visit example.com, I encounter an ERR_SSL_VERSION_OR_CIPHER_MISMATCH error in my Chrome browser. Why does this error occur, and is it necessary to use the S3 approach?

asked a year ago491 views
1 Answer

Is www.example.com a CNAME? https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html

you can create an alias record for example.com that routes traffic to www.example.com (as long as the record type for www.example.com is not of type CNAME).

Assuming it's not a CNAME, and that you can you hit https://www.example.com in your browser with no problems, what cert is it presenting? Does that cert have a Server Alternate Name for the plain example.com name?

profile picture
answered a year ago
  • I don't know how to find out if www.example.com is a CNAME. Can you give me tips how I can find this out?

    Ok, they write that its not possible what I want to do: "Alias records In most configurations, you can create an alias record that has the same name as the hosted zone (the zone apex). The one exception is when you want to redirect queries from the zone apex (such as example.com) to a record in the same hosted zone that has a type of CNAME (such as zenith.example.com). "

  • I don't know how to find out if www.example.com is a CNAME. Can you give me tips how I can find this out?

    Console -> Route 53 -> Hosted Zones -> example.com

    You will see a list of the record names and their type. What type is www.example.com ?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions