I'm trying to host a static website in Azure. Since I want to refer 3 different domain-names to the website, I created a CDN for it. The SSL certificate could be successfully created for the subdomain www. (www.mydomain.com)
No SSL certificate can be created for the root domain (mydomain.com). Following error message appears:
Enabling Https with CDN Managed Certificate is not supported anymore for apex (root) domains
My domain registrar only contains the NS entries for the DNS zone of mydomain.com (for example ns1-10.azure-dns.com).
I manage the DNS entries via the Azure-Cloud "DNS zone" function. My CNAME entries are:
* CNAME 300 mydomain.azureedge.net
cdnverify CNAME 300 cdnyverify.mydomain.azureedge.net
I have defined the following two custom domains for the CDN:www.mydomain.com (SSL approved)
mydomain.com (Not possible to SSL approve - see error above)
It works now to access the page via HTTP and HTTPS for www.mydomain.com
How can I access the static website via root domain via HTTP and HTTPS ? So https://mydomain.ch