I tried the steps here but they don't work
- Set up DNS based URL forwarding in Amazon Route53
- https://stackoverflow.com/a/14289082
- https://aws.amazon.com/premiumsupport/knowledge-center/redirect-domain-route-53/
Objective: Redirect a.com to b.com. When you key in a.com on your browser, it should be redirected to b.com
Problem: a.com don't redirect to b.com. When I enter a.com to my browser, I see that there is no redirect to b.com and see the browser message This site can't be reached, DNS_PROBE_FINISHED_NXDOMAIN. The network response is (failed)net::ERR_NAME_NOT_RESOLVED
a.com is a new domain name, b.com is an existing working domain.
Steps I took:
- Create S3 bucket with the name
a.com - Inside
a.comS3 bucket, underproperties,static website hosting, I redirect requests with the target domainb.com. I see an endpointhttp://b.com.s3-website-region.amazonaws.com. Clicking this endpoint will redirect tob.com - Go to route 53
- Created a hosted zone for
a.com. The defaultNSandSOArecords is created - Create a new A record,
simple routing, routing the traffic withalias to s3 website endpoint, with value of S3 bucket that redirects tohttp://b.com.s3-website-region.amazonaws.com
What did I miss? Thanks!