Based in your homestead.yaml file, your project is located in your ~/Code folder, if you are in Windows just check, C:/Users/YouUser/Code in Linux /home/YouUser/Code. In the virtual machine your code is on: /home/homestead/Code
To use you project, just open the browser and go to homestead.app
Hope it helps, best wishes.
i use linux , virtualbox with ip 10.2.0.15 , homestead as host name
the project of name quickstart located in /home/vagrant/quickstart/public/index.php
/etc/hosts file
10.0.2.15 homestead
Homestead.yaml file
ip: "10.0.2.15" memory: 2048 cpus: 1 provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys: - ~/.ssh/id_rsa
folders: - map: ~/vagrant/quickstart to: /home/vagrant/quickstart
sites: - map: homestead to: /home/vagrant/quickstart/public
now how can i connect to this site http://homestead ?
okay finally fixed by
Vagrantfile : uncomment the following line:
config.vm.network "public_network"
and then run vagrant reload
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community