Skip to content

Commit 34f604a

Browse files
Merge pull request #246056 from gabesmsft/patch-8
Update private-endpoint.md
2 parents 972b9dc + b216845 commit 34f604a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ 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 depends upon the default domain name suffix of the static web app. For example, if the default domain suffix of the app is `3.azurestaticapps.net`, the name of the private DNS zone is `privatelink.3.azurestaticapps.net`. When a new static web app is created, the 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 in your app to programmatically extract the domain suffix. The `DefaultHostname` property value resembles `<STATIC_WEB_APP_DEFAULT_DOMAIN_PREFIX>.<PARTITION_ID>.azurestaticapps.net` or `STATIC_WEB_APP_DEFAULT_DOMAIN_PREFIX.azurestaticapps.net`. The default domain suffix resembles `<PARTITION_ID>.azurestaticapps.net` or `azurestaticapps.net`.
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.

0 commit comments

Comments
 (0)