title: My Laravel Homestead doesn't work
body: <p>I'm having problem to understand how to run my website using vagrant and Laravel Homestead environment.</p>
  
  <p>I added <code>laravel/homestead</code> box without any problems. Then I ran <code>vagrant init laravel/homestead</code> and it worked too.</p>
  
  <p>I managed to create Homestead.yaml and here's what it contains:</p>
  
  <pre><code>---
  ip: "192.168.10.10"
  memory: 2048
  cpus: 1
  provider: virtualbox
  
  authorize: ~/.ssh/id_rsa.pub
  
  keys:
      - ~/.ssh/id_rsa
  
  folders:
      - map: ~/www
        to: /home/vagrant/code
  
  sites:
      - map: project.dev
        to: /home/vagrant/code/project
  
  databases:
      - homestead
  
  variables:
      - key: APP_ENV
        value: local
  </code></pre>
  
  <p><code>vagrant up</code> runs correctly, but I don't know how to access my website. I added <code>192.168.10.10   project.dev</code> to my <code>/etc/hosts</code>.</p>
  
  <p>I want to keep my project at <code>~/www/project</code>. First thing that I didn't understand from the docs is, what is the folder at sites / map / to setting supposed to be? My local folder or a folder in the virtual environment?</p>
  
  <p>The next thing I don't understand is why when I do <code>vagrant ssh</code> and then <code>ls</code>, I don't see any files, even though there's <code>index.php</code> at my <code>~/www/project</code>. I thought they are going to be synchronized automatically.</p>
  
  <p>When I go to <code>project.dev</code> in the browser, it timeouts. I tried <code>project.dev:8000</code> as well and <code>192.168.10.10</code>, but nothing works.</p>
  
  <p>Please help me.</p>