lse123
4 months ago
393
2
Laravel

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

Posted 4 months ago by lse123

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

Please sign in or create an account to participate in this conversation.