I used Laravel and homestead for the first time about half a year ago - Windows 8 and Laravel 4. Did some quick experiment, but then didn't do anything more.
I then needed to do another quick project. Since then I updated to Windows 10 and ran update on composer, Virtualbox and homestead.
At some point things has stopped working - actually, they stopped working a number of times but I managed to get it working again.
Now I experience that when I fire up a box I can SSH into it either via
vagrant shh or
homestead ssh. When I list the lines in the box they include the folder I have configured in Homestead.yaml.
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: ~/SourceTree/ErrorReporter to: /home/vagrant/ErrorReporter - map: ~/SourceTree/software-thomthom-net to: /home/vagrant/software-thomthom-net sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public - map: sketchup.thomthom.local to: /home/vagrant/ErrorReporter/public - map: software.thomthom.local to: /home/vagrant/software-thomthom-net/public databases: - homestead - extensions - software variables: - key: APP_ENV value: local
And my hosts file:
# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 220.127.116.11 rhino.acme.com # source server # 18.104.22.168 x.acme.com # x client host # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost 192.168.10.10 sketchup.thomthom.local 192.168.10.10 software.thomthom.local
For some reason I access the box via the browser on either
I currently have Homestead 0.2.7 - while I saw there is 0.3.0 out there it failed to update.
In any case - I cannot access any of my homestead boxes whether I use
vagrant up or
I had this problem earlier as well - but I couldn't find a solution. However, at some point while I was fiddling around, updating everything - it started working. Now, something broke again. And despite searching and searching I cannot figure out what causes this.
Any ideas or pointers to how I can figure out why it fails to load via the browser?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.