Application Gateway hosting multiple web sites

Mohamed jihad bayali 1,141 Reputation points
2023-07-03T10:56:26.7133333+00:00

Hello Team,

I hope you're doing fine,

I have the following use case:

I have a VM on Azure, i installed docker in it, and containerized 3 web sites.

I want now to create an application gateway, and to put my VM behind that Application gateway to use WAF.

Since my 3 web sites are hosted and containerized on the same VM, they have 3 differents private IP addresses, is there a way on the application gateway for this use case to isolate and route the traffic for these 3 web sites?

I know on the application gateway we create backend servers and we associate with the url of the web site, in my case i will have 3 web sites that point on a single VM, is there a way to do this?

I was thinking, of creating my VM with 3 network interfaces, and then associate it's rule on the app gateway with a network interface?

What do you think about this?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.