Hi everyone
I like yo use one virtual machine, and have al my projects using virtual hosts.
Each time I create a new project, I hace to ssh into the virtual machine, go to /etc/apache2/sites-enabled and create a new site.conf with the <VirtualHost *:80> declaration inside.
To avoid having to login with ssh and all that process, i thought a goog idea would be to add a shared/synced to .../sites-enabled so I can easily create the .conf file from my host computer using my text editor of preference. However, the problem is that Vagrant uses my host machine folder as the model folder, and because it is empty (ini the beginning of the vagrant machine creation) /sites-enabled folder in the vm ends up empty. The problem is, inside /sites-enabled exists the 000-default.conf file which holds important information about apache conf, which I obviously need to keep.
I think the question here would be, how do I tell vagrant to merge the synced folders, instead of making a clone of the host machine folder, so that way I don't lost 000-default.conf file.