Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Displaying CPanel Server status on an external website

Discussion in 'General Discussion' started by Michael Benstead, May 24, 2015.

  1. Michael Benstead

    Michael Benstead Registered

    Joined:
    May 24, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
  2. LostNerd

    LostNerd Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    258
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Hastings, East Sussex, UK
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice