Cloudfront – Cloudfront GoDaddy DNS SSL Certificate Issues

amazon-acmamazon-cloudfrontdomain-name-systemgodaddyssl

I have a CloudFront distribution setup and working correctly. I also have an SSL certificate issued using ACM.

My GoDaddy DNS has a CNAME entry for www which points to the cloudfront distribution

The following URLS work as expected and display the CloudFront distribution…

https://www.example.com
http://www.example.com
http://example.com

But this one does not..

https://example.com

It gives me a non-secure page error, looking further into it I can see that is it because the domain is actually the GoDaddy URL shortener shortener.secureserver.net which the SSL certificate does not recognise.

Anyone any idea how I can resolve? Can I create another CNAME entry for @?

Best Answer

No, you can’t CNAME your root domain name, and for that reason you should avoid using or promoting it. However, if you move your DNS to Cloudflare, they have a workaround for this.

Related Topic