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
-
Log into Plesk as admin.
-
Go to Tools & Settings > Services Management.
-
Click Restart the service icon next to Web Server (Apache):
Directly on the server
-
Connect to the server using SSH.
-
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
-