The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page