Author |
|
satimis
Joined: 28 Mar 2015 Posts: 7
|
Posted: Fri 25 Dec '15 16:14 Post subject: How to setup ONE Fixed IP serving multiple servers on VMs |
|
|
Hi all,
Host Ubuntu 14.04 desktop
VMs Ubuntu 14.04 desktop/server edition
VirtualBox
I have several web-servers running on VMs, each with its own domain/subdomain and internal IP address. The web-servers are connected to Internet via a router. But I have only one Fixed IP allocated by ISP. Please advise how to set up their static IP so that they can be browsed on Internet?
Thanks in advance
Regards
satimis |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 25 Dec '15 17:51 Post subject: |
|
|
Reverse proxy to the VM's on the host OS should work. |
|
Back to top |
|
satimis
Joined: 28 Mar 2015 Posts: 7
|
Posted: Fri 25 Dec '15 18:06 Post subject: |
|
|
Thanks for your advice.
I suppose you referred to;
HAProxy
http://www.haproxy.org/
I'm now searching for steps/document re how to configure it on domain base? Can you help?
Besides can I install HA Proxy on a VM instead of on the Host. Because I expect retain the latter clean solely for running VirtualBox.
If "NO" I'll get another machine for testing HA Proxy.
Thanks
Regards
satimis |
|
Back to top |
|
bentogoa
Joined: 09 Feb 2007 Posts: 66 Location: GOA
|
|
Back to top |
|
satimis
Joined: 28 Mar 2015 Posts: 7
|
Posted: Fri 25 Dec '15 23:08 Post subject: |
|
|
Hi,
Thanks for your advice and links.
I'm prepared testing it. But my concerned is whether I can create an Apache server running on a VM for this test instead of installing Apache on the host? I don't expect installing Apache on the host because I expect keeping it clean solely for running VirtualBox. Otherwise I'll find another PC for this test.
Thanks
Regards
satimis |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|