Support the ongoing development of Laravel.io →
Homestead Installation Laravel

I added a Site in Homestead/Vagrant/VirtualBox/Laravel 8.x

https://laravel.com/docs/8.x/homestead#adding-additional-sites

edited hosts file Win10

with composer 2.x command - first vagrant up vagrant ssh I have updated the composer after composer create-project laravel/laravel cars-paphos-city

homestead. - map: ../../Laravel/code/cars-paphos-city to: /home/vagrant/cars-paphos-city

- map: cars-paphos-city.test
  to: /home/vagrant/cars-paphos-city

When startup Server, this works: http://cars-paphos-city.test/public/ but the folder here in the local machine Windows 10 is empty... what to do? D:\htdocs_xampp\Laravel\code\cars-paphos-city
vs vagrant ssh vagrant@homestead:/cars-paphos-city$ ls app bootstrap composer.lock database phpunit.xml README.md routes storage vendor artisan composer.json config package.json public resources server.php tests webpack.mix.js vagrant@homestead:/cars-paphos-city$

Last updated 3 years ago.

lse123 liked this thread

1

When startup Homestead VM/Server, this works:

http://cars-paphos-city.test/public/

and when vagrant ssh - I see /home/vagrant/cars-paphos-city/ contents

but the folder here

../../Laravel/code/cars-paphos-city/

in the local machine Windows, 10 is empty... what to do?

lse123 liked this reply

1

can you reply, why exist folder in Vagrant/Homestead of Laravel 8.x - but Not exist locally in Windows 10...? Upon start vagrant up - domain working, but seeing nothing locally - Windows 10 - development folder???

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2025 Laravel.io - All rights reserved.