httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tim <>
Subject [users@httpd] multi-homed Apache? Anyone?
Date Sun, 26 Nov 2006 14:05:31 GMT
Has anyone setup their home/SBA network with Apache on one computer but 
serving content on two networks (DSL and cable)? I tried this but Apache 
fails to reply on the secondary network. (It works with only 1 network 
card in the box.) I have not done a TCP trace yet but does anyone have 
Apache serving content on two NICs? For me it only replies on the 
primary it seems. This could also be a problem of needing to manually 
setup the routing tables but just want to know if anyone has this 
working before I labor down that road.

Here is some more detail:
1. DSL network.
2. Cable network:
Hosts /etc/hosts:       localhost.localdomain   localhost
Apache config: /etc/httpd/conf/httpd.conf
Listen 80
#Listen # Thought I could toggle the NIC with this but 
fails to respond.
#ServerName  # Argh! Virtual Hosts fails with this - 
maybe due to /etc/hosts?
Route route -n:
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface   U     0      0        0 eth0   U     0      0        0 eth1     U     0      0        0 eth1         UG    0      0        0 eth1
# This route does not look right to me. I thought I'd see something like:
 > Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
 >   U     0      
0        0 eth0
 >   U     0      
0        0 eth1
# Does not that make more sense? I tried setting these in 
system-config-network but does not seem to take as the changes do not 
show in route -n.

Thanks a bunch,
P.S> Running on CentOS (built from RHEL sources) or FC6. I tried 
searching alot but the terms are too generic so no good matches were 
found. Mostly the results were about running two instances of Apache.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message