This is a customized version of Scotch Box. It utilizes a custom mount point, provisioning files, and mulitple virtual hosts files to enable mutliple development websites to exist within a single dev environment.
NOTE: The IP address of this box is 192.168.33.11 (not 192.168.33.10)
/Documents/htdocs/
/websites
/website_one
/website_two
/vagrant_vm
/scotch_vagrant_box
Vagrantfile
/provisioning
/website_one.dev.conf
/website_two.dev.conf
/another_vagrant_box
- Place website directories inside your Documents/htdocs/websites folder
- Create Apache Virtual Hosts Files under the provisioning folder - website_name_dev.conf
- Update your /etc/hosts file on local machine:
192.168.33.11 website_name_one.dev website_name_one.dev
You can also load a database on "vagrant up". Simple put a copy of your DATABASE.sql inside provisioning/databases/ folder.