Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Using ParallellsDesktop6

I'm trying to reproduce a webmaster-server relationship.

My Guest is Debian 6, with apache server

My Host is Mac OsX 10.6

Until now I'm able to see the guest's apache's "It works" page from host's browser.

Just great !

Now I would like to go next step : use the file system from my host, served by the guest. That is actually : the guest apache will serve web pages using files from the host.

One solution I can think of is to copy-paste files from my host to my guest, using the shared folders as a gateway, and that's not really a solution, is it ?

But maybe you guys know a better way ?

Is it possible to make some kind of symbolic link ( but link what? ) or any other stuff that allow to use host's filesystem from inside the guest's filesystem AND without having to move the host's filesystem ?

share|improve this question
add comment

1 Answer

Ok, I did it, here is how :

First go to the menu : Virtual Machine > configure > Options > Sharing Then choose Share Folders: None Click Custom Folders and pick the folder on your host were all websites are located. ( Leave Smart Mount's checkbox checked ). Click Ok.

Now install Parallels Tools ( this step took me along time ).

Last, I used virtualhosts from the guest :

<VirtualHost *:80>
    DocumentRoot /media/psf/mywebsites/irockwheniwant
    ServerName irockwheniwant
</VirtualHost>

And that's it. May the fun begin now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.