How to use the Command line to Restart the cPanel

October 18, 2022 / How-to Guide

If you altered a service’s settings, for example, or if the service is experiencing problems, you may want to restart it. And this can be done with a single command from the WHM Server’s root user.

Restarting cPanel will restart all services on the cPanel server, including, MySQL, server, tail watch, and so on.

Follow the steps-

  1. Log in to the WHM Server’s root directory.
  2. To restart the cPanel service, type the following command-
    service cpanel restart
  3. The cPanel service will be restarted with the command above.

Important Note: Restarting cPanel will restart all services on the cPanel server, including, MySQL, server, tail watch, and so on.

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

Spread the love