Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Robert-Broley's avatar

@sitesense I have changed the path and I am just installing a local version of Laravel in the Code folder. @Coderooney You have been a absolute star in helping me today.

I can now see the Laravel 5 welcome message :) Thank you soooo very much to @coderooney and @sitesense

sitesense's avatar

@Coderooney - Call the local folder Projects if you like, that's fine, but I wouldn't confuse a beginner by changing the default Homestead Code folder within the VM. Any tutorial/advice followed after that is bound to create issues.

Coderooney's avatar

@sitesense Hrm, that's true. I guess I just noticed that Robert's first example was already working with 'Projects' as his Code folder and 'test' as his project folder, so I thought it'd be easier to wrap his head around language he was already using.

@Robert-Broley Again, no problem at all. I registered because I heard this Laravel community looked out for each other :)

1 like
sitesense's avatar
  • I can now see the Laravel 5 welcome message :)

Great!

Now it's plain sailing. When you come to create a new Laravel app in your local 'Code' folder like laravel new mynewapp just add the mapping to your 'Homestead.yaml' file like this:

sites:
    - map: homestead.app
      to: /home/vagrant/Code/Laravel/public
    - map: mynewapp.app
      to: /home/vagrant/Code/mynewapp/public

Then be sure to add the new entry to your hosts file.

You'll need to serve the new site but cross that bridge when you come to it.

1 like
Coderooney's avatar

Haha I think you're almost forgetting what site you're on! Jeffrey has as free, 27-part, 6-hour series guiding you through all these little things: Laravel 5 Fundamentals Like @sitesense says, there are bridges to cross later, but that series will help you with many of them. Most of the videos here aren't free, so make use of it!

1 like
Robert-Broley's avatar

Thanks again, managed to get MySQL working with WorkBench :)

1 like
Robert-Broley's avatar

I have had to reinstall Windows due to some errors, however I have installed Laravel Homestead but when I visit homestad.app I get the following error:

No input file specified.

I had to manually install PHP I am running version 5.6.11 I have tried various methods and I am able to get it working using php artisan serve

mlops's avatar

its possible homestead auto start with win, automaticly? tnks

Previous

Please or to participate in this conversation.