Error adding alternate domain to CloudFront distribution



I'm stuck adding as an alternate domain to my new CloudFront distribution. I get this error: One or more of the CNAMEs you provided are already associated with a different resource. I can't see any visible resource using that domain. (API Gateway or Distribution). How can I handle this? Thanks.

asked 2 years ago530 views
1 Answer


You have another CDN somewhere using the CNAME you are trying to add, You can resolve this with this article by AWS premium support

profile picture
answered 2 years ago
  • Thanks for your quick answer, I tried to follow the article but I don't know what is the distribution id. Where could I find it?

    aws cloudfront list-conflicting-aliases --distribution-id YourDistributiontID --alias YourCNAME

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