title | description | services | documentationcenter | author | manager | editor | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Configure a custom domain name for a web app in Azure App Service that uses Traffic Manager for load balancing. |
Use a custom domain name for an a web app in Azure App Service that includes Traffic Manager for load balancing. |
app-service\web |
rmcmurray |
wpickett |
0f96c0e7-0901-489b-a95a-e3b66ca0a1c2 |
app-service-web |
web |
na |
na |
article |
09/20/2016 |
robmcm |
[!INCLUDE web-selector]
[!INCLUDE intro]
This article provides generic instructions for using a custom domain name with Azure App Service that use Traffic Manager for load balancing.
[!INCLUDE tmwebsitefooter]
[!INCLUDE introfooter]
[!INCLUDE understandingdns]
[!INCLUDE modes]
Note
If you have purchased domain through Azure App Service Web Apps then skip following steps and refer to the final step of Buy Domain for Web Apps article.
To associate your custom domain with a web app in Azure App Service, you must add a new entry in the DNS table for your custom domain by using tools provided by the domain registrar that you purchased your domain name from. Use the following steps to locate and use the DNS tools.
-
Sign in to your account at your domain registrar, and look for a page for managing DNS records. Look for links or areas of the site labeled as Domain Name, DNS, or Name Server Management. Often a link to this page can be found be viewing your account information, and then looking for a link such as My domains.
-
Once you have found the management page for your domain name, look for a link that allows you to edit the DNS records. This might be listed as a Zone file, DNS Records, or as an Advanced configuration link.
- The page will most likely have a few records already created, such as an entry associating '@' or '*' with a 'domain parking' page. It may also contain records for common sub-domains such as www.
- The page will mention CNAME records, or provide a drop-down to select a record type. It may also mention other records such as A records and MX records. In some cases, CNAME records will be called by other names such as an Alias Record.
- The page will also have fields that allow you to map from a Host name or Domain name to another domain name.
-
While the specifics of each registrar vary, in general you map from your custom domain name (such as contoso.com,) to the Traffic Manager domain name (contoso.trafficmanager.net) that is used for your web app.
[!NOTE] Alternatively, if a record is already in use and you need to preemptively bind your apps to it, you can create an additional CNAME record. For example, to preemptively bind www.contoso.com to your web app, create a CNAME record from awverify.www to contoso.trafficmanager.net. You can then add "www.contoso.com" to your Web App without changing the "www" CNAME record. For more information, see Create DNS records for a web app in a custom domain.
-
Once you have finished adding or modifying DNS records at your registrar, save the changes.
[!INCLUDE modes]
For more information, see the Node.js Developer Center.
[!INCLUDE app-service-web-whats-changed]
[!INCLUDE app-service-web-try-app-service]