Hello @Anonymous ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
Below is a rough idea of deploying a multi-site Application gateway behind Azure Front Door which might help:
Frontends/domains : You have successfully configured the FD with custom domains.
Backend pools : Add a backend -
Set the Backend Host Type to “custom host”, and for Backend Host Name, add the IP address of the Application Gateway and for Backend Host Header, add the site URL (the host name configured in your App gateway listener).
Repeat this step for all your sites that are configured behind your App gateway.
You can add upto 100 Backends per back-end pool.
Reference : https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#azure-front-door-service-limits
Health probe :
Path: You need add the URL used for probe requests for the backends in the specified backend pool.
For example, if your backend is contoso-westus.azurewebsites.net and the path is set to /probe/test.aspx, then Front Door environments, assuming the protocol is set to HTTP, will send health probe requests to http://contoso-westus.azurewebsites.net/probe/test.aspx.
Protocol: Defines whether to send the health probe requests from Front Door to your backends with HTTP or HTTPS protocol.
Method: The HTTP method to be used for sending health probes. Options include GET or HEAD (default).
So you need to configure the health probe path as per your backend site health probe test page URL, which the application gateway is aware of. It should be a valid path starting with '/'.
You can add all the sites with common health probe path into one backend pool.
Routing rules :
Then add the routing rules to map your frontend host and a matching URL path pattern to the specific backend pool.
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.