Azure Application Gateway with App Service Azure Application Gateway with App Service azure azure

Azure Application Gateway with App Service


It is possible to route traffic to different backend pools (including VMs and Azure App Services) via URL paths by using Path-Based Rules - https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-create-url-route-portal.

This will allow you to use a "static" root domain (which you might want to purchase an SSL certificate for) and route traffic according to the path after the '/'.


Is azure application gateway the right choice for this considering it supports url mapping?

I don't think so. Consider the pricing of Application Gateway. To have SLA support you need at least 2 medium instances. That is ~$51.10/month or let's say $100 per month for just the redirection. What kind of traffic you expect for this redirection?

Consider adding a another Web App to one of the existing App Services you have for for appv1.com, appv2.com, or appv3.com.

Another web app would have custom domain binding for test.com and redirect rules (I don't know if this is Windows or Linux web app).


In the moment Application Gateway only supports multiple sites based on different hostnames / FQDNs. I would not know how to add multiple sites with different paths / routes.Also check out