View Full Version : Apache help
CyberSoldier
8th March 2004, 04:51 AM
I have installed apache and I can get the localhost site to appear, but I cannot access my page from any other computer on or off my network. I want to have this machine as a server but I am having problems. I am new to Linux and would appreciate any help. I have DSL with a router/modem combo. I have access to my IP address through 192.168.0.1. Please help me!!!
Paul
mhelios
8th March 2004, 08:00 AM
First, before looking at your config, can you ping the webserving PC?
Then check that you've opened port 80 on the firewall.
Also, what's the error/message you get when you try to surf to 192.168.0.1 from another PC on the network?
These q's will do for a start..
CyberSoldier
8th March 2004, 01:13 PM
I do not have a problem using 192.168.0.1 from any other computers on the network. When I type that in the browser it goes to the router/modem. I have port 80 added to port forwarding for protocol TCP and UDP for the address 192.168.0.1. I want to be able to access this web server from an outsie computer as well.
mhelios
8th March 2004, 02:12 PM
Run redhat-config-securitylevel and make sure eth0 is a trusted device and that service WWW is checked.
Also check your /var/log/apache/error_log for any clues to what's going on.
jalrnc
8th March 2004, 05:37 PM
Some internet providers block port 80... try setting up your server with another one, 8080 for instance.
Bana
9th March 2004, 03:26 AM
Try doing a /etc/init.d/iptables stop for the client and server computers. I remeber this was a big problem for me. Although now I no longer have to for some reason...
CyberSoldier
10th March 2004, 03:23 AM
I have enabled ports 8080 and 80 for my IP which is 192.168.0.2. I got this by using ipconfig. Is that the right way to do it? I also have a IP from my modem. I also ran redhat-config-securitylevel and checked WWW and eth0. When trying to access this machine from another what should I be typeing.
mhelios
10th March 2004, 03:37 PM
Originally posted by CyberSoldier
I have enabled ports 8080 and 80 for my IP which is 192.168.0.2. I got this by using ipconfig. Is that the right way to do it? I also have a IP from my modem. I also ran redhat-config-securitylevel and checked WWW and eth0. When trying to access this machine from another what should I be typeing.
Ok, if the ports are now open, you should be able to type in (from another computer):
http://192.168.0.2:80 to reach the web server.
How did you set it up? With redhat-config-httpd?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.