Restart Apache on Ubuntu
Use the following systemctl command on Debian Linux version 8.x+ or Ubuntu 15.04+ or above: As an alternative, you can also use the commands below To view the status of the apache2 webserver use the following You should then see an output like below.