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 @?
Нет, вы не можете использовать CNAME для своего корневого доменного имени, и по этой причине вам следует избегать его использования или продвижения. Однако, если вы переместите свой DNS в Cloudflare, у них будет обходной путь .