Apache Web Server | Learn for Master
  • Start, Restart and Stop Apache web server on Linux

    We often need to start, stop or restart apache web server on Linux system such as Debian and Ubuntu. 

    This post uses examples to show how to Start, Restart, or Stop apache web server by using service, systemctl or apache2ctl commands.

    service command

    This method works in most Linux distributions including Debian and Ubuntu.

    To start Apache 2, run:
    $ sudo service apache2 start

    To restart Apache 2, run:
    $ sudo service apache2 restart

    To stop Apache 2, run:
    $ sudo service apache2 stop

    To gracefully reload Apache 2,

    [Read More...]