title: Setup multiple sites on local machine using XAMPP 2.4 not working
body: <p>So i have 2 domain on the same host 
  this is my httpd-vhosts.conf </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
    ServerName localhost
    DocumentRoot "C:/xampp/htdocs/"
  &lt;/VirtualHost&gt;
  &lt;VirtualHost *:80&gt;  
      DocumentRoot "C:/xampp/htdocs/domain1"
      ServerName domain1.com.vn
      ServerAlias www.domain1.com.vn *.domain1.com.vn
  &lt;/VirtualHost&gt;
  &lt;VirtualHost *:80&gt;
      DocumentRoot "C:/xampp/htdocs/domain2"
      ServerName domain2.com
      ServerAlias www.domain2.com *.domain2.com
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>this is my host file </p>
  
  <pre><code>#   127.0.0.1       localhost
  #   ::1             localhost 
     127.0.0.1        domain2.com
     127.0.0.1        domain1.com.vn
  </code></pre>
  
  <p>when i go to domain2.com , it work but when i go to domain1.com.vn it go to domain2.com .</p>
  
  <p>When i use www.domain1.com.vn then it's work and go to domain1.com.vn </p>
  
  <p>So can you guy help me with this problem , i'm googling a lot but still can't find the problem</p>