Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quickie vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "precise64"
config.vm.box_url = "" :private_network, ip: ""
config.vm.provision :shell, :path => ""
config.vm.synced_folder ".", "/var/www"
Copy link

zendzo commented Mar 5, 2014

i use windows and already following step by step, but when i want to create another domain name like project.local i can't access it.
i only can access ip and localhost:8080

Copy link

xahy commented Sep 25, 2014

You have to edit the hosts file that points your ip to the domain you want to point to.

Copy link

seffw commented Sep 12, 2020

This doesn't work anymore 'failed to connect error'.

Fix seems to be here: hashicorp/vagrant#9897 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment