I have an app deployed in azure with a custom domain and it works fine if I use www.mydomain.org however with mydomain.org i am seing issues.
I'm using azure DNS to manage and after following this issue Azure Custom Domain (Namecheap) not working without www I have got it to work so I can reach my site without the www.
My issue comes that I am using the free app service managed certificates which i can apply to www. as it treats it as a subdomain but not without as thats considered a wildcard and going to my site without the www. shows a security warning Short of buying an expensive cert i'm not sure what else I can do.
Is there a way I can make all the traffic go via www. and thus use the valid certificate?
As the fastest solution, I would recommend you to use URL forward on Azure DNS or other provider level. Unfortunately at the moment Azure DNS does not have URL redirect option, but you can vote for the feature https://feedback.azure.com/d365community/idea/d8c8ab1c-8926-ec11-b6e6-000d3a4f0789?page=1
Solutions