title: How do I create a VirtualHost on Zend Server?
body: <p>I am using zend server and I added one VirtualHost into the extra/httpd-vhosts.conf file and removed # from the httpd.conf file.</p>
  
  <p>This is what I added into the extra/httpd-vhosts.conf file:</p>
  
  <pre><code>NameVirtualHost *:80
  
  &lt;VirtualHost *:80&gt;
      ServerName quickstart.local
      DocumentRoot D:/quickstart/Code
  
  
      &lt;Directory D:/quickstart/Code&gt;
          DirectoryIndex index.php
          AllowOverride All
          Order allow,deny
          Allow from all
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When I access quickstart.local it is working fine, but it also affects localhost (i.e when I try to load <a href="http://localhost/" rel="noreferrer">http://localhost/</a>, I see the same site I do for <a href="http://quickstart.local/" rel="noreferrer">http://quickstart.local/</a>.</p>
  
  <p>How do I resolve this issue? I want both localhost (I use this for another project) and quickstart.local to be separate.</p>