Open Jawz84 opened 3 years ago
I have set this up, and it does work. Just without HTTPS support.
The reason is, I am using Azure CDN managed HTTPS on www.explainpowershell.com, but it seems this is no longer supported for apex domains (in my case explainpowershell.com).
See also: https://github.com/MicrosoftDocs/azure-docs/issues/63977
Next step would be to find out how to get a valid public SSL cert for explainpowershell.com in Azure KeyVault, and configure that cert as an SSL cert for the explainpowershell.com domain in Azure CDN.
This looks promising: https://github.com/shibayan/keyvault-acmebot
Illustration of what happens if I try to enable CDN managed cert on apex domain (not supported):
I've managed to work around this by putting a DNS CNAME in place, and adding a redirect from http -> https. Those combined, make sure people end up in the right place: https://www.explainpowershell.com
hmm. everything works, except ofcourse when someone explicitly navigates to https://explainpowershell.com, because SSL check takes place before url redirect :( #sadpanda.
When I navigate to explainpowershell.com, it should also just work.