Best way to redirect root domain ("apex domain") to another location
Solution 1:
This ended up being pretty simple using the technique described here https://devopslife.io/redirect-a-route53-domain-to-another-domain-using-s3/:
Create an S3 bucket with the name of domain “example.org” Please note that S3 bucket names must be globally unique. If the bucket name you need is already taken, you can’t use S3 for redirection and this documentation won’t be applicable for you. You may use other work arounds like redirection using a webserver in backend. Go to properties and select “Static web hosting” From the dropdown, select Redirect all requests to another host name. Enter example.com here and protocol (HTTP or HTTPS) and save it Go to Route53 and select the hosted zone for example.org Create a record for example.org with the below values
Record Type: A – IPv4 address
Alias: Yes Alias
Target: Choose your S3 bucket under the heading "S3 Website Endpoints"
Routing Policy: Simple Evaluate Health Target: No
Record Type: A – IPv4 address Alias: Yes Alias
Target: Choose your S3 bucket under the heading "S3 Website Endpoints"
Routing Policy: Simple Evaluate Health Target: No