Set up Automatic Virtual Hosts with Nginx and Apache

Not as useful when working with virtual machines and such tools as Vagrant. You can use this as template config for all VMs, but still need to update hosts file at host OS with VM IP.