/articles/web-sites-domaindiscover-custom-domain-name.md
Markdown | 72 lines | 42 code | 30 blank | 0 comment | 0 complexity | 4b72aa028acc4e1094cf2c4a5bbc0a75 MD5 | raw file
Possible License(s): CC-BY-3.0
- <properties title="Learn how to configure an Azure web site to use a domain name registered with DomainDiscover - TierraNet" pageTitle="Configure a DomainDiscover domain name for an Azure web site" metaKeywords="Azure, Azure Web Sites, DomainDiscover, TierraNet" description="Learn how to configure an Azure web site to use a domain name registered with DomainDiscover - TierraNet" services="web-sites" documentationCenter="" authors="larryfr,jroth" />
- #Configuring a custom domain name for an Azure Web Site (DomainDiscover / TierraNet)
- <div class="dev-center-tutorial-selector sublanding"><a href="/en-us/documentation/articles/web-sites-custom-domain-name" title="Custom Domain">Custom Domain</a><a href="/en-us/documentation/articles/web-sites-godaddy-custom-domain-name" title="GoDaddy">GoDaddy</a><a href="/en-us/documentation/articles/web-sites-network-solutions-custom-domain-name" title="Network Solutions">Network Solutions</a><a href="/en-us/documentation/articles/web-sites-registerdotcom-custom-domain-name" title="Register.com">Register.com</a><a href="/en-us/documentation/articles/web-sites-enom-custom-domain-name" title="Enom">Enom</a><a href="/en-us/documentation/articles/web-sites-moniker-custom-domain-name" title="Moniker">Moniker</a><a href="/en-us/documentation/articles/web-sites-dotster-custom-domain-name" title="Dotster">Dotster</a><a href="/en-us/documentation/articles/web-sites-domaindiscover-custom-domain-name" title="DomainDiscover" class="current">DomainDiscover</a><a href="/en-us/documentation/articles/web-sites-directnic-custom-domain-name" title="Directnic">Directnic</a></div>
- <div class="dev-center-tutorial-subselector"><a href="/en-us/documentation/articles/web-sites-domaindiscover-custom-domain-name/" title="Web Sites" class="current">Web Site</a> | <a href="/en-us/documentation/articles/web-sites-domaindiscover-traffic-manager-custom-domain-name/" title="Web Site using Traffic Manager">Web Site using Traffic Manager</a></div>
- [WACOM.INCLUDE [intro](../includes/custom-dns-web-site-intro.md)]
- This article provides instructions on using a custom domain name purchased from [DomainDiscover.com](https://domaindiscover.com) with Azure Web Sites. DomainDiscover.com is part of TierraNet.
- [WACOM.INCLUDE [introfooter](../includes/custom-dns-web-site-intro-notes.md)]
- In this article:
- - [Understanding DNS records](#understanding-records)
- - [Configure your web sites for basic, shared or standard mode](#bkmk_configsharedmode)
- - [Add a DNS record for your custom domain](#bkmk_configurecname)
- - [Enable the domain on your web site](#enabledomain)
- <h2><a name="understanding-records"></a>Understanding DNS records</h2>
- [WACOM.INCLUDE [understandingdns](../includes/custom-dns-web-site-understanding-dns-raw.md)]
- <h2><a name="bkmk_configsharedmode"></a>Configure your web sites for basic, shared or standard mode</h2>
- [WACOM.INCLUDE [modes](../includes/custom-dns-web-site-modes.md)]
- <a name="bkmk_configurecname"></a><h2>Add a DNS record for your custom domain</h2>
- To associate your custom domain with an Azure Web Site, you must add a new entry in the DNS table for your custom domain by using tools provided by DomainDiscover. Use the following steps to locate the DNS tools for DomainDiscover.com
- 1. Log on to your account with DomainDiscover.com (TierraNet) by selecting **Control Panel** from the **Login** menu.
- ![DomainDiscover Login Menu](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_LoginMenu.png)
- 2. On the **Domain Services** page, select the domain that you want to use for your Azure web site.
- ![Domain management page](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DomainManagement.png)
- 3. In the Domain settings, click the **Edit** button for **DNS Service**.
- ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSEditButton.png)
- 4. In the **Manage DNS** window, select the type of DNS record to add in the **Add Records** list. Then click the **Add** button.
- ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSAddRecords.png)
- 5. On the following page, enter the DNS record values. Then click the **Add** button.
- ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSRecords.png)
- * When adding a CNAME record, you must first select **CNAME (Alias)** on the **Manage DNS** page. Then set the **Host** field to the sub-domain you wish to use. For example, **www**. You must set the **Alias Hostname** field to the **.azurewebsites.net** domain name of your Azure Web Site. For example, **contoso.azurwebsites.net**. Then provide a Time-to-Live (TTL) value, such as 1800 seconds.
- * When adding an A record, you must first select **A** on the **Manage DNS** page. Then set the **Host** field to either **@** (this represents root domain name, such as **contoso.com**,) or the sub-domain you wish to use (for example, **www**.) You must set the **IP Address** field to the IP address of your Azure Web Site. Then provide a Time-to-Live (TTL) value such as 1800 seconds.
- > [WACOM.NOTE] If you will be using an A record, you must also add a CNAME record with one of the following configurations:
- >
- > * A **Host** value of **www** with an **Alias Hostname** value of **<yourwebsitename>.azurewebsites.net**.
- >
- > OR
- >
- > * A **Host** value of **awverify.www** with an **Alias Hostname** value of **awverify.<yourwebsitename>.azurewebsites.net**.
- >
- > This CNAME record is used by Azure to validate that you own the domain described by the A record
- 5. If you added an A record, you might get a warning that the existing A record for your domain is not inactive. It uses the most recently changed record, and DomainDirect already has a default A record for the root domain name. You can either rely on this precedence, or you can remove the default A record by selecting the **DELETE** button.
- <h2><a name="enabledomain"></a>Enable the domain name on your web site</h2>
- [WACOM.INCLUDE [modes](../includes/custom-dns-web-site-enable-on-web-site.md)]