Skip to main content

Websites not loading but server and Cpanel up

Comments

7 comments

  • cPRex Jurassic Moderator
    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
  • mag2grid
    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 process
    0
  • cPRex Jurassic Moderator
    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
  • mag2grid
    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
  • cPRex Jurassic Moderator
    Thanks for the additional details. It sounds like there could be a higher level firewall at your host that you may need the ports opened. You'll want to make sure all the following ports are opened both on the server and on any external firewall tools that may be present:
    0
  • mag2grid
    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
  • cPRex Jurassic Moderator
    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.