Answer the question
In order to leave comments, you need to log in
How to use webserver in virtualbox for local development?
People, help... I want to write sites on a local web server, but what would the web server be running on the guest machine in vbox, and the development itself was carried out on the host machine (thought it would be convenient). To this end, I installed debian on vbox, installed apache2 in the same place - everything starts up normally, but how can I make my folder on the host synchronize with the /var/www/ folder on the guest machine, where the sites should actually be ???
Answer the question
In order to leave comments, you need to log in
Everything is simple. Install Guest additions in the virtual machine and forward any folder to /var/www and voila.
It is described in more detail here:
https://www.virtualbox.org/manual/ch04.html
Or configure Apache so that it looks in /share/something
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question