1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Restarting Services

Restarting Services

This article will explain how to restart services on your VPS or Dedicated server using WHM. Restarting Services is often recommended as a troubleshooting step when a service has stopped or installed new software. While it may sometimes be necessary, it generally is not and has little effect on the server. If you find you need to restart services regularly, you may wish to contact HostGator's Support to identify an issue that may be preventing your services from functioning correctly.

Here are the topics we will discuss in this article.


How to manually restart a service

To manually restart a service within WHM:

  1. Log in to WHM.
  2. Search for the Restart Services section. The quickest way is by typing a keyword in the search box either in the left-side panel or at the top of the page.

    WHM - Search box

  3. Under Restart Services, several services available on your server will be displayed. Click on the name of the service you wish to restart.

    WHM - Restart Services

    Here are the services you can restart:

    • DNS Server - Used to restart BIND, NSD, PowerDNS, or MyDNS.
    • HTTP Server (Apache) - Used to restart Apache®.
    • IMAP Server - Used to restart Dovecot.
    • Mail Server (Exim) - Used to restart Exim.
    • Mailing List Manager (Mailman) - Used to restart Mailman.
    • PHP-FPM Service for Apache - Used to restart the PHP-FPM service for Apache.
    • SQL Server (MySQL) - Used to restart MySQL®.
    • SSH Server (OpenSSH) - Used to restart OpenSSH.
  4. You will be asked if you are sure you wish to restart the service. Click on the Yes button to confirm.

    WHM - Restart Services - DNS Server


How to enable Monitor to auto-restart services

Note: Services that fail repeatedly may be experiencing issues that require administrative attention.

It is not recommended to enable Monitor for the following services, as the issues involved in their failure frequently require administrator attention:

  • Entropy Chat Server
  • Exim Mail Server - no monitor only
  • Exim Mail Server (on another port)
  • Eximstats
  • Antirelayd
If you experience issues with these services, we recommend contacting us via phone or Live Chat for assistance.

It is possible to activate Monitor for enabled services, allowing your server to auto-restart services that fail or otherwise become unresponsive.

To enable Monitor:

  1. Log in to WHM as root.
  2. Search for the Service Configuration section. The quickest way is by typing a keyword in the search box either in the left-side panel or at the top of the page.

    WHM - Search box

  3. Under Service Configuration, select Service Manager from the list.

    WHM - Service Configuration - Service Manager

  4. On the right panel, look for the service you wish to enable Monitor for. For more information about your server's services that you can enable and monitor, please visit the following documentation.
  5. Ensure that both Enabled and Monitor are checked for the desired service.

    HostGator WHM Service Manager Monitor

  6. Scroll to the bottom of the page and click Save.
Need further assistance? HostGator's Support is here to assist! Please contact us via phone or Live Chat so we can assist you.