title: Apache vhost not working for subdomains
body: <p>I have this configuration but both url app.test.com &amp; stage.test.com 
  redirect to same code/deployment</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName app.test.com
      DocumentRoot /var/www/html/Test-Prod/web
      &lt;Directory "/var/www/html/Test-Prod/web"&gt;
          Options Indexes FollowSymLinks
          AllowOverride All
      &lt;/Directory&gt;
      ErrorLog logs/test-prod__error_log
      CustomLog logs/test-prod_access_log common
  &lt;/VirtualHost&gt;
  &lt;VirtualHost *:80&gt;
      ServerName stage.test.com
      DocumentRoot /var/www/html/Test/web
     &lt;Directory "/var/www/html/Test/web"&gt;
          Options Indexes FollowSymLinks
          AllowOverride All
     &lt;/Directory&gt;
     ErrorLog logs/test-website_error_log
     CustomLog logs/test-website_access_log common
   &lt;/VirtualHost&gt;
  </code></pre>