How to change xampp apache htdocs directory to access localh

I have a vbox with Ubuntu 18.04 and Lampp. My host machine is Windows 10 (has WAMPP). I have a shared file between the host and the guest in D:\vBoxShare. I want to make a file like htdocs in D:\vBoxShare that will be the "htdocs" for both LAMPP (guest) and WAMPP (host). This way i will not need to be always copying from one to another.
How can i achieve this?
How can i achieve this?