Displaying CPanel Server status on an external website

Michael Benstead

Registered
May 24, 2015
1
0
1
Brisbane, Australia
cPanel Access Level
Root Administrator
We use WHMCS which has a useful ServerStatus.php script that displays Cpanel status on the WHMCS client portal page.

I would like to know if there is code or a script to achieve this on an external website.

As our WHMCS installation is on the same Hosting Server as our customers I would like to be able to show Server status on our own corporate website which is externally hosted.

Does anybody know of a way to get the Server status displayed on a website page?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello,

Yes, as mentioned, you could use the "servicestatus" function with WHM API 1 when developing a custom script to display the status on an external website.

Thank you.