PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/articles/web-sites-domaindiscover-custom-domain-name.md

https://github.com/steinmr/azure-content
Markdown | 72 lines | 42 code | 30 blank | 0 comment | 0 complexity | 4b72aa028acc4e1094cf2c4a5bbc0a75 MD5 | raw file
Possible License(s): CC-BY-3.0
  1. <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" />
  2. #Configuring a custom domain name for an Azure Web Site (DomainDiscover / TierraNet)
  3. <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>
  4. <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>
  5. [WACOM.INCLUDE [intro](../includes/custom-dns-web-site-intro.md)]
  6. 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.
  7. [WACOM.INCLUDE [introfooter](../includes/custom-dns-web-site-intro-notes.md)]
  8. In this article:
  9. - [Understanding DNS records](#understanding-records)
  10. - [Configure your web sites for basic, shared or standard mode](#bkmk_configsharedmode)
  11. - [Add a DNS record for your custom domain](#bkmk_configurecname)
  12. - [Enable the domain on your web site](#enabledomain)
  13. <h2><a name="understanding-records"></a>Understanding DNS records</h2>
  14. [WACOM.INCLUDE [understandingdns](../includes/custom-dns-web-site-understanding-dns-raw.md)]
  15. <h2><a name="bkmk_configsharedmode"></a>Configure your web sites for basic, shared or standard mode</h2>
  16. [WACOM.INCLUDE [modes](../includes/custom-dns-web-site-modes.md)]
  17. <a name="bkmk_configurecname"></a><h2>Add a DNS record for your custom domain</h2>
  18. 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
  19. 1. Log on to your account with DomainDiscover.com (TierraNet) by selecting **Control Panel** from the **Login** menu.
  20. ![DomainDiscover Login Menu](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_LoginMenu.png)
  21. 2. On the **Domain Services** page, select the domain that you want to use for your Azure web site.
  22. ![Domain management page](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DomainManagement.png)
  23. 3. In the Domain settings, click the **Edit** button for **DNS Service**.
  24. ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSEditButton.png)
  25. 4. In the **Manage DNS** window, select the type of DNS record to add in the **Add Records** list. Then click the **Add** button.
  26. ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSAddRecords.png)
  27. 5. On the following page, enter the DNS record values. Then click the **Add** button.
  28. ![DNS edit button](.\media\web-sites-domaindiscover-custom-domain-name\DomainDiscover_DNSRecords.png)
  29. * 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.
  30. * 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.
  31. > [WACOM.NOTE] If you will be using an A record, you must also add a CNAME record with one of the following configurations:
  32. >
  33. > * A **Host** value of **www** with an **Alias Hostname** value of **&lt;yourwebsitename&gt;.azurewebsites.net**.
  34. >
  35. > OR
  36. >
  37. > * A **Host** value of **awverify.www** with an **Alias Hostname** value of **awverify.&lt;yourwebsitename&gt;.azurewebsites.net**.
  38. >
  39. > This CNAME record is used by Azure to validate that you own the domain described by the A record
  40. 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.
  41. <h2><a name="enabledomain"></a>Enable the domain name on your web site</h2>
  42. [WACOM.INCLUDE [modes](../includes/custom-dns-web-site-enable-on-web-site.md)]