i have 4 VM's in VirtualBox on an Ubuntu 17.04 desktop computer, which is connected to a MAAS subnet.
each VM is configured with Apache and OpenSSH, for one of 4 domains i have.
my problem is that i only have one 80 port and one 22 port on my router, and i want to forward the ports to the right VM by the requesting domain; for example:
ssh user@domain1.com -> domain1.com_VM
ssh user@domain2.com -> domain2.com_VM
thanks in advance