How to add an AWS Amplify application as subdomain for domain hosted in AWS Route53?

Question:

I have an main domain in hosted in Route 53. I want to add a subdomain to it. Like business.mainwebsite.com . I have an amplify application which i want to add there.
I tried making cname in route53 and gave cname value as amplify link. But it is redirecting it to main website only.

Answer:

Two steps:

  1. Remove *.mainwebsite.com from already hosted at cloudfront.
  2. Follow this, https://docs.aws.amazon.com/amplify/latest/userguide/to-add-a-custom-domain-managed-by-amazon-route-53.html

Leave a Reply