Restart cPanel Service using Command Line

Category : cPanel/WHM

Did some changes on cPanel/WHM configs and want to restart the cPanel Service? This can be done using a single command from the root user of the WHM Server.

Restarting cPanel will trigger the restart to all the services lik tail watch, MySQL server, etc on cPanel server.

Let’s proceed with the small guide.


  1. Log in to the root of the WHM Server.
  2. Run the following command to restart the cPanel Service.
    service cpanel restart

The above command with restart the cPanel service using terminal.