Posts tagged Vagrant
Developing robust software requires an accurate testing and staging environment. Vagrant provides just that. It lets you mimic your production server map on your computer.
First, stop Apache. Apache listens on port 80. If it's running, Vagrant won't be able to bind a VM to listen on port 80.
Then, just add a forwarded port to your
config.vm.network "forwarded_port", guest: 80, host: 80
And boot up Vagrant as
sudo vagrant up