Page tree

Versions Compared

Key

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

...

Create Virtual Host Files

Note

There is another approach to this (provided most virtual hosts have the same requirements) where virtual hosts are created through mod rewrite and convention. Will write about this once I try it out.

Looking in /etc/apache2/apache2.conf you will see a reference to the directory, /etc/apache2/sites-enabled/. Apache will look in this directory and load any virtual host file configurations.

...