httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] 1 Public IP Many Servers
Date Sun, 19 Feb 2012 02:22:49 GMT
On Feb 18, 2012, at 7:08 PM, Yehuda Katz <> wrote:

> On Sat, Feb 18, 2012 at 4:40 PM, Chris Arnold <> wrote:
> Apache2.2.3 on SLES10. I was hoping my firewall (sonicwall tz180w enhanced software)
would do this but it looks like it might not. We have 4 servers with private ip's and our
firewall has 1 public ip. These servers run different services like mail, web and the other
things. We are looking at another service (ticketing system) that can not run on but port
80. Port 80 is on the a different server. I need to know if apache is able to see an dns address
and forward to the correct server. Example:
> on port 80 and on port 80
(these are different servers with private ip's). Can apache see the xxx://
and forward to the correct server versus xxx://
> I hope what i need is clear as i am having a hard time describing it. Basically, i need
same port to go to different servers based on the dns address from the outside (public ip).
> You could set up a single instance of Apache that acts as a reverse proxy to the other
> For example:
> <VirtualHost>
>     ServerName
>     ProxyPass /
>     ProxyPassReverse /
> </VirtualHost>
> <VirtualHost>
>     ServerName
>     ProxyPass /
>     ProxyPassReverse /
> </VirtualHost>
> Note that I did not test these configs, this is just a sample. You will probably want
some kind of security (SSL, maybe using SNI if you do not have clients using IE or Chrome
on Windows XP.)

Thanks for the reply. Should I be able to add the above directive to my vhost.conf file or
do I need to install and config mod_proxy? I looked in yast->software management and do
not see a mod_proxy. Best I can remember, you have to install the mod_*.
View raw message