HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Apache 2 doesn't work (http://www.howtoforge.com/forums/showthread.php?t=60407)

jancoz 1st February 2013 22:56

Apache 2 doesn't work
 
Hello, I own a hosting company who sells webhosting and gameservers. I began with Ubuntu and that worked fine but I needed CentOS cause one CP I needed didn't support Ubuntu. So I installed CentOS and I know a bit how that works but I really didn't know how to install a webserver.
So I followed this tutorial:
http://www.howtoforge.com/installing...entos-6.2-lamp
I completed it without problems, but the problem here is that the webserver simply doesn't start. The problem just began from step 3, where you go to your IP of your server in your webbrowser, when I did that nothing happend, but I really did everything right. What can be the problem right here?
(I've CentOS 6 64bit)

Thanks

-Jan

falko 2nd February 2013 12:11

Did you check Apache's error log?
What's the output of
Code:

netstat -tap
?

jancoz 2nd February 2013 16:01

Code:

[root@localhost ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address              Foreign Address            State      PID/Program name
tcp        0      0 *:mysql                    *:*                        LISTEN      1367/mysqld
tcp        0      0 *:ssh                      *:*                        LISTEN      1229/sshd
tcp        0      0 localhost:smtp              *:*                        LISTEN      1458/master
tcp        0    52 5.157.82.204:ssh            ip4da3a6a5.direct-ads:62317 ESTABLISHED 1604/sshd
tcp        0      0 5.157.82.204:ssh            ip4da3a6a5.direct-ads:62195 ESTABLISHED 1511/sshd
tcp        0      0 *:http                      *:*                        LISTEN      1468/httpd
tcp        0      0 *:ssh                      *:*                        LISTEN      1229/sshd
tcp        0      0 localhost:smtp              *:*                        LISTEN      1458/master


falko 4th February 2013 12:57

Quote:

tcp 0 0 *:http *:* LISTEN 1468/httpd
Looks as if Apache is working.

What's the output of
Code:

iptables -L
?


All times are GMT +2. The time now is 22:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.