Domain in Azure Front Door:www.foobar.com
Azure Web Apps:foobar-web
foobar-api
I would like to be able to have www.foobar.com
pull up the web app foobar-web
and utilize /api
in the url to access the web app foobar-api
.
www.foobar.com
-> foobar-web
www.foobar.com/api
-> foobar-api
I have a backend pool setup for each and route rules setup. Each time I try navigating to www.foobar.com/api
the url in the browser changes to foobar-api.azurewebsites.net/api
, but if I navigate to www.foobar.com
in pulls up the foobar-web
web app while maintaining the www.foobar.com
domain in the browser.
Is there a setting in Azure Front Door that I am missing or something that needs to be configured in the web app or source code to maintain the domain?
The web app is a C# ASP.NET Web API 2 solution.
Thank you in advance for any answers/suggestions.
application gateway
. – Jason Pan