1 Answer
- Newest
- Most votes
- Most comments
0
The following command may be used to check if CNAME is being used.
If the domain is being used outside of your control, you would not be able to use that domain.
aws cloudfront list-conflicting-aliases \
--distribution-id YYY \
--alias 'www.example.co'
https://repost.aws/knowledge-center/resolve-cnamealreadyexists-error
Relevant content
- CloudFront - One or more of the CNAMEs you provided are already associated with a different resourceAccepted Answerasked 5 years ago
- Accepted Answerasked 9 months ago
- Accepted Answerasked a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
I have a similar issue, and this command won't work for me, because I've not been able to deploy cloudfront at all, given the "conflicting" CNAME which apparently exists some where.