Multiple webmin/virtualmin servers

3 posts / 0 new
Last post
#1 Fri, 02/07/2014 - 17:17
rsb

Multiple webmin/virtualmin servers

Hi

What I am trying to acheive is the following. Multiple sites with each site getting it's own physical machine/hardware. I have installed webmin and virtualmin on each server "four of so far" each with there own domain e.g serverone.domain.tld, servertwo.domain.tld and so on. My router is set to send all http trafic to server one. The question is how do I tell server one that the domain name that is wanted is actualy on say server two and to foward the request there.

I do know I am making things much more difficult than needs be, but multiple hardware/servers is a must which is why I would like to solve this problem.

Thanks In advance

Lee

Sun, 02/16/2014 - 11:12
tpnsolutions
tpnsolutions's picture

Hi,

If you'd just like to route "website" traffic to a node behind the firewall, on "Server One" you could use "mod_proxy" by Apache or similar to proxy the data to the other node.

You can read more on the topic at:

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-229-0715 (new)
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Sun, 02/16/2014 - 11:19
Locutus

Ideally you'd want either multiple IP addresses to go with the domains, or use different port numbers (if you can expect your users to enter a port number in their browser) for this kind of setup. If that's not an option, like Peter said, you'd need to work with a reverse proxy, since you can forward each port only to one machine.

Topic locked