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
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you don’t have an Azure subscription, create a [free account](https://azure
37
37
38
38
* 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
39
40
-
* 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.
40
+
* A web app. If you don't have one, you can [create a web app](/azure/app-service/quickstart-dotnetcore?tabs=net80&pivots=development-environment-azure-portal) for this tutorial.
41
41
42
42
* An Azure DNS zone with delegation in your registrar to Azure DNS. If you don't have one, you can [create a DNS zone](./dns-getstarted-powershell.md), then [delegate your domain](dns-delegate-domain-azure-dns.md#delegate-the-domain) to Azure DNS.
43
43
@@ -75,7 +75,13 @@ An A record is used to map a name to its IP address. In the following example, a
75
75
76
76
# [Portal](#tab/azure-portal)
77
77
78
-
In the left navigation of the App Services page in the Azure portal, select **Custom domains**, then copy the IP address of your web app:
78
+
1. Sign in to the [Azure portal](https://portal.azure.com).
79
+
80
+
1. In the search box at the top of the portal, enter **App Services**, and select it from the results.
81
+
82
+
1. Select your web app from the list.
83
+
84
+
1. In the left navigation of the App Services page in the Azure portal, expand **Settings**, then select **Custom domains**, then copy the IP address of your web app:
79
85
80
86
:::image type="content" source="./media/dns-web-sites-custom-domain/app-service-custom-domains.png" alt-text="Screenshot of Azure App Service Custom domains page showing the web app IP address.":::
81
87
@@ -84,13 +90,12 @@ In the left navigation of the App Services page in the Azure portal, select **Cu
84
90
To get the IP address of your web app, use:
85
91
86
92
```azurepowershell
87
-
$webAppParams = @{
88
-
Name = "contoso"
93
+
$params = @{
89
94
ResourceGroupName = "<your web app resource group>"
95
+
Name = "contoso"
90
96
}
91
-
$webApp = Get-AzWebApp @webAppParams
92
-
$inboundIpAddress = $webApp.InboundIpAddress
93
-
Write-Output "Web app inbound IP address: $inboundIpAddress"
0 commit comments