Page 1 of 1

share 'www' folder CentOS

Posted: 13. Feb 2014, 23:03
by gianis6
Hello everyone,

I did some research before posting but I did not find the solution.
I have a CentOS Virtual Machine running on Mac OSx Host.
I managed to share a folder stored on the OSx with the CentOS guest. Now I would like to do the opposite, I would like to share the '/var/www/' folder stored on the CentOS guest with the OSx host.

Anyone can give me some suggestions?
Thanks in advance.

Re: share 'www' folder CentOS

Posted: 13. Feb 2014, 23:33
by noteirak
You did not find a solution because this is solved the exact same way you would solve it in hardware, and is not in scope of Virtualbox. You just need to use the appropriate network mode : Host-Only or Bridged.
If you used the shared folders features of Virtualbox, this is only one way (to share a specific folder). You need to fall back on regular network shares (NFS or CIFS).