How to redirect my root domain to a www domain that is in classic frontdoor?

Rafael Gil Sanchez 86 Reputation points

Hi Azure Community,
How to redirect my root domain to a www domain that is in classic frontdoor?


My root domain:

My Frontdoor Domain:

User's image

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
455 questions
0 comments No comments
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 39,421 Reputation points Microsoft Employee

    Hello @Rafael Gil Sanchez ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to know how to redirect your root domain to a www domain that is in classic Azure Front Door.

    To start with, you need to onboard your root or apex domain to Azure Front Door Classic following the below doc:

    Mapping your apex or root domain to your Front Door profile basically requires CNAME flattening or DNS chasing. There are other DNS providers as well that support CNAME flattening or DNS chasing, however, Azure Front Door recommends using Azure DNS for its customers for hosting their domains.

    If you are using a different provider than Azure DNS, then you would need to contact the DNS provider and check if they support CNAME flattening or if there is any way to achieve this on their end. If it is not supported with your DNS provider, then maybe you could delegate your domain to Azure DNS and manage your DNS records in Azure DNS and here you will be able to create an Alias record which will help you onboard your apex domain to Azure Front Door.

    Please refer:

    After you onboard your root domain to Azure Front Door Classic, you need to use a redirect rule and make rules engine configuration in order to redirect your root domain to www domain as below:

    User's image


    Kindly let us know if you need further assistance on this issue.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful