How to Restart the cPanel using the Command Prompt

September 20, 2022 / How-to Guide

This guide will assist you in how to restart cPanel using the command prompt. Restarting cPanel will restart all services on the cPanel server, including, MySQL, server, tail watch, and so on.

How to use Command Prompt for cPanel restart

  1. Log in to the WHM Server’s root directory.

    whm login

  2. To restart the cPanel service, type the following command:
    service cpanel restart
    cd /etc/rc.d/init.d
    ./cpanel restart
  3. The cPanel service will be restarted with the command above.

This way you can restart the cPanel using SSH (Command line).

If you want to learn more, check out our guide on How to Restart cPanel Service on a Server using SSH for advanced insights.

Spread the love