santocki
asked on
Apache Server unaccessible from Intranet
I have two computers on my home intranet as below:
Computer A: Apache Server on Fedora 7 as 192.168.1.100 (david)
Computer B: Windows XP Client as 192.168.1.101 (alice)
I have edited the hosts file on both computer so pinging both by IP or name to each other works fine. I don't have any network problem because I can also access Windows PC using the Fedora PC.
I also don't have any problem accessing the web page from Fedora's http://localhost using the browser. But the funny thing is that I can't access the web page from the Windows XP's browser using http://david or http://192.168.1.100
I didn't change any default httpd.conf in Apache, so it listens to the port: 80 and everything works fine from the same computer. Any clues?
Computer A: Apache Server on Fedora 7 as 192.168.1.100 (david)
Computer B: Windows XP Client as 192.168.1.101 (alice)
I have edited the hosts file on both computer so pinging both by IP or name to each other works fine. I don't have any network problem because I can also access Windows PC using the Fedora PC.
I also don't have any problem accessing the web page from Fedora's http://localhost using the browser. But the funny thing is that I can't access the web page from the Windows XP's browser using http://david or http://192.168.1.100
I didn't change any default httpd.conf in Apache, so it listens to the port: 80 and everything works fine from the same computer. Any clues?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
after you checked your firewall settings, please check your httpd.conf if it
1. listens on public IP
2. listens for all host names (not only some virtual host names)
1. listens on public IP
2. listens for all host names (not only some virtual host names)
ASKER
That worked :)
Do you know how I can configure iptables to accept http connections from the network without turning it off?
Do you know how I can configure iptables to accept http connections from the network without turning it off?
Edit /etc/sysconfig/iptables
add the line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
Restart iptables.
-Bimal
add the line:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
Restart iptables.
-Bimal
ASKER
I have samba and VNC setup and both are working without any problems between the two computers. So I guess it must be a problem with Apache setup on Fedora? I didn't have any problems when used Windows XP on both PC's with one of them installed with Apache...
*** I am newbie to Fedora Linux 7, using for a week now.