title: Virtual host and subdomains on Wamp windows
body: <p>I want to create virtual host and sub-domains for that host on local machine such that my localhost serve as a website like I do not need to write localhost in url bar:</p>
  
  <pre><code>localhost  ---&gt; mysite.com
             ---&gt; sd1.mysite.com
             ---&gt; sd2.mysite.com
  </code></pre>
  
  <p>actually I am using wordpress plugin <strong>WP Subdomains</strong> which makes sub-domain for main categories like.</p>
  
  <pre><code>cat1.localhost
  cat2.localhost
  </code></pre>
  
  <p>but if we try to access <strong>cat1.localhost</strong> browser error <strong>Server not found</strong> which is definitely because we did not create sub-domain named <strong>cat1</strong> for localhost.</p>
  
  <p>I google but no solution found which exactly solve my problem.</p>
  
  <p>I also followed <a href="http://www.talkphp.com/general/2170-setup-sub-domain-wamp.html" rel="nofollow">http://www.talkphp.com/general/2170-setup-sub-domain-wamp.html</a></p>
  
  <p>but following error appear:</p>
  
  <blockquote>
    <p><strong>Internal Server Error</strong></p>
    
    <p>The server encountered an internal error or misconfiguration and was
    unable to complete your request.</p>
    
    <p>Please contact the server administrator, admin@localhost and inform
    them of the time the error occurred, and anything you might have done
    that may have caused the error.</p>
    
    <p>More information about this error may be available in the server error
    log.</p>
  </blockquote>