title: Hosting multiple websites on apache2
body: <p>I want to be able to access each site like this: <code>http://server_ip/project_name</code>.
  I don't want different domains or different ports.</p>
  
  <p>I have these files in the available sites folder.</p>
  
  <p>test1.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin localhost
      DocumentRoot /var/www/test1/public_html
      ServerName test1
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>test2.conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin localhost
      DocumentRoot /var/www/test2/public_html
      ServerName test2
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When I go to <code>htttp://localhost/test1</code> I get <strong>Not Found</strong>.
  But when I go to <code>localhost</code> I get test1 page.</p>