Kirk Ouimet wrote:
> I have three separate web servers with three different internal IP addresses
> on a network with only one public IP address. Each web server has security
> restrictions such that I cannot just run all of my websites on a single web
> server. All are running Apache.
>
> I want to setup subdomains that allow me to access each of the different web
> servers remotely, all on port 80. E.g.,
> 
> site1.domain.com
> site2.domain.com
> site3.domain.com
> 
> Where all three of those domains resolve to my single public IP address, but
> some type of service examines the request to see which subdomain is being
> requested and pulls the data from the appropriate server.

I just wanted to throw another option out there that I have used in the past as
well to help with configuring this type of solution. what you are talking about
here is a reverse proxy. squid can do a great job as a reverse proxy that is
pretty robust and lightweight (loosely).

Here is a decent link to get you started if you wanted to go that route.

http://www.sweetnam.eu/index.php/Reverse_Proxy_with_Squid

If you have any questions about squid, please feel free to email me or the list
with your questions.

One thing to note is that you want to make sure that your proxy is secure and
setup properly if you are using apache as the reverse proxy. I would also second
nginx as a great alternative to another reverse proxy.

http://intranation.com/entries/2008/09/using-nginx-reverse-proxy/


Thanks,
-- 
thebigdog

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to