28.3 C
Dubai
Thursday, April 25, 2024

Redirect APEX domain to www using Azure Front Door

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

In Azure Front Door

Configured Azure Front Door Managed certificate for naked or APEX domain and www.azure365pro.com

Configured Certs and CNAME records

Now let’s redirect using the ruleset

if the hostname is azure36pro.com redirect to https://www.azure365pro.com

if the Hostname is azure365pro.com

redirect to https://www.azure365pro.com

Satheshwaran Manoharan
Satheshwaran Manoharanhttps://www.azure365pro.com
Award-winning Technology Leader with a wealth of experience running large teams and diversified industry exposure in cloud computing. From shipping lines to rolling stocks.In-depth expertise in driving cloud adoption strategies and modernizing systems to cloud native. Specialized in Microsoft Cloud, DevOps, and Microsoft 365 Stack and conducted numerous successful projects worldwide. Also, Acting as a Technical Advisor for various start-ups.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

× How can I help you?