You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/dns/dns-web-sites-custom-domain.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ In the left navigation of the App Services page in the Azure portal, select **Cu
90
90
91
91
### Create the record
92
92
93
-
# [Azure portal](#tab/azure-portal)
93
+
# [Portal](#tab/azure-portal)
94
94
95
95
1. Navigate to your DNS zone in the Azure portal.
96
96
1. Select **+ Record set**.
@@ -106,7 +106,7 @@ In the left navigation of the App Services page in the Azure portal, select **Cu
106
106
107
107
1. Select **OK** to create the record.
108
108
109
-
# [Azure PowerShell](#tab/azure-powershell)
109
+
# [PowerShell](#tab/azure-powershell)
110
110
111
111
To create the A record, use:
112
112
@@ -154,7 +154,7 @@ App Services uses this record only at configuration time to verify that you own
154
154
> [!NOTE]
155
155
> If you want to verify the domain name, but not route production traffic to the web app, you only need to specify the TXT record for the verification step. Verification does not require an A or CNAME record in addition to the TXT record.
156
156
157
-
# [Azure portal](#tab/azure-portal)
157
+
# [Portal](#tab/azure-portal)
158
158
159
159
1. Navigate to your DNS zone in the Azure portal.
160
160
1. Select **+ Record set**.
@@ -170,7 +170,7 @@ App Services uses this record only at configuration time to verify that you own
170
170
171
171
1. Select **OK** to create the record.
172
172
173
-
# [Azure PowerShell](#tab/azure-powershell)
173
+
# [PowerShell](#tab/azure-powershell)
174
174
175
175
To create the TXT record, use:
176
176
@@ -204,7 +204,7 @@ az network dns record-set txt add-record \
204
204
205
205
If your domain is already managed by Azure DNS (see [DNS domain delegation](dns-domain-delegation.md)), you can use the following example to create a CNAME record for contoso.azurewebsites.net. The CNAME created in this example has a "time to live" of 600 seconds in DNS zone named "contoso.com" with the alias for the web app contoso.azurewebsites.net.
206
206
207
-
# [Azure portal](#tab/azure-portal)
207
+
# [Portal](#tab/azure-portal)
208
208
209
209
1. Navigate to your DNS zone in the Azure portal.
210
210
1. Select **+ Record set**.
@@ -220,7 +220,7 @@ If your domain is already managed by Azure DNS (see [DNS domain delegation](dns-
220
220
221
221
1. Select **OK** to create the record.
222
222
223
-
# [Azure PowerShell](#tab/azure-powershell)
223
+
# [PowerShell](#tab/azure-powershell)
224
224
225
225
```azurepowershell
226
226
$cnameRecordParams = @{
@@ -311,7 +311,7 @@ contoso.com text =
311
311
312
312
Now, you can add the custom host names to your web app:
313
313
314
-
# [Azure portal](#tab/azure-portal)
314
+
# [Portal](#tab/azure-portal)
315
315
316
316
1. Navigate to your web app in the Azure portal.
317
317
1. In the left navigation under **Settings**, select **Custom domains**.
@@ -321,7 +321,7 @@ Now, you can add the custom host names to your web app:
321
321
1. If validation is successful, select **Add custom domain**.
322
322
1. Repeat steps 3-6 for each custom domain you want to add (both **contoso.com** and **www.contoso.com**).
323
323
324
-
# [Azure PowerShell](#tab/azure-powershell)
324
+
# [PowerShell](#tab/azure-powershell)
325
325
326
326
```azurepowershell
327
327
$webAppParams = @{
@@ -364,14 +364,14 @@ You should see the same page for both URLs. For example:
364
364
365
365
When no longer needed, you can delete all resources created in this tutorial by deleting the resource group **test-rg**:
366
366
367
-
# [Azure portal](#tab/azure-portal)
367
+
# [Portal](#tab/azure-portal)
368
368
369
369
1. On the Azure portal menu, select **Resource groups**.
370
370
1. Select the **test-rg** resource group.
371
371
1. On the **Overview** page, select **Delete resource group**.
0 commit comments