Adding root domain into Traffic manager for App Services

asked 2021-10-14T19:08:20.837+00:00
Michelle Blum 806 Reputation points

I have added my root domain into my App Services through A host records (for example These App Services are the backend of a Traffic Manager profile for which I need to add the same custom domain into Traffic Manager. It seems that root domains don’t support CNAME records (,never%20to%20an%20IP%20address), and also based on the docs Traffic Manager requires CNAMEs…

How can I my root domain it into Traffic Manager since it only supports CNAME, and that type of domain does not work with CNAMEs so it gets routed to my backend App Services?

Note: This question is being posted as part of an internal effort at Microsoft to share emerging content with the community. A Microsoft employee will be following up with an answer shortly. If you have feedback regarding this issue, we encourage the community to start a discussion in the comments.

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,301 questions
No comments
1 vote

Accepted answer
  1. answered 2021-10-14T19:10:40.807+00:00
    Michelle Blum 806 Reputation points

    As you well said, CNAMEs are not supported for root domain and also only CNAME records are supported for Traffic Manager:

    Due to that limitation this scenario can be challenging, so here is a process that you could use, but the requirements are quite strict.


    -Your domain should be hosted in an Azure DNS zone to be able to use Azure DNS Alias set (

    -Traffic Manager endpoints cannot be “App Services” they have to be setup as external endpoints


    Once you have the custom domain already mapped to the App Services as they are a once off operation, you can proceed with the setup of the Traffic Manager. Create the endpoints , but select the Type as External Endpoint and configure the Custom Header Settings. As FQDN select the Inbound IP of the App Service.


    Then if you go to Azure DNS create an A record (your root domain) and click on Alias Record Set “Yes” like in the following screenshot, selecting the Traffic Manager Profile. The effect that this will have is that it will update the Public DNS once it is done.


    No comments

0 additional answers

Sort by: Most helpful