Skip to content

Issues adding a custom domain to my Amplify application

0

Hello, as the title suggests i've been having difficulties connecting my route53 registered, hosted zone domain to my Amplify application via the Custom Domains approach.

The error i am currently seeing is: SSL setup failed One or more of the CNAMEs you provided are already associated with a different resource. (SDK Attempt Count: 1)

I have removed the "previous" application's records from the hosted zone, deleted the custom domain in the app, and attempted to re-add the custom domain in several ways. I've attempted to use Q to identify the issue but haven't had any success either.

Your help is appreciated!

Andrei

2 Answers
4

You may identify the conflict by checking other Amplify Apps, CloudFront Distributions, ACM Certificates and Roue53 Records, you may then try t clean up DNS records in Route 53 to see whether this can help.

EXPERT
answered a year ago
0

Hey,

Hope you're keeping well.

That error usually means the CNAME validation records for the ACM certificate are still tied to another CloudFront distribution or Amplify app. In Route 53, check the hosted zone for any _acm-validation CNAME records and delete or update them so they match the new certificate Amplify is provisioning. Also verify in the ACM console (same region as Amplify) that no other certificate is using the same domain name, and remove old certificates if they’re no longer needed. Once the DNS is cleared, retry adding the custom domain in Amplify so it can create fresh validation records.

Thanks and regards,
Taz

answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.