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:
- Log in to the WHM Server’s root directory.
- To restart the cPanel service, type the following command:
service cpanel restart
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).
How to use the Command line to Restart the cPanel