Re: [users@httpd] Two apache servers on a single external IP address.

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

 



On 12/15/05, Oil Pine <oil.pine@xxxxxxxxx> wrote:
> Hi,
>
> I have two Fedora Core machines and a Window machine that are connected
> to the 3 of the 4 ports of my DSL router, which in turn connected with a
> DSL modem with one single external IP address.
>
> I've been running apache2 with my home pages on a FC3 machine without
> much trouble.
> (This machine has static intra-net IP of 192.168.0.118
>
> I've just installed another apache2 FC4 on another machine. (IP:
> 192.168.0.128) I am testing this one to make sure everything works out
> OK before I make it the primary web server.
>
> My DSL router has been set to forward port 80 to both .118 and .128.
>
> I suppose that the back-up machine should be set up only with IP
> (intra-net) address-based virtual servers. Can I set up name-based
> virtual servers in the back up machine. I want to run two apache servers
> at the same time.
>
> I would appreciate your insightful suggestions.
>
> pine
>

Just set apache on the test machine to listen on a different port. Set
the router to forward that port to the test machine, and 80 to the
live machine.

Dotan Cohen
http://technology-sleuth.com/technical_answer/what_is_a_firewall.html

[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