title: Apache2- need multiple projects with same domain that use different path after domain name
body: <p>I have 2 completely different projects I would like to host from the same domain name "mysimpledomainname.com"     with ip address xx.xx.xxx.xx (not local)</p>
  
  <p>The 2 projects are located at
  Project 1)   /var/www/html/project1
  Project 2)  /var/www/html/project2</p>
  
  <p>I would like to have the 2 projects resolve like this</p>
  
  <h2>Project 1</h2>
  
  <p>mysimpledomainname.com</p>
  
  <h2>project 2</h2>
  
  <p>mysimpledomainname.com/project2</p>
  
  <p>I DO NOT want to use subdomain names.  This is for a project on my public server, not my local machine, so I don't think updating the host file will help me.</p>
  
  <p>I already have the first project loading from mysimpledomainname.com (it's already working).</p>
  
  <p>In the directory sites-available I have the conf file mysimpledomainname.com.conf with values:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerAdmin myemail@gmail.com
          DocumentRoot /var/www/html/project1
          &lt;Directory /var/www/html/project1/&gt;
                  Options Indexes FollowSymLinks
                  AllowOverride All
                  Require all granted
                  RewriteEngine On
          &lt;/Directory&gt;
          ErrorLog ${APACHE_LOG_DIR}/error.log
          CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I think I need to have 2 different conf files set up in order to do this, but after searching around I have not been able to find a solution.
  Can anyone help me with this?  Rather than giving a short answer can you post exactly what I would need for the 2 different conf files?</p>
  
  <p>Thanks,</p>
  
  <p>David</p>