To handle an APEX or naked domain (azure365pro.com) to redirect to https://www.azure365pro.com main requirement is that the Domain should use Azure Manage DNS;
In this requirement, All Application URLs are using https://www.azure365pro.com so all APEX domains azure365pro.com had to redirect to https://www.azure365pro.com
Let’s configure the azure DNS zone
Configured DNS Zone in Azure – Changed my name servers from my provider to use them in my case updated from GoDaddy
![](https://www.azure365pro.com/wp-content/uploads/2022/09/image-15-1024x388.png)
In Azure Front Door
Configured Azure Front Door Managed certificate for naked or APEX domain and www.azure365pro.com
![](https://www.azure365pro.com/wp-content/uploads/2022/09/image-17.png)
Configured Certs and CNAME records
![](https://www.azure365pro.com/wp-content/uploads/2022/09/image-16-1024x323.png)
Now let’s redirect using the ruleset
![](https://www.azure365pro.com/wp-content/uploads/2022/09/image-18-1024x428.png)
if the hostname is azure36pro.com redirect to https://www.azure365pro.com
if the Hostname is azure365pro.com
redirect to https://www.azure365pro.com
![](https://www.azure365pro.com/wp-content/uploads/2022/09/image-19-1024x325.png)