title: Sites showing "It Works!" page, not what is specified in vhost configs
body: <p>It APPEARS I have everything set the right way, after hours of reading/trying a dozen or so tutorials on setting up virtual hosts. Basically, after upgrading my Ubuntu distro (I know, right?), Apache upgraded to 2.4 and everything broke. After trying to figure that out, I just decided I blew everything out and started anew. PHP/Apache are current.</p>
  
  <p>I'm getting the root index ("It Works!") returned, but not the DocumentRoot I specify.</p>
  
  <p><strong>/etc/apache2/sites-available/domain.com.conf</strong></p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName domain.com
      ServerAlias www.domain.com
  
      # Indexes + Document Root
      DirectoryIndex index.php index.html
      DocumentRoot /var/www/domain.com/htdocs/
  
      # Logging
      ErrorLog  /var/www/domain.com/logs/error.log
      CustomLog /var/www/domain.com/logs/access.log combined
  
      &lt;Directory "/var/www/domain.com/htdocs/"&gt;
              Options Indexes FollowSymLinks Includes
              AllowOverride All
              Require all granted
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I typed in "sudo a2ensite domain.com.conf" and that is showing up in /enabled-sites as you would expect.</p>
  
  <p><strong>apache2ctl -S</strong></p>
  
  <pre><code>VirtualHost configuration:
  *:80     is a NameVirtualHost
       default server domain.com (/etc/apache2/sites-enabled/domain.com.conf:1)
       port 80 namevhost domain.com (/etc/apache2/sites-enabled/domain.com.conf:1)
               alias www.domain.com
  ServerRoot: "/etc/apache2"
  Main DocumentRoot: "/var/www"
  Main ErrorLog: "/var/log/apache2/error.log"
  Mutex default: dir="/var/lock/apache2" mechanism=fcntl
  Mutex mpm-accept: using_defaults
  Mutex watchdog-callback: using_defaults
  PidFile: "/var/run/apache2/apache2.pid"
  Define: DUMP_VHOSTS
  Define: DUMP_RUN_CFG
  User: name="www-data" id=33 not_used
  Group: name="www-data" id=33 not_used
  User: name="www-data" id=33 not_used
  Group: name="www-data" id=33 not_used
  </code></pre>
  
  <p>Hoping that it's something stupid I'm overlooking, because it's been a frustrating night and I've tried everything I can think of so I wouldn't have to bother you folks with this (sorry!). I'm not getting any errors from Apache when I start/restart, nor am I getting anything in any error logs. Not sure this is applicable, but the DirectoryRoot permissions is set to 755.</p>
  
  <hr>
  
  <p><em><strong>update (11/05/13)</em></strong></p>
  
  <p>Apparently the "magical fixer fairy" swooped in and resolved this. There is no cache engine installed to my knowledge (unless Apache 2.4 installs with one by default?), so I'm not sure what could've changed itself to make it resolve to the correct directory over the weekend (in which I did not work), but there you go. Just for the hecklers: yes, I had restarted apache (a million times) so that wasn't the fix.</p>