- Newest
- Most votes
- Most comments
Hi Akshay,
I understand you want a simpler solution to fix the CNAMEAlreadyExistsException with AWS Amplify.
Ensure DNS Propagation (Wait 24 Hours):
The key is waiting for DNS propagation to complete. Deleting the domain mapping in account1 triggers a DNS update. It can take up to 24 hours for this change to reflect across the internet.
Redeploy Application in Account2:
-
After waiting 24 hours, go to your Amplify project in account2.
-
Redeploy your Next.js application using amplify push.
-
Amplify will attempt to create a new CloudFront distribution and associate it with example.com during this redeployment.
Yeah I think after these considerations This should resolve the issue and allow you to map your domain to the new application in account2.
Amplify Troubleshooting Guide: https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html
Relevant content
- asked 5 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago