Hello Cixcent Team,
Thank you for posting your query here!
Can you please check with the following rules:
Now user is forwarded from example.com
to https://www.example.com
, but if somebody will type https://example.com
he will still see an error. The solution to this could be buy SSL cert, because Azure CDN doesn't allow CDN Managed SSL for apex domain. https://learn.microsoft.com/en-us/azure/cdn/cdn-custom-ssl?tabs=option-1-default-enable-https-with-a-cdn-managed-certificate#prerequisites
Similar posts for reference: https://stackoverflow.com/questions/73323058/redirect-azure-static-web-app-from-naked-domain-to-www
Do let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.