I was trying to setup multiple sites on Homestead and a key part of that is adding the new domain in /etc/hosts so it knows to point to Homestead VM. Well, I did that and it worked but the next day it stopped working. After several hours I thought I’d check the /etc/hosts even though I knew it hadn’t been touched since. Long and behold, the newly added domain wasn’t there… so what happened?
I connect to Junos Pulse VPN client and that overrides the /etc/hosts file. You can edit the source pulse hosts file at:
Update your /etc/hosts as well and it shouldn’t get overwritten anymore (assuming the two match).