[UPHPU] Running Multiple Publicly Accessible Web Servers on a Single IP Address

Kirk Ouimet kirk at kirkouimet.com
Wed Aug 19 00:29:03 MDT 2009


Thanks for all of the awesome replies everyone - I got it up and running using 
Apache's built in stuff but loved the information the other reverse proxies 
available.

Kirk Ouimet
kirk at kirkouimet.com
Cell: (801) 310-1421

-----Original Message-----
From: thebigdog [mailto:bigdog at venticon.com]
Sent: Tuesday, August 18, 2009 10:40 PM
To: Kirk Ouimet
Cc: uphpu at uphpu.org
Subject: Re: [UPHPU] Running Multiple Publicly Accessible Web Servers on a 
Single IP Address

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


More information about the UPHPU mailing list