An Azure service that provides a cloud content delivery network with threat protection.
Hello JUNAID HAROON
I see that you're experiencing an issue with Azure Front Door not properly routing traffic to the various backends for your websites.
I understand that your application Gateway backend consists of three servers, each hosting different applications. Now, you want to set up a Front Door in front of the application Gateway to allow direct access, with the Application Gateway serving as the backend. To do this, you need to properly configure the Application Gateway, including setting up backend pools for the three servers and defining specific rules for each one.For the listeners configuration, you should deploy three dedicated listeners, one for each backend pool, and configure the host name for each backend in the listener settings.
Test the application gateway to verify if it is functioning as expected. If everything works correctly, you can then add the application gateway as the backend for the front door.
For the front door configuration, deploy one origin group with a single origin. In the origin settings, select Custom for the origin type, enter the application gateway's private IP as the Host Name, and leave the Origin Host header blank. Check the below screen shot for more understanding:
Disable certificate subject name validation and enable the private link feature.
Once you have configured the Custom Domains in the front door, please route the traffic through it, test the setup, and let me know the results.
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.