I am trying to setup AWS Cloudfront distribution and route traffic from one of my subdomains to Cloudfront.
As per AWS documentation, I created and added a certificate to Cloudfront, then define alternative domain with that subdomain. However I always encountered this error:
I have checked thoroughly that I do not have another CNAME record which is associated with that subdomain.
I also tried to follow this guide from AWS to find any conflicting alias setup: https://aws.amazon.com/premiumsupport/knowledge-center/resolve-cnamealreadyexists-error/ but the problem is that my aws cli doesn't even have list-conflicting-aliases command. I am really stuck here. Any help will be appreciated. Thanks.