I want to set up a web server on one of my computers (Dell Desktop) and decided on CentOS as the OS. Apache is installed properly (I think. pgrep httpd returns a bunch of processes that are running). I also think that my httpd.conf file is ok (I've read about 4 tutorials on apache setup). My ISP is comcast. I have httpd listening on both port 80 and 8080.
But it's not working and I can't figure out why. I had a friend try to see my test.html page (which is in /var/www/html/ - where it's supposed to be.) and he got http error 504, which seems to relate to a proxy or firewall, neither of which I have.
I have several questions: 1) is there a way to test my setup without having an outside friend try to see my web page? My own browser on the server sees the page fine when I use its local address (192.168.1.5) for the url, but the browser on another computer on my network (192.168.1.3) cannot see the page. 2) What, specifically, is needed to run a web server? Just a properly configured apache? Assuming I don't need php or any sql functionality. 3) is it possible that comcast is messing up the system somehow? 4) is it possible my own router is messing up the system somehow (can't see it if it is)?
I don't seem to be able to attach my httpd.conf file. I don't want to cut and paste it here because it's too long (even with the comments deleted).