Add thousands of custom domains to Azure Web App or Static web app

Guilherme Couto 1 Reputation point
2022-12-02T04:46:53.827+00:00

Hi. We need to add multiple custom domains (will get to thousands) to an azure static web app and/or azure web app. The problem is the quota when it comes to adding custom domains to the web apps (up to 5 depending on your plan).

It seems one option would be to use the Front Door to manage the custom domains, however, the front door also has its limitations (up to 500 custom domains). An option would be to deploy multiple Front Doors, however, overtime it would become too complex to manage (and expensive).

So, what I am looking for is another option to achieve what I need as "simple" as possible. Also, the SSL certificates would be a must, therefore being able to use free SSL certs for the custom domains added to Azure would be non-negotiable.

Thanks so much for anyone who could spend the time to come up with solutions.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
576 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,867 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
761 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,661 Reputation points Microsoft Employee
    2022-12-03T08:02:45.55+00:00

    @Guilherme Couto ,

    As you've already determined, the maximum number of 500 custom domains per AFD profile. And even those profiles have routing limits. If you can't mitigate through the use of wildcard domains, then you will need to create a support request to request a quota request.