Forum Moderators: phranque

Message Too Old, No Replies

One IP address using apache acting as proxy

         

yoggibkk

9:37 am on Jan 2, 2009 (gmt 0)

10+ Year Member



Hi,

First I hope 2009 will be a great year to your all.

I wonder if someone have suggestion to my problem.

Like many isp they only give me one Ip-adress and today I port forward my traffice to my Webserver (Windows 2003 with II6). But I have a need of get a Linux machine up and running and with Apache serve webpages on port 80.

Before I use some like reverse proxy that I puted in apache config for some virtual domains and redirected traffice to another webserver. Any one know how to do this? Or can suggest a better solution?

"My ideas was to put the linux/apache as frontend and for those 10 www.domains.com that need the windows machines I internally let the Apache act as proxy"

Caterham

2:56 pm on Jan 4, 2009 (gmt 0)

10+ Year Member



If you're looking for name-based virtual hosts, [httpd.apache.org...] is a good start.

ProxyPass, ProxyPassReverse and ProxyPassReverseCookieDomain from mod_proxy [httpd.apache.org] et al. are the directives to look at for reverse proxying in apache.