Level 67
Try naming the one with a dash to something different. That's going to be confusing anyway.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey Folks, Im new to homestead. I'm struggling with creating two laravel projects in homestead. Can anyone help me on this? here is my config code:
#YAML file (I have two laravel projects in Sites foldes.)
`folders:
- map: ~/Development/sites/Laravue
to: /home/vagrant/sites/Laravue
- map: ~/Development/sites/Lara-vue
to: /home/vagrant/sites/Lara-vue
sites:
- map: Laravue.test
to: /home/vagrant/sites/Laravue/public
- map: Lara-vue.test
to: /home/vagrant/sites/Lara-vue/public'
#here is my hosts file
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.168.10.10 Laravue.test
192.168.10.10 Lara-vue.test
I'm getting one project for two URLs (Laravue.test and Lara-vue.test both are routing to same project)
Anyone have any idea why it is loading one project. Thanks in advance
Please or to participate in this conversation.