Add custom domain and managed certificate with Front Door

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure

Visualize

This template creates a Front Door configuration with a single backend, onboards a custom domain, and then secures the custom domain with a Front Door-managed certificate.

Parameters for this template are:

  • frontDoorName - Name of the Front Door (for example, contoso).
  • customDomainName - Host name of the custom domain (for example, contoso.com or www.contoso.com).
  • backendAddress - Host name of the backend (for example, contoso-backend.azurewebsites.net).

For the deployment of this template to succeed the specified custom domain will require a CNAME to the Front Door's default frontend host (for example, contoso.azurefd.net).

For example, for a Front Door instance named contoso, the default frontend host name would be contoso.azurefd.net. To add the custom domain www.contoso.com, create a DNS CNAME entry for www.contoso.com to contoso.azurefd.net. For more details, see Tutorial: Add a custom domain to your Front Door.

Tags: Microsoft.Network/frontDoors, Microsoft.Network/frontdoors/frontendEndpoints/customHttpsConfiguration