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.
How to use Command Prompt for cPanel restart
- 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).