deepu07
121
1
Laravel

Laravel-homestead

Posted 10 months ago by deepu07

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 sign in or create an account to participate in this conversation.