Skip to content

Commit 12bbdc6

Browse files
Merge pull request #292416 from Harikrishnan-M-B/patch-23
Update new practice for domains
2 parents a35be5d + fa49f69 commit 12bbdc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/frontdoor/best-practices.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ For more information, see [Select the certificate for Azure Front Door to deploy
6868

6969
## Domain name best practices
7070

71+
### Adopt custom domains
72+
73+
Adopt custom domains for your Front Door endpoints to ensure better availaility and flexiility while managing your domains and traffic. Don't hardcode AFD provided domains (like *.azurefd.z01.net) in your clients/codebases/firewall. Use custom domains for such scenarios.
74+
7175
### Use the same domain name on Front Door and your origin
7276

7377
Front Door can rewrite the `Host` header of incoming requests. This feature can be helpful when you manage a set of customer-facing custom domain names that route to a single origin. This feature can also help when you want to avoid configuring custom domain names in Front Door and at your origin. However, when you rewrite the `Host` header, request cookies and URL redirections might break. In particular, when you use platforms like Azure App Service, features like [session affinity](../app-service/configure-common.md#configure-general-settings) and [authentication and authorization](../app-service/overview-authentication-authorization.md) might not work correctly.

0 commit comments

Comments
 (0)