--- On Tue, 8/18/09, Caleb Call <[email protected]> wrote:
> On Aug 18, 2009, at 5:08 PM, 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.
>>
>> Is this type of thing (1) possible and (2) easy to
>> implement? I'm running Ubuntu Server 9.04.
>
> You need some sort of proxy or load balancer. I've heard good
> things about Pound. http://www.apsis.ch/pound/ I have never
> used it myself though so I can't personally say how it works.
(1) Yes, it's possible, and
(2) Yes, it's fairly easy to implement. As Caleb says, you'll
need a proxy server. I'd suggest nginx rather than pound
(http://nginx.net), but pound would probably work too if
you'd rather go that route.
One implementation would be to put the proxy on one of your
existing web servers. If I were doing it, I'd put it on a
separate server, but that's largely a matter of preference.
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net