This is my favourite method, but I have sometimes received 'Connection refused' messages
I think some DNS servers are having trouble resolving xip.ip URLs, or the domain is blocked
An alternative similar service: nip.io
ipconfig getifaddr en0
Path: ~/.homestead/Homestead.yaml
Example:
- map: website.local
to: /home/vagrant/Code/website
- map: website.192.168.5.42.xip.io
to: /home/vagrant/Code/website
Work in progress:
vi ~/.homestead/Homestead.yaml
:%s/(\d.)*\.xip\.io/192.168.5.42.xip.io/c
192.168.10.10 website.local
192.168.10.10 website.192.168.5.42.xip.io
homestead provision
https://atlas.hashicorp.com/account/new
vagrant login
vagrant global-status
vagrant share {{id}}
May need to be tweaked to listen for incoming URL and route to correct website