description | page_type | products | urlFragment | languages | ||||
---|---|---|---|---|---|---|---|---|
This template creates a Front Door Standard/Premium including a custom domain on Azure DNS and Microsoft-managed certificate. |
sample |
|
front-door-standard-premium-custom-domain-azure-dns |
|
This template deploys a Front Door Standard/Premium with custom domain managed through an Azure DNS zone, and Microsoft-managed TLS certificate.
This sample template creates a Front Door profile with a custom domain, managed through an Azure DNS zone, and a Microsoft-managed TLS certificate. To keep the sample simple, Front Door is configured to direct traffic to a static website configured as an origin, but this could be any origin supported by Front Door.
The following resources are deployed as part of the solution:
- Front Door profile, endpoint, origin group, origin, and route to direct traffic to the static website.
- Note that you can use either the standard or premium Front Door SKU for this sample. By default, the standard SKU is used.
- Front Door custom domain.
- DNS zone for the custom domain.
- TXT record for validating the custom domain ownership.
- CNAME record to configure traffic to be sent to the Front Door endpoint.
You can click the "deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.
After you deploy the Azure Resource Manager template, you can then access the Front Door endpoint by using your custom domain name. If you access the hostname you should see a page saying Welcome. If you see a different error page, wait a few minutes and try again.
Tags: Microsoft.Network/dnsZones, Microsoft.Network/dnsZones/CNAME, Microsoft.Network/dnsZones/TXT, Microsoft.Cdn/profiles, Microsoft.Cdn/profiles/afdEndpoints, Microsoft.Cdn/profiles/originGroups, Microsoft.Cdn/profiles/customDomains, Microsoft.Cdn/profiles/originGroups/origins, Microsoft.Cdn/profiles/afdEndpoints/routes