Plesk

How to restart Apache service in Plesk for Linux

Question

How to restart Apache?

Answer

Note: To restart Apache, it is required to have either administrative access to the Plesk interface or root SSH access to the server. If you do not have the menu Tools & Settings in the Plesk interface or root SSH access to the server, please contact your server's administrator or hosting company support that manages the server.
By default, Apache is reloaded automatically after changing any Hosting Settings in Domains > example.com.

In Plesk interface

  1. Log into Plesk as admin.

  2. Go to Tools & Settings > Services Management.

  3. Click Restart the service icon next to Web Server (Apache):

Directly on the server

  1. Connect to the server using SSH.

  2. Depending on the operating system installed on the server, execute the command to restart Apache:

    • On CentOS, RHEL, CloudLinux:

      # service httpd restart

    • On Debian or Ubuntu:

      # service apache2 restart