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
- The cPanel service will be restarted with the command above.
This way you can restart the cPanel using SSH (Command line).
If you want to learn more, check out our guide on How to Restart cPanel Service on a Server using SSH for advanced insights.