Search code examples
amazon-web-servicesamazon-s3http-redirectamazon-route53

AWS Route 53 redirect between two hosted zone


How do I redirect if I have a website hosted on example.com hosted zone to anotherexample.com hosted zone. Both are different hosted zone in aws. Now I would want all the traffic that arrives in example.com to anotherexample.com

I see option to redirect between same hosted zone. enter image description here


Solution

  • Since example.com and anotherexample.com are apex domains, you can't use CNAME nor Alias records. Subsequently, I think you could do redirections between the two apex domains with the help of S3 as explained in AWS docs: