Different domains for multiple VM's on host with one WAN IP

I've obtained just one WAN IP address bound to KVM host system and also numerous VM is with inner IP's, claim, 10.0.0 .1/28. On the various other hand I have numerous domain bound to host system WAN IP.

The trouble is that I require to in some way course each demand to details VM based upon domain.

Is it feasible to address this concern without acquiring great deals of WAN IP's?

2022-06-07 14:32:26
Source Share
Answers: 2

You can install nginx or Squid on a VM and also pass all exterior website traffic to that VM. They are both with the ability of forwarding website traffic by domain.

2022-06-07 15:00:04

You can make use of apache internet server to do that.It is called reverse proxying.

Merely arrangement name based digital hosts and also inside arrangement ProxyPass and also ProxyPassReverse to onward traffic to ideal VM behing.

Wonderful write-up concerning it here

More details can be located here or here or here

2022-06-07 14:50:58