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.
To restart the cPanel using the command prompt, just follow a few simple steps as mentioned below:
- Log in to the WHM Server’s root directory.
- To restart the cPanel service, type the following command:
service cpanel restart
cd /etc/rc.d/init.d
./cpanel restart
- The cPanel service will be restarted with the command above
This way you can restart the cPanel using SSH (Command line).