views:

131

answers:

1

I have MAMP server and several test sites installed on my OSX 10.6.3. I just installed Windows 7 on a VirtualBox virtual machine. I have managed to successfully share folders to the Windows installation, but I am wondering if I can run my MAMP sites in Windows without installing a different Localhost there.

Does anyone know if this is possible? It would be very convenient if I could test my sites in both operating systems all hosted from a single location.

Thanks

A: 

Try the accepted solution here http://superuser.com/questions/144453/virtualbox-guest-os-accessing-local-server-on-host-os. Hope this helps!

HD
I'm not sure, but I think this is he opposite of what I need. Is that IP (which I'm not sure how to find) that of Windows, to be accessed by OSX? or of OSX to be accessed by Windows?Anyway, I don't need an IP for the entire system (I have already successfully shared files), but just my MAMP Localhost.What I need to do is, just like I do in OSX, point my browser to my localhost, and test my local sites. In Windows I want to, similarly, point Internet Explorer to the same Localhost sites as are on OSX.Thanks for the answer though.
Logic Artist
I should add, I would like to be able to use the same Apache server as my MAMP host.
Logic Artist
Okay re-read your post. Just to clarify you want to be able to access MAMP (Running on Mac) on Windows 7 without using a local ip address.
HD
Yes thats right. I can access the local IP of my computer, but there are a couple problems with that. It defeats the purpose of having the site LOCALLY by accessing it this way, and if the IP address changes the sites will be at a different location. Also, as I said, my Mac is specially configured to have several root sites, which Windows cannot recognize anyway when accessing via IP.
Logic Artist
Okay edited the answer. This should work.
HD
Yeah I looked at the solution, but again not quite what I need. Since I have set up several testing sites (not at localhost, but at http://01.dev, http://02.dev, etc), I still cannot access them.Thanks again for you suggestions.
Logic Artist
What about trying host only, as opposed to NAT. Sorry that this is taking so long. :(
HD