Skip to main content

How to Restart a cPanel Service From WHM

Restarting a cPanel service allows you to refresh a specific service, such as Exim, Dovecot, or Apache, to apply configuration changes or resolve connectivity issues. This procedure is performed by a Server Administrator within the WHM interface.

Restarting a cPanel service allows you to refresh a specific service, such as Exim, Dovecot, or Apache, to apply configuration changes or resolve connectivity issues. This procedure is performed by a Server Administrator within the WHM interface.

Before you begin

You will need:

  • Root access to the WHM interface

  • The name of the specific service you wish to restart (e.g., httpd, exim, dovecot)

Restarting a service via WHM

  1. Log in to WHM.

  2. In the left-hand sidebar, search for Restart Service or navigate to Server Configuration > Restart Service.

  3. Select the service you wish to restart from the provided list.

  4. Click the Restart button next to the selected service.

Warning: Restarting core services like Apache (httpd) or Dovecot will cause a brief interruption in service availability for your users. Ensure you perform this action during a low-traffic period if possible.

Confirm the result

  • The system will display a confirmation message indicating the service has been restarted.

  • You can verify the service is running by checking the service status in the Service Status page or by attempting to access the affected service (e.g., checking if a website loads or an email can be sent).

If a service fails to restart

If a service fails to restart, it may be due to a configuration error or a resource limitation.

  1. Check the service status in WHM to see if it remains in a "Stopped" or "Failed" state.

  2. Review the server's error logs (such as /var/log/messages or the specific service log) to identify the cause of the failure.

  3. If the service remains down after a restart attempt, contact Hostek support with the specific service name and the time the restart was attempted.

Did this answer your question?