...
You will then be prompted to execute sudo /etc/init.d/apache2 reload to reload the Apache configuration file for changes to take effect. This command is useful because it does not affect users currently browsing your other sites. However, I have found this sometimes does not work for me. In that case, I usually issue a full restart,
Code Block | ||
---|---|---|
| ||
sudo service apache2 stop sudo service apache2 start |
Before Ubuntu 12 introduced the service approach you would execute,
Code Block | ||
---|---|---|
| ||
sudo /etc/init.d/apache2 stop |
...
sudo /etc/init.d/apache2 start |
Type in your browser, www.krypton.com. Because directory listing is enabled and there is no default html page usually index.html you should see an directory page listing the contents of /home/serveradmin/www.krypton.com/.
...