Skip to content

Commit 8f5fe82

Browse files
authored
Update private-endpoint.md
1 parent 25e4c06 commit 8f5fe82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/static-web-apps/private-endpoint.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ In this section, you create a private endpoint for your static web app.
6262

6363
4. Select **Ok**.
6464

65+
> [!NOTE]
66+
> The name of the private DNS zone will depend upon the default domain name suffix of the Static Web App. For example, if the default domain suffix of the Static Web App is 3.azurestaticapps.net, the name of the private DNS zone must be privatelink.3.azurestaticapps.net. When a new Static Web App is created, its default domain suffix might be different from the default domain suffix(es) of previous Static Web Apps. If you are using an automated deployment process to create the private DNS zone, you can use the DefaultHostname property of the created Static Web App to programmatically extract the domain suffix. The DefaultHostname property value resembles `<StaticWebAppDefaultDomainPrefix>.<PartitionId>. azurestaticapps.net` or `<StaticWebAppDefaultDomainPrefix>. azurestaticapps.net`, where `<PartitionId>.azurestaticapps.net` or `azurestaticapps.net` is the respective default domain suffix.
67+
68+
6569
## Testing your private endpoint
6670

6771
Since your application is no longer publicly available, the only way to access it is from inside of your virtual network. To test, set up a virtual machine inside of your virtual network and go to your site.
6872

6973
## Next steps
7074

7175
> [!div class="nextstepaction"]
72-
> [Learn more about private endpoints](../private-link/private-endpoint-overview.md)
76+
> [Learn more about private endpoints](../private-link/private-endpoint-overview.md)

0 commit comments

Comments
 (0)