Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning to Vagrantfile for vm.host_name #72

Open
dkingofpa opened this issue Dec 13, 2012 · 0 comments
Open

Add warning to Vagrantfile for vm.host_name #72

dkingofpa opened this issue Dec 13, 2012 · 0 comments
Assignees

Comments

@dkingofpa
Copy link

When setting config.vm.host_name in the Vagrantfile, there are certain characters that won't work. Add a short warning reminding the user of this potential gotcha. Perhaps it is just sub-domains that aren't allowed due to the VirtualBox, Vagrant, networking setup, et. al. components of our dev environment. In any case, here's an explanation of valid characters: http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names

For example, we'll be unable to resolve the url if we use a . in the host_name.

Bad host_name: test.example results in http://test.example.local being unresolvable.

Good host_name: test-example results in http://test-example.local being resolvable.

@ghost ghost assigned dkingofpa Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant