Re: [users@httpd] Configuring apache as a gateway for another domain on another server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From what I read in the documentation, mod_proxy works for routing
requests for www.d1.com/myapp1 and www.d1.com/myapp2 (notice that both
url's are in the d1.com domain) to be served by different servers on
the internal network.

What I want is to route requests for www.d1.com and www.d2.com to
different servers (notice the difference in domain names), where
www.d1.com and www.d2.com have the same ip address in the outside
world dns.

With Virtual Hosts I can manage different domain names to be served
from different directories.
With mod_proxy I can manage different url's on the same domain to be
served by different servers.
I need a combination of both: different domain names being served by
different servers.

Thanks,
Bart.

On 11/6/05, Nick Kew <nick@xxxxxxxxxxxx> wrote:
> On Sunday 06 November 2005 12:10, Bart Heinsius wrote:
> > Hi,
> >
> > I have two servers on my internal network with apache on them, lets
> > say m1 and m2.
> > I want to host two domains on my network, lets say www.d1.com and
> > www.d2.com. The router routes all external http requests to server m1.
> > External requests for www.d1.com should be processed by apache on server
> > m1. External requests for www.d2.com should be processed by apache on
> > server m2. How would I do this?
> > I googled around and looked on apache.org which directed met to
> > mod_proxy but I don't think that works in this situation.
>
> mod_proxy is exactly what you need.  see also
> http://www.apacheweek.com/features/reverseproxies
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux