Working with vm’s makes everything simpler and easier. Easy to reproduce bugs, easy to reproduce features between environments and, most importantly, between developers.
I am using a solution of vbox (virtual box) and shared folders in our windows work environment (yes, unfortunatelly, but the IT team is in his right to decide which machines we have to use).
If you try to mount a shared folder in centos, runing under a virtual box, you'll probably have problems trying to fix this directory, mounting automatically each time the system reboots.
In any other distribution, like ubuntu, you just have to go to your /etc/fstab and add this line:
varhtml /var/www/html vboxsf defaults 0 0
The problem is centos is that when the system arrives to this line, the vboxsf module has not been loaded yet.