title: VirtualHost always returns default host with Apache on Ubuntu 14.04
body: <p>I try to setup a virtual host besides the default <code>localhost</code>. 
  Whenever I try to call my virtual host <code>http://test</code> I get the default Apache2 Index file that sits in the directory of <code>http://localhost</code>. Furthermore apache returns this page still after disabling (<code>a2dissite</code>) both VirtualHost files an reloading apache (<code>service apache2 reload</code>).</p>
  
  <p>What could go wrong that the virtual host is not working?</p>
  
  <p><strong>Configuration:</strong></p>
  
  <p>My directory structure is the following:</p>
  
  <pre><code>/var/www/html                  # Default localhost dir
  /var/www/html7index.html       # Apache2 default index
  
  /var/www/test                  # HTML dir for the virtual host
  /var/www/test/index.html       # My "website" 
  </code></pre>
  
  <p>Content of <code>/etc/hosts</code>:</p>
  
  <pre><code>127.0.0.1       localhost
  127.0.1.1       Laptop
  127.0.0.1       test
  </code></pre>
  
  <p>Directory content of <code>/etc/apache2/sites-available</code>:</p>
  
  <pre><code>000-default.conf
  default-ssl.conf
  test.conf
  </code></pre>
  
  <p>File <code>000-default.conf</code>:</p>
  
  <pre><code>&lt;VirtualHost localhost:80&gt;
          ServerName localhost
          ServerAdmin webmaster@localhost
          DocumentRoot /var/www/html
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>File <code>test.conf</code>:</p>
  
  <pre><code>&lt;VirtualHost test:80&gt;
          ServerAdmin test@localhost
          ServerName test
          NameVirtualHost test
          ServerAlias test
          DocumentRoot /var/www/test
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>