question

OsamaKhaled-5316 avatar image
0 Votes"
OsamaKhaled-5316 asked learn2skills commented

Azure Application Gateway / WAF backend pool 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 ?

azure-application-gateway
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

learn2skills avatar image
0 Votes"
learn2skills answered learn2skills commented

Hi @OsamaKhaled-5316

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




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

so, how to host two websites on the same VM ? and this VM is the backend pool target ?

0 Votes 0 ·

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


0 Votes 0 ·