How to restart Apache?

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:24:06 UTC

Modified:

2017-02-20 07:03:41 UTC

3

Was this article helpful?


Have more questions?

Submit a request

How to restart Apache?

Question

How to restart Apache?

Answer

  1. In Plesk, go under Tools & Settings > Services Management > Web Server (Apache) . Click Restart the service icon.

  2. To restart Apache via command line

    • On RedHat-like operating systems:

      # /etc/init.d/httpd stop
      # /etc/init.d/httpd start
    • on Debian/Ubuntu:

      # /etc/init.d/apache2 stop
      # /etc/init.d/apache2 start
Have more questions? Submit a request
Please sign in to leave a comment.