Home > OS >  Configuring custom domains with Azure Front Door
Configuring custom domains with Azure Front Door

Time:04-23

We have an app that allows customers to use their own custom domain to access their accounts on our app.

Currently, we are using the Azure App Services Custom Domain option & when a user shares their custom domain with us, we manually add it to the Azure Custom Domains list pointing it to their unique account URL. i.e. projects.customerdomain.com (custom domain) to customer1.anywhereapp.io (their account in our product 'Anywhere').

This approach has been working well.

We are now exploring if we can use Azure Front Door to make our app more responsive worldwide & one of the problems we are stuck at is how do we configure the custom domains of our customers to their specific Anywhere accounts?

I've gone through the official Azure FD Custom Domain documentation & I understand it allows us to add the custom domain pointing to one backend, in our case each custom domain also needs to point to a specific subdomain URL. i.e. customer1.anywhereapp.io

How do we achieve this?

Any guidance in the right direction is really appreciated.

Thanks ST

CodePudding user response:

  • Multiple domains (multiple websites) can be managed in a single instance of Azure front door, which is more cost-effective.
  • It comes from one default domain .azurefd.net and additional custom domains can be added & configured as a CNAME to the default domain.

Core components of the Front Door designer.

  • Frontend host
  • Backend Pools
  • Routing rules

Creating Frontend host

  • Create Front Door designer
  • Add a Custom Domain
  • Add Record set
  • Add a backend pool

Please refer Multiple-site configuration using Azure Front door and GitHub - Moving multiple domains to Azure Front Door for more information

  • Related