Hello, I have an App Service resource which I want use a custom domain for and I want to have support for www.<mydomain>.com and for the naked domain, <mydomain>.com.
I have followed this tutorial https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain. To handle the www part, I set up a CNAME record and created a custom subdomain. Then I followed this tutorial to set up SSL. https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-bindings This worked great and I can access www.<mydomain>.com with https.
Then I tried to do the naked domain. I set up the custom domain using an A record and the resource IP address following the first tutorial. I confirmed this worked by accessing the site without HTTPS. Then I attempted to add the SSL to this custom domain but got an error.
"Hostname not eligible for App Service Managed Certificates creation. Ensure that your domain <mydomain>.com has an A record which is set to <my ip address>."
I do have this DNS record set. I was required to have it in order to set up the custom domain in the first place. According to this page this feature should be available as of 03/2021. https://azure.github.io/AppService/2021/03/02/asmc-apex-domain.html
Any idea what the issue here is?
Thanks and all the best.

