Introduction
Microsoft Azure Front Door is a global, scalable, and secure entry point for high-performance web applications. In this guide, we’ll create a Front Door that distributes traffic to an Azure web app.Â
PrerequisitesÂ
- Azure Subscription: Ensure you have an active Azure subscription. If not, you can create a free account at AzureFree Account.
- Resource Group: It is recommended to have a dedicated resource group for managing Front Door resources.Â
Step 1: Access the Azure Front Door ServiceÂ
- Sign in to the Azure portal at https://portal.azure.com/.Â
- In the search bar, enter “Front Door” and select Front Door and CDN profiles from the list.Â
Step 2: Create a New Front Door ProfileÂ
- In the Front Door and CDN profiles pane, select + Create.Â
- Choose the Subscription and Resource Group for this Front Door instance.Â
- Enter a Name for the Front Door profile.Â
- Under Pricing tier, select Standard or Premium, based on your needs.Â
- Click Review + Create and then Create once validated.
Â
Step 3: Configure Frontend and DomainsÂ
- After creating the Front Door profile, navigate to Front Door Designer and select Add a frontend.Â
- Enter the Frontend hostname that will be the public URL for this Front Door, for example, <yourname>.azurefd.net.
 Â
- Add a custom domain if you have one, or use the default Azure-provided domain.Â
Step 4: Set Up Backend PoolÂ
- In the Front Door Designer, navigate to Backend pools and select + Add.Â
- Enter a Backend pool name, such as webapp-pool.Â
- Add your Backend host details, which should be your web application’s hostname or IP address. You can configure the priority and weight if you have multiple backends.Â
- Click Add to confirm the backend pool settings.Â
Step 5: Define Routing RulesÂ
- In the Routing rules section, select + Add to define how incoming traffic is routed.Â
- Enter a Name for your routing rule, such as default-route.
- Under Route type, select Forward.Â
- Choose the Backend pool created earlier and specify any required URL patterns.Â
- Click Add to save the routing rule.Â
Step 6: Review and Confirm ConfigurationÂ
Step 7: Test Front Door DeploymentÂ
- Once deployment is complete, navigate to the Frontend host URL (e.g., <yourname>.azurefd.net).Â
- Confirm that requests are successfully directed to the backend resource.Â
Â