Multiple App services to use the same domain name

3k views Asked by At

we have a scenario where we have multiple azure app services where we have our Web APIs deployed . however we need all the app services to use the same domain name (not sub domains) e.g http://example.com/api1 on one app service and http://example.com/api2 on other app service. we have looked at using application gateway but it seems that URL rewriting is not supported yet. is there a anyway to achieve this without using third party components?

Thanks

1

There are 1 answers

2
evilSnobu On BEST ANSWER

Do you mean URL routing or rewriting (rewriting as in mod_rewrite)?

URL-based routing is fully supported in Azure Application Gateway.

URL routing

Rule example