How to restart Apache with a Debian server

You need to restart Apache after to have installed a new package, or when you have modified a configuration file.

service apache2 restart

Or

sudo /etc/init.d/apache2 restart