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:
- Remove *.mainwebsite.com from already hosted at cloudfront.
- Follow this, https://docs.aws.amazon.com/amplify/latest/userguide/to-add-a-custom-domain-managed-by-amazon-route-53.html