Here a simple explanation how you can configure Azure Front Door with your Power Pages website using a custom domain. Let’s break this down into simple steps so it’s easy to follow, even if you’re new to this.
First, you’ll need to set up Azure Front Door to route traffic to your Power Pages site. Azure Front Door is a global, scalable entry point that uses the Microsoft global network to deliver fast and secure applications. You can find more details in the official Microsoft documentation on Azure Front Door.
Next, make sure your Power Pages website is properly published and accessible. Power Pages allows you to create low-code, business-focused websites, and you can learn more about it in the Microsoft Power Pages documentation.
To connect a custom domain, you’ll need to add it in Azure Front Door’s frontend hosts section. Then, you’ll have to update the DNS records for your domain to point to the Front Door endpoint. This usually involves creating a CNAME record, but sometimes an A or AAAA record is needed. The exact steps depend on your DNS provider, but Microsoft has a guide on configuring custom domains in Azure Front Door that explains it well.
Also, don’t forget to configure SSL/TLS for your custom domain to ensure secure connections. Azure Front Door provides managed certificates, which you can enable easily. Check out the Microsoft guide on enabling HTTPS for custom domains for step-by-step instructions.
Once everything is set up, test your configuration to make sure traffic flows correctly from your custom domain through Front Door to your Power Pages site.
and now step by step
Step 1: Set Up Azure Front Door
First, you’ll need to create an Azure Front Door instance if you haven’t already. Azure Front Door helps speed up and secure your website by routing traffic efficiently.
-
Go to the Azure Portal.
-
Search for “Front Door and CDN profiles” and create a new one.
-
Choose the “Azure Front Door” option (not the classic version).
-
Follow the setup wizard, adding your Power Pages site as a backend.
For more details, check Microsoft’s guide on creating an Azure Front Door.
Step 2: Connect Your Power Pages Site
Make sure your Power Pages website is published and running.
-
In the Front Door setup, under “Backends,” add your Power Pages URL.
-
You might need to allow traffic from Front Door’s IPs in your Power Pages security settings (if you have restrictions).
Power Pages has its own hosting, so you don’t need to manage servers—just point Front Door to it. Learn more about Power Pages hosting.
Step 3: Add a Custom Domain
Now, let’s connect your own domain (like www.yourwebsite.com
).
-
In Front Door, go to “Frontend hosts” and click “Add.”
-
Enter your custom domain (e.g.,
www.yourwebsite.com
). -
Azure will ask you to verify ownership—you’ll need to add a DNS record (usually a TXT or CNAME).
Microsoft explains this well in their custom domain setup guide.
Step 4: Update DNS Records
Now, go to your domain registrar (like GoDaddy, Cloudflare, etc.) and update DNS:
-
If using a CNAME, point your domain to your Front Door endpoint (it’ll look like
your-site.azurefd.net
). -
If using A/AAAA records, you’ll need Front Door’s IPs (found in Azure’s settings).
Each registrar is a bit different, but Microsoft has general guidance on DNS configuration.
Step 5: Enable HTTPS (SSL Certificate)
For security, set up an SSL certificate:
-
In Front Door, go to “Domains” and select your custom domain.
-
Turn on “Managed certificate”—Azure will auto-provision a free SSL cert.
-
It might take a few hours to activate.
See the official HTTPS setup guide for troubleshooting.
Step 6: Test Everything!
Once DNS propagates (could take up to 48 hours, but usually faster):
-
Visit your custom domain in a browser—it should load your Power Pages site.
-
Check for mixed-content warnings (if some resources aren’t HTTPS).
If anything’s not working, double-check DNS records or Azure’s backend health probes.
Final Notes:
-
If you get stuck, Azure’s Front Door troubleshooting guide is super helpful.
-
Power Pages might have slight delays in updates, so give it some time if changes don’t appear right away.
rgds,
Alex