Reputation: 328
Scenario
I have a vagrant box:
...
config.vm.box = "boxname"
config.vm.hostname = "boxnameVM"
config.vm.network :private_network, ip: "192.168.33.44"
# Configure A Few VirtualBox Settings
config.vm.provider "virtualbox" do |vb|
vb.name = "boxnameVM"
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "1"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--ostype", "Debian_64"]
end
...
I have domain(s) setup on my hosts /etc/hosts
file:
192.168.33.44 website.local
I have a Windows/IE VM from http://modern.ie
Problem
I can't seem to access http://website.local from within the Windows/IE VM.
Can anyone help?
Upvotes: 0
Views: 472