title: How to access a Virtual Host created by XAMPP from Virtual Machine?
body: <p>I'm using XAMPP to setup my web development environment on Mac. Also for test different browsers I installed Virtual Machine(One WIN7 and one WIN8) on my Mac. </p>
  
  <p>I keep the default XAMPP page to localhost as default. And created an virtual host named arthur.local which pointed to my Sites folder to do all my projects.</p>
  
  <p>Now I could use browsers on mac to access my project, just by typing arthur.local in the URL and am good to go.</p>
  
  <p>However I can't access this Virtual Host from the Virtual Machine I created. I could access localhost by using the IP address, but I don't know how could I access my virtual host? What I should give the the browser?</p>
  
  <p>Here are the setup for my virtual host in XAMPP:</p>
  
  <pre><code>#Arthur's Host
  &lt;VirtualHost *:80&gt;
      ServerName Arthur.local
      DocumentRoot "/Users/Arthur0902/Sites"
      &lt;Directory "/Users/Arthur0902/Sites"&gt;
          Options Indexes FollowSymLinks Includes ExecCGI
          AllowOverride All
          Order Allow,Deny
          Allow From All
      &lt;/Directory&gt;
      ErrorLog "logs/mysite.local-error_log"
  &lt;/VirtualHost&gt;
  </code></pre>