Support the ongoing development of →
Installation Configuration
Last updated 2 years ago.

Hi thanks for the tips, very helpful for me! Especially the hostsupdater plugin.

I'd like to add that instead of editing the Vagrantfile I moved the .homestead directory to C:\Users\ME\ .homestead which seems to work as well (on Win 8.1) and might be even easier.

Last updated 9 years ago.


THANK YOU REALLY MUCH!!! 3 months ago or so I wasted like 10 hours of searching how to make it work on Windows this Homestead, which as stated on laravel website "should be fast and easy to set up", however I gave up with no luck. But now with your message I made it to work.


I was wondering if you would be so kind to share your Homestead.yaml and VirtualBox network settings with us. Specifically the IP settings. I seem to be having some trouble in this area. It would be greatly appreciated. Thank you for sharing your time and experience with the community. Peter


Sorry I missed the previous replies.

wgmv: I got tired of editing the hosts files by hand, so the plugin really helps.

MindisWorld: Glad it worked for you, in my opinion the last version was a lot easier to setup. Especially since they now want php and composer on the host machine, not something I want personally.

peterbata: Here is the Homestead.yaml file. I've upped the CPUs from 1 to 3 as I have an 8 core cpu so figured why not. The aliases is used by the hostsupdater plugin, mentioned above. I have about 4 or so more sites configured but I shortened it a bit to post here, no point for that many repeats. It's not much different from the default, You could add the databases to have them created when provisioning, just as easy ssh in and create it when adding in a new site.

ip: ""
memory: 2048
cpus: 3

authorize: C:\Users\tporter\.ssh\

    - C:\Users\tporter\.ssh\id_rsa

aliases: ["dev1.lan", "dev2.lan", "dev3.lan", "dev4.lan", "phptesting.lan"]

    - map: C:\local_devel\Code
      to: /home/vagrant/Code

    - map: dev1.lan
      to: /home/vagrant/Code/dev1/public
    - map: dev2.lan
      to: /home/vagrant/Code/dev2/public    
    - map: dev3.lan
      to: /home/vagrant/Code/dev3/public    
    - map: dev4.lan
      to: /home/vagrant/Code/dev4/public    
    - map: phptesting.lan
      to: /home/vagrant/Code/phptesting/public

    - homestead

    - key: APP_ENV
      value: local

Nothing customized on the network settings, its the vagrant defaults - not sure what info to provide. What trouble are you having with the network ?


TerrePorter said:

One cavaot, I noticed this version creates one virtual box named Homestead. I've not tested if I can create a second folder and it not overwrite the previous virtualbox instance. I have not gone futher to put back in the random-string addon to the name so that I can have multiple homestead instances if I want.

A small update to this, you can change the VM name in the scripts\homestead.rb file, around line 15 = 'homestead'

This is the name of the virtual machine to be used.

I've updated my file to allow me to specify a name in the .homestead\homestead.yaml file = settings["vmname"] ||= "homestead"

then in the yaml file,

vmname: homestead-hvmmtest

"In the folder c:\local_devel\Homestead2 I created a new folder called .homestead"

Windows 8.1 won't let me create a folder called .homestead - I don't think it likes the leading "." - it just says "you must type a filename" - any suggestions? Thanks


You can change the name of the .homestead, on my laptop which is running 8.1 it is just homestead.

You will need to update the vagrantfile and remove the dot from .homestead, or you can name it something else as long as it matches the folder name where the files are.


Registered to add - if you're on Windows and want to create a folder with the name ".homestead" (for example), then enter ".homestead." - dot at the begining AND the end - Explorer will removing the trailing dot, but it's necessary to stop Windows complaining.


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.