Posts tagged Vagrant

Vagrant cheat sheet

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.


How to bind Vagrant to port 80 on OS X

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 Vagrantfile: "forwarded_port", guest: 80, host: 80

And boot up Vagrant as sudo:

sudo vagrant up