7

Redirect site to correct VM on host

view full story
linux-howto

http://serverfault.com – I would like to setup some server with few VM's on it. And then each VM will hold different site. So my host for example has DNS my.host.com, And I will point to this DNS for example to other DNS addresses so my.host.com - 1.2.3.4 my.host.com - virtual1.host.com my.host.com - virtual2.host.com Now on private network VM's addresses are: vm1 - 1.1.1.1 - and she hold website virtual1.host.com vm1 - 2.2.2.2 - and she hold website virtual2.host.com so my question is how i can redirect to correct VM I mean if I hit virtual1.host.com i will go to my host and host should redirect me to the site. (HowTos)