Skip to content

Instantly share code, notes, and snippets.

Embed
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!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.33.21"
config.vm.provision :shell, :path => "install.sh"
config.vm.synced_folder ".", "/var/www"
end
@zendzo

This comment has been minimized.

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

@xahy

This comment has been minimized.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.