Discussion:
reverse proxy
jdd
2013-08-26 12:31:57 UTC
Permalink
Hello,

I beg that some of you have the same problem as I have: two virtual
web server and only one IP for the host.

So the need of some kind of proxy server.

witch one do you use? (apache, nginx, varnish, squid)

I need also the same for smtp (two postfix), if possible the same one :-)

basic config?

I have one host , one IP and two domain, one for each virtual machine

result I want:

dodin.org[188.165.211.22]--->dodin.org[192.168.50.2]
culte.org[188.165.211.22]--->culte.org[192.168.50.3]


thanks
jdd
--
http://www.dodin.org
Freek de Kruijf
2013-08-26 19:49:26 UTC
Permalink
Post by jdd
Hello,
I beg that some of you have the same problem as I have: two virtual
web server and only one IP for the host.
So the need of some kind of proxy server.
witch one do you use? (apache, nginx, varnish, squid)
I need also the same for smtp (two postfix), if possible the same one :-)
basic config?
I have one host , one IP and two domain, one for each virtual machine
dodin.org[188.165.211.22]--->dodin.org[192.168.50.2]
culte.org[188.165.211.22]--->culte.org[192.168.50.3]
I solve the ssh problem in the router with port forwarding. Port 22 to 22 of
one of the internal systems and another port to port 22 of the other system.

I use only one system for the web server using virtual hosts for the two names
on that system.
You can however use ProxyPass and ProxyPassReverse in the second virtual web
server to pass the http(s) packages on to the second web server.
--
fr.gr.

Freek de Kruijf
jdd
2013-08-26 21:13:58 UTC
Permalink
Post by Freek de Kruijf
I solve the ssh problem in the router with port forwarding. Port 22 to 22 of
one of the internal systems and another port to port 22 of the other system.
I have no problem with ssh, because I'm the only one with ssh access,
so I use two different ports on each server and option -p
Post by Freek de Kruijf
I use only one system for the web server using virtual hosts for the two names
on that system.
You can however use ProxyPass and ProxyPassReverse in the second virtual web
server to pass the http(s) packages on to the second web server.
yes, but using apache on the host is overkill. Friends of mine said to
use nginx and I will probably do so...

thanks
jdd
--
http://www.dodin.org
Loading...