Skip to content

Cloudfront Distribution tenants CNAME issue

0

Hi,

I added 10 domains to my tanants and the certificate is issue without an issue and when I want to apply it I'm getting "One or more of the CNAMEs you provided are already associated with a different resource". It's happen only for some domains and I can't take care the issue because in my account I only have this domain once. Also I can't know in what domain is issue between the 10 that in the tenant. This is the tenant ID: dt_33iOuQS6vf2Yx0g3gIxUuNu7LUa And this is the certificate ID: 4cac4ae4-af88-4a8d-88e4-aac5193e97fc

Thank you!

asked a year ago177 views

1 Answer
5

I believe CloudFront does not allow the same CNAME to be used across multiple distributions, even across different tenants or accounts, please try to fix by the following:

Identify the conflict CNAME:

aws cloudfront list-distributions \
  --query "DistributionList.Items[*].{Id:Id,Aliases:Aliases.Items}" \
  --output json

Use the MOVE CNAME feature: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/alternate-domain-names-move.html

EXPERT

answered a year 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.