#1  
Old 1st February 2013, 23:56
jancoz jancoz is offline
Junior Member
 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 2nd February 2013, 13:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Did you check Apache's error log?
What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd February 2013, 17:01
jancoz jancoz is offline
Junior Member
 
Join Date: Feb 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Last edited by jancoz; 2nd February 2013 at 17:16.
Reply With Quote
  #4  
Old 4th February 2013, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

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

What's the output of
Code:
iptables -L
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will ISPConfig3 work with Apache 2.4+ eddie-prefere Installation/Configuration 7 9th November 2012 17:29
Fixing 404 Not Found Errors on Apache on Centos 5 x86_64 Dedi LinuxOnMyMac HOWTO-Related Questions 11 16th October 2010 05:29
problems with suexec gobokster Installation/Configuration 7 7th May 2009 14:33
ISPConfig kill apache and ports, not work ISPconfig JaBa Installation/Configuration 8 19th March 2009 18:51
ColdFusion related quetsions ColdDoT Server Operation 9 11th May 2006 01:54


All times are GMT +2. The time now is 09:44.


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