Can a single virtual machine be used as target to two backend pools, I mean can I host two website in the same VM. in this scenario I'll have two of the following : HTTP Setting, Listeners, Rules, and backend pools in addition one target VM ?
Can a single virtual machine be used as target to two backend pools, I mean can I host two website in the same VM. in this scenario I'll have two of the following : HTTP Setting, Listeners, Rules, and backend pools in addition one target VM ?
Yes, you can use one target VM in backend pools, and same VM for 2 different backend pools is not possible.
Refer - https://docs.microsoft.com/en-us/azure/azure-vmware/protect-azure-vmware-solution-with-application-gateway
so, how to host two websites on the same VM ? and this VM is the backend pool target ?
Hi,
Application Gateway is a Layer 7 and it can publish differents urls using the same frontend ip.
See more information on this link: https://docs.microsoft.com/en-us/azure/application-gateway/create-multiple-sites-portal
You then configure listeners and rules based on two domains to make sure web traffic arrives at the appropriate servers in the pools.
Create and configure an application gateway to host multiple web sites using the Azure portal
3 people are following this question.
Application Gateway is sending calls to server with high CPU
Web App only accepting Host Header that matches custom domain of Web App
Gateway-required VNet Integration - Regional Vnet Integration
Is it possible to split load using App Gateway?
Azure Application Gateway -- Manage Access to Virtual Directory based on IP address