On a new cPanel web host, the Apache configuration file (httpd.conf) will be configured to set location of /whm-server-status to be handled by server-status feature of Apache. If this few lines of code is removed, Apache no longer know what to do when WHM trying to access /whm-server-status, just like when you remove or delete an alias or virtual host configuration, the alias or vhost no longer be accessible.
To solve the error, simply add the following lines to httpd.conf file, normally located in /etc/httpd/conf or /usr/local/apache/logs. These lines are by default added before the virtual hosts declaration.
<Location /whm-server-status> SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 </Location> ExtendedStatus On
The last line, ExtendedStatus On tells Apache tol generate “full” status information instead of just basic information when the “server-status” handler is called.