For some reason, yet unknown to me - I can't reach the website using homestead. Unless I use http:/localhost:8000 So it seams to be something with hosts and/or Homestead.yaml.
The /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
192.168.10.10 website1.dev
192.168.10.10 website2.dev
# End of file
Homestead.yaml
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/projects/php
to: /home/vagrant/Code
sites:
- map: website1.dev
to: /home/vagrant/Code/website1/public
- map: website2.dev
to: /home/vagrant/Code/website2/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
Can somebody tell me, what is wrong? It syncs fine
Solved! turns out, that I needed to install net-tools : https://bbs.archlinux.org/viewtopic.php?pid=1178607#p1178607
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community