How to use the Command Prompt to Restart cPanel

October 7, 2022 / cPanel & WHM

You can use the command prompt to restart cPanel with the help of this guide. All services on the cPanel server, such as MySQL server, tail watch, and others, will restart when cPanel is restarted.

Just follow the short instructions below to restart cPanel using the command prompt-

  1. Log in to the root directory of the WHM Server.
  2. Type the command to restart the cPanel service:
    service cpanel restart
    cd /etc/rc.d/init.d
    ./cpanel restart
  3. With the above command, the cPanel service will be restarted.

In this manner, SSH can be used to restart cPanel through command line. Visit our knowledge base webpage for more information. Don’t forget to check our most recent web hosting services right now as well.

Dominos Search