Websites not loading but server and Cpanel up
Good evening,
I am looking for some assistance if possible.
I have a Centos 7.9 server that hosts two websites.
Since this morning the websites are not being displayed, I can access the server via cpanel, putty and ftp.
I have restarted HTTP Server (Apache) and even rebooted the server.
When navigating to the sites all I get is: This site can"t be reached - website unexpectedly closed the connection.
Any help would be appreciated.
-
Hey there! I'm sorry to hear about this issue with the sites. Can you post the output of the following command? apachectl status
That would show us what Apache is doing on the machine and get us more details.0 -
Hey there! I'm sorry to hear about this issue with the sites. Can you post the output of the following command?
apachectl status
That would show us what Apache is doing on the machine and get us more details.
Thanks for getting back to me: apachectl status Apache Server Status for localhost (via ::1) Server Version: Apache/2.4.46 (cPanel) OpenSSL/1.1.1j mod_bwlimited/1.4 Server MPM: prefork Server Built: Feb 23 2021 20:21:11 -------------------------------------------------------------------------- Current Time: Monday, 01-Mar-2021 20:06:31 GMT Restart Time: Monday, 01-Mar-2021 19:43:51 GMT Parent Server Config. Generation: 1 Parent Server MPM Generation: 0 Server uptime: 22 minutes 39 seconds Server load: 0.02 0.02 0.05 Total accesses: 25 - Total Traffic: 62 kB - Total Duration: 33 CPU Usage: u.04 s.04 cu0 cs0 - .00589% CPU load .0184 requests/sec - 46 B/second - 2539 B/request - 1.32 ms/request 1 requests currently being processed, 4 idle workers W____........................................................... ................................................................ ...................... Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "C" Closing connection, "L" Logging, "G" Gracefully finishing, "I" Idle cleanup of worker, "." Open slot with no current process0 -
Thanks for those details - that shows that Apache is up and running at least, so that's a good sign. Can you connect to port 80 on the system? You can try running this command from your local computer to connect to the server and see if that port is open: telnet x.x.x.x 80
Just replace the "x.x.x.x" with your server's IP address, and you may have to install telnet if your local machine doesn't have it.0 -
Thanks for those details - that shows that Apache is up and running at least, so that's a good sign. Can you connect to port 80 on the system? You can try running this command from your local computer to connect to the server and see if that port is open:
telnet x.x.x.x 80
Just replace the "x.x.x.x" with your server's IP address, and you may have to install telnet if your local machine doesn't have it.
Good morning, ran a telnet and got: "Connecting To IPaddress ...Could not open connection to the host, on port 80: Connect failed" I have looked at the ports on the firewall.80 tcp 4/6 - 8006 root /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 8010 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 8011 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 8012 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 8013 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 8014 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 80 tcp 4/6 - 24293 nobody /usr/sbin/httpd -k start /usr/sbin/httpd 0 -
Thank you for the help, I'll have to get onto Amazon Web Service as that is where it is hosted. All the ports etc look to be open 0 -
You're very welcome! Let me know if you need me to check anything else on my end. 0
Please sign in to leave a comment.
Comments
7 comments