aryowirastomo's avatar

Vagrant - Cannot mapping another folder

HEllo all,

I try to use Vagrant but while i start to make the third app, it's map to my first app. Below is part of my homestead.yaml


ip: "192.168.27.84" memory: 2048 cpus: 1 provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys: - ~/.ssh/id_rsa

folders: - map: ~/Sites/sites/compro to: /home/vagrant/compro type: "nfs" - map: ~/Sites/sites/resume to: /home/vagrant/resume type: "nfs" - map: ~/Sites/sites/company to: /home/vagrant/company type: "nfs" sites: - map: compro.app to: /home/vagrant/compro/public - map: resume.app to: /home/vagrant/resume/public - map: company.app to: /home/vagrant/company/public databases: - compro - resume - company

and below is my /etc/hosts file

127.0.0.1 localhost 255.255.255.255 broadcasthost 192.168.27.84 compro.app 192.168.27.84 resume.app
192.168.27.84 company.app ::1 localhost

My new app is company.app and while i do up my vagrant and got to campany.app at my browser it's refer to compro.app. Can anyone give me a clue to solve this?

0 likes
2 replies
bobbybouwmann's avatar
Level 88

Did you provision the virtual box? For homestead is that homestead provision or homestead up --provision.

aryowirastomo's avatar

I have try to execute that command, but it's still not solve the problem.

I get this ERR_ICANN_NAME_COLLISION on my browser

I have see your answer at another thread, but i'm still do not know how to solve it.

Thanks Bobby for answering my question

Please or to participate in this conversation.