Apache mystery
Here's the situation:
I'm serving a web site at home, via a RedHat Fedora (SELinux) box with Apache. I had this computer, along with everything else in the house, hooked up to a wireless router (with 4 ethernet ports, 1 of which this machine used). This router used NAT and port forwarding to make everything work, but as the load started to increase I decided to move the server out from behind the router. Up to this point, the web site is viewable either from within the local LAN or from the Internet after port forwarding.
I hooked a hub up to the cable modem, then plugged the router into the hub as well as the linux machine into the hub. Everything pulled an IP fine so I figure I'm good to go.
Unfortunately, now the linux box won't answer requests except locally, which is to say that I can log in to the machine and make a request to either the localhost or the IP address of the machine and the site will come up, but nobody else can see it, including the computers in the house still behind the firewall.
All other services, such as SSH or POP3 are accessible just fine though. I've checked netstat, and the httpd process is in fact listening on all addresses on port 80 just like my other services.
I've checked httpd.conf with grep and there's no mention of the old IP address at all.
Any ideas why it would work one second and not the next?
|