title: Using vagrant and homestead for multiple sites and per project installation
body: <p>I have been using XAMPP for quite a time, and after discovering Laravel and finding out, that I quite like it, I also wanted to use Homestead. The problem I'm having is, that I can't seem to be able to run multiple sites.</p>
  
  <p>I have tried various things, but the main problem currently is, that one project works, while all the others are getting a connection timeout, when trying to access their webpage.</p>
  
  <p>These are the steps I've taken to use Homestead</p>
  
  <ol>
  <li>Installing VirtualBox</li>
  <li>Installing Vagrant</li>
  <li>Adding homestead with <code>vagrant box add laravel/homestead</code></li>
  <li>Clonging the repository <code>git clone https://github.com/laravel/homestead.git Homestead</code></li>
  <li>Create Homestead.yaml file in the <code>Homestead</code> directory with the <code>bash init.sh</code> script</li>
  <li>Create a new project <code>laravel new projectA</code></li>
  <li>Require homestead <code>composer require laravel/homestead</code></li>
  <li>Generate Vagrantfile <code>php vendor/bin/homestead make</code></li>
  <li>Modify the Homestead.yaml to have an IP that ends with 10</li>
  <li>Create another project <code>laravel new projectB</code></li>
  <li>Require homestead <code>composer require laravel/homestead</code></li>
  <li>Generate Vagrantfile <code>php vendor/bin/homestead make</code></li>
  <li>Modify the Homestead.yaml to have an IP that ends with 11</li>
  <li>Adding those two sites to the hosts file <code>sudo nano /etc/hosts</code> => <code>xxx.xx.xx.10 projecta.app</code> &amp; <code>xxx.xx.xx.11 projectb.app</code></li>
  <li>Starting vagrant from one of the two directories <code>vagrant up</code></li>
  </ol>
  
  <p>Now, I'm having the problem, that only one of the projects is reachable. It's always the one from where I called <code>vagrant up</code>. So if I call <code>vagrant up</code> from Project A I can access <code>http://projecta.app</code> and <code>http://projectb.app</code> times out. The same the other way around, sadly.</p>
  
  <p>This is my <code>vagrant global-status</code></p>
  
  <pre><code>id       name    provider   state   directory                           
  ------------------------------------------------------------------------
  fc6fadb  default virtualbox running /Users/mknb/work/projectA
  </code></pre>
  
  <p>I thought I would just do another <code>vagrant up</code> from the <code>projectB</code> directory but that doesn't work of course.</p>
  
  <p>I don't want to use the global Homestead, because Laravel said, that it is possible to have a <code>per project</code> installation, so how do I achieve it? Do you need more information?</p>
  
  <p>I didn't modify the <code>Homestead.yaml</code> except of the IP and the domainname <code>homestead.app</code> => <code>projecta.app</code></p>
  
  <p>It seems like a global installation is fairly easy with Homestead, since I would just have to add more sites to the Homestead.yaml, but as I said I'd like to have a per project installation. Can anybody help?</p>
  
  <p>Starting vagrant from the Homestead directory doesn't work of course.</p>