Skip to content

Commit 4df163d

Browse files
committed
fix errors
1 parent f893eb0 commit 4df163d

File tree

1 file changed

+30
-11
lines changed

1 file changed

+30
-11
lines changed

articles/dns/dns-web-sites-custom-domain.md

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,49 @@ If you don’t have an Azure subscription, create a [free account](https://azure
3434

3535
## Prerequisites
3636

37-
* An Azure account with an active subscription.
37+
### [Portal](#tab/azure-portal)
3838

39-
* A domain name that you can host in Azure DNS. You must have full control of this domain. Full control includes the ability to set the name server (NS) records for the domain.
39+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
4040

41-
* A web app. If you don't have one, you can [create a static HTML web app](../app-service/quickstart-html.md) for this tutorial.
41+
- A domain name that you can host in Azure DNS. You must have full control of this domain. Full control includes the ability to set the name server (NS) records for the domain.
4242

43-
* An Azure DNS zone with delegation in your registrar to Azure DNS. If you don't have one, you can create a DNS zone, then [delegate your domain](dns-delegate-domain-azure-dns.md#delegate-the-domain) to Azure DNS.
43+
- A web app. If you don't have one, you can [create a static HTML web app](../app-service/quickstart-html.md) for this tutorial.
4444

45-
# [Portal](#tab/azure-portal)
45+
- An Azure DNS zone with delegation in your registrar to Azure DNS. If you don't have one, you can create a DNS zone, then [delegate your domain](dns-delegate-domain-azure-dns.md#delegate-the-domain) to Azure DNS.
4646

47-
[!INCLUDE [Azure portal prerequisites](~/reusable-content/ce-skilling/azure/includes/azure-portal-prerequisites.md)]
47+
### [PowerShell](#tab/azure-powershell)
4848

49-
# [PowerShell](#tab/azure-powershell)
49+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
5050

51-
[!INCLUDE [powershell-local-cloudshell](~/reusable-content/ce-skilling/azure/includes/powershell-local-cloudshell.md)]
51+
- A domain name that you can host in Azure DNS. You must have full control of this domain. Full control includes the ability to set the name server (NS) records for the domain.
5252

53-
If you're running PowerShell locally, you also need the Azure PowerShell module. Run `Get-Module -ListAvailable Az` to find the version. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-azure-powershell). If you're running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
53+
- A web app. If you don't have one, you can [create a static HTML web app](../app-service/quickstart-html.md) for this tutorial.
5454

55-
# [Azure CLI](#tab/azure-cli)
55+
- An Azure DNS zone with delegation in your registrar to Azure DNS. If you don't have one, you can create a DNS zone, then [delegate your domain](dns-delegate-domain-azure-dns.md#delegate-the-domain) to Azure DNS.
56+
57+
- Azure Cloud Shell or Azure PowerShell.
58+
59+
The steps in this tutorial run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloudshell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
60+
61+
You can also [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. The steps in this article require Azure PowerShell module version 5.4.1 or later. Run `Get-Module -ListAvailable Az` to find your installed version. If you need to upgrade, see [Update the Azure PowerShell module](/powershell/azure/install-Az-ps#update-the-azure-powershell-module).
62+
63+
### [Azure CLI](#tab/azure-cli)
64+
65+
[!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
5666

57-
[!INCLUDE [azure-cli-local-cloudshell](~/reusable-content/ce-skilling/azure/includes/azure-cli-local-cloudshell.md)]
67+
- A domain name that you can host in Azure DNS. You must have full control of this domain. Full control includes the ability to set the name server (NS) records for the domain.
68+
69+
- A web app. If you don't have one, you can [create a static HTML web app](../app-service/quickstart-html.md) for this tutorial.
70+
71+
- An Azure DNS zone with delegation in your registrar to Azure DNS. If you don't have one, you can create a DNS zone, then [delegate your domain](dns-delegate-domain-azure-dns.md#delegate-the-domain) to Azure DNS.
72+
73+
[!INCLUDE [azure-cli-prepare-your-environment-no-header.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment-no-header.md)]
5874

5975
---
6076

77+
> [!NOTE]
78+
> In this tutorial, `contoso.com` is used as an example domain name. Replace `contoso.com` with your own domain name.
79+
6180
## Create the A record
6281

6382
An A record is used to map a name to its IP address. In the following example, assign "\@" as an A record using your web app IPv4 address. \@ typically represents the root domain.

0 commit comments

Comments
 (0)