25.9 C
Dubai
Wednesday, December 7, 2022

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
Specialized in Microsoft Azure - Office 365 / Microsoft Exchange; conducted numerous projects worldwide in designing, supporting, and implementing messaging and virtualization infrastructure for medium-sized and large enterprises. Further, I am a Cloud Architect and 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?