Desktop
Desktop copied to clipboard
Cannot change host
- I created a new site with name "jacksoncollege".
- The host was automatically set to
vagrant.local
. I thought this a bit odd. I would have rather it bejacksoncollege.local
orjacksoncollege.dev
. - I went to settings for the box, changed "Hosts:" to
jacksoncollege.dev
. I hit "Done" to save. - Hit "Open" but get "Site cannot be reached".
- So I go back to settings, verify new host is still present, and hit "Refresh Details". Same problem.
- I then totally shut down and restart the box. Same problem.
Follow up: I made 2 more testing sites, just curious to see if they all would get vagrant.local
. They do. This can't be right :P
This should definitely be clearer in the UI.
I went to settings for the box, changed "Hosts:" to
jacksoncollege.dev
. I hit "Done" to save. Hit "Open" but get "Site cannot be reached".
For automatic host resolution to work, you have to use <name>.local
. Any other TLD will require manually adding to your /etc/hosts
. We should warn in the UI if you attempt to set this.
Follow up: I made 2 more testing sites, just curious to see if they all would get vagrant.local. They do. This can't be right :P
This is right; so long as they aren't running at the same time, there's no issue (I have about 10 boxes all using vagrant.local
, but I only run one at a time, so it's not an issue). We should warn in the UI if you try to launch a box using the same hostname as an existing one.