Important information: Running Apache 2.4.6 on Ubuntu 12.04. I have the vhost_alias module running.
I'm trying to set up a virtual host on my local machine, and for some reason when I go to example.com it routes me to /var/www instead of /var/www/example/wordpress, as I'm hoping it to do.
The following is the configuration in the sites-available folder, which I enable using a2ensite example:
Options Indexes FollowSymLinks Includes
Require all granted
I also added the following line to the /etc/hosts file:
As far as I can tell, it's this simple. Am I missing something?