Unable to configure https://www.leyyer.com under Domain management in Amplify

0

We are unable to configure leyyer.com under domain management in AWS Amplify. We own this URL and tried many configurations needed. We also tried configuring leyyer.xyz and this works well.

Could you please help further with what else is required from our side?

While configuring, we are getting below error

Something went wrong. Please refer to our troubleshooting guide below to diagnose the issue. After fixing the issue, choose retry below. Error message: [CNAMEAlreadyExistsException] The following CloudFront distributions or Amplify Apps are already using one or more of your domains: [Distribution: *******0LGEVTH in AWS Account: ******351177, Distribution: *******0LGEVTH in AWS Account: ******351177]. For distributions you own, please remove the domains from them first and then retry adding your domain. For Amplify apps you own, you may already have associated this domain to another Amplify App in another account or region. You can also check our troubleshooting guide for more help: https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html

1 Answer
0

Hello Rizz,

It looks like it refers you to the exact distribution that has this fqdn www.leyyer.com already configured:

[Distribution: *******0LGEVTH in AWS Account: ******351177, Distribution: *******0LGEVTH in AWS Account: ******351177]

So you would need to remove it there (if possible and not required there) and then try to add it again in Amplify.

See also for more Information for that error:

https://docs.aws.amazon.com/amplify/latest/userguide/custom-domain-troubleshoot-guide.html#i-get-a-cnamealreadyexistsexception-error

Thanks in advance

Heiko

profile picture
HeikoMR
answered 4 months ago
profile picture
EXPERT
reviewed 4 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.

Guidelines for Answering Questions