title: Creating a virtual host using webmin loads default site
body: <p>So I'm trying to set up a rackspace cloud server to host multiple sites (not servers) with a single IP. I installed Virtualmin/Webmin on an Ubuntu 12.04 LTS server. I created the directory /var/www/sites/testsite. Then I created a virtual host under Webmin->Servers->Apache Webserver with the following settings: </p>
  
  <pre><code>Address: Any
  Port: 80
  Document Root: /var/www/sites/testsite
  Server Name: testsite.com
  </code></pre>
  
  <p>Then, to test it, I edited the hosts file on my local machine and added </p>
  
  <pre><code>[my.server.ip.address] testsite.com
  </code></pre>
  
  <p>Then went to testsite.com in my browser and problem is it's loading the default site (at /var/www) instead of the virtual one I just created (I verfied this by adding different index.html files in /var/www and /var/www/sites/testsite).</p>
  
  <p>Here are the directives webmin created in /etc/apache2/sites-available/webmin.1372454178.conf</p>
  
  <pre><code>DocumentRoot /var/www/sites/testsite
  &lt;Directory "/var/www/sites/testsite"&gt;
  allow from all
  Options +Indexes
  &lt;/Directory&gt;
  ServerName testsite.com
  ServerAlias www.testsite.com
  </code></pre>