Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
sudo service apache2 stop
sudo service apache2 start 

Before Ubuntu 12 introduced the service approach you would execute,

Code Block
languagebash
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/.

...