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 in Azure App Service (GoDaddy) |
Learn how to use a domain name from GoDaddy with Azure Web Apps |
app-service |
erikre |
erikre |
jimbe |
33233e30-5846-488f-83f3-b32e5c114564 |
app-service |
na |
na |
na |
article |
01/12/2016 |
cephalin |
[!INCLUDE web-selector]
[!INCLUDE intro]
If you have purchased domain through Azure App Service Web Apps then refer to the final step of Buy Domain for Web Apps.
This article provides instructions on using a custom domain name that was purchased directly from GoDaddy with App Service Web Apps.
[!INCLUDE introfooter]
[!INCLUDE understandingdns]
To associate your custom domain with a web app in App Service, you must add a new entry in the DNS table for your custom domain by using tools provided by GoDaddy. Use the following steps to locate the DNS tools for GoDaddy.com
-
Log on to your account with GoDaddy.com, and select My Account and then Manage my domains. Select the drop-down menu for the domain name that you wish to use with your Azure web app and select Manage DNS.
-
From the Domain details page, scroll to the DNS Zone File tab. This is the section used for adding and modifying DNS records for your domain name.
Select Add Record to add an existing record.
To edit an existing record, select the pen & paper icon beside the record.
[!NOTE] Before adding new records, note that GoDaddy has already created DNS records for popular sub-domains (called Host in editor,) such as email, files, mail, and others. If the name you wish to use already exists, modify the existing record instead of creating a new one.
-
When adding a record, you must first select the record type.
Next, you must provide the Host (the custom domain or sub-domain) and what it Points to.
- When adding an A (host) record - you must set the Host field to either @ (this represents root domain name, such as contoso.com,) * (a wildcard for matching multiple sub-domains,) or the sub-domain you wish to use (for example, www.) You must set the Points to field to the IP address of your Azure web app.
- When adding a CNAME (alias) record - you must set the Host field to the sub-domain you wish to use. For example, www. You must set the Points to field to the .azurewebsites.net domain name of your Azure web app. For example, contoso.azurewebsites.net.
-
Click Add Another.
-
Select TXT as the record type, then specify a Host value of @ and a Points to value of <yourwebappname>.azurewebsites.net.
[!NOTE] This TXT record is used by Azure to validate that you own the domain described by the A record or the first TXT record. Once the domain has been mapped to the web app in the Azure Portal, this TXT record entry can be removed.
-
When you have finished adding or modifying records, click Finish to save changes.
[!INCLUDE modes]
Note
If you want to get started with Azure App Service before signing up for an Azure account, go to Try App Service, where you can immediately create a short-lived starter web app in App Service. No credit cards required; no commitments.
- For a guide to the change from Websites to App Service see: Azure App Service and Its Impact on Existing Azure Services