简体   繁体   中英

AWS Amplify Domain redirect to another domain

I have a domain with the name example.co I want to redirect to another domain example.co.uk the example.co is hosted with aws amplify. i have added the example.co.uk with route53. also, add an S3 bucket for it. Please guide me on what should I do next.

Got this info from: https://read.acloud.guru/how-to-deploy-a-custom-domain-with-the-amplify-console-a884b6a3c0fc

Steps:

  1. You need to add the subdomain on the Domain management section of the Amplify Console.
  2. Then go to the Rewrites and redirects section of the Amplify Console. Just add the redirect 302 and add the source and target. ie example.co --> example.co.uk .
  3. This may take time to propagate (although for me it was almost instant).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM