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

lse123's avatar

AFAYK I have to modify Virtual hosts PHP configuration files...on the homestead server

https://laravel.com/docs/7.x/homestead

I want to create a second Laravel App, but after doing the required procedure the second URL point to the first app and Not to the second folder well? Also, only the first folder shared to my windows 10 (share with VM - host Win 10 Pro on VirtualBox) - I do not see the second folder/app... well?

http://homestead.test/ # first http://homestead2.test/ # second

AFAYK I have to modify Virtual hosts PHP configuration files...on the homestead server for the second App? [ FYI I applied in host file win 10 pro the IP homestead2.test ]

but Not working...well?

Homestead.yaml

ip: "192.168.30.10" memory: 2048 cpus: 2 provider: virtualbox

authorize: C:/Users/lwdls/.ssh/id_rsa.pub

keys: - C:/Users/lwdls/.ssh/id_rsa

folders: - map: ../code/project1 to: /home/vagrant/project1 - map: ../code/MyApp to: /home/vagrant/MyApp

sites: - map: homestead.test to: /home/vagrant/project1/public - map: homestead2.test to: /home/vagrant/MyApp/public

databases: - homestead

0 likes
2 replies
lse123's avatar

Problem Solved

After you have updated the aliases file, you should re-provision the Homestead machine using the

vagrant reload --provision

command. This will ensure that your new aliases are available on the machine.

Please or to participate in this conversation.