Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I'm doing development using XAMPP on OSX Snow Leopard. For Windows IE testing I want to use Virtual Box. How can I configure Virtual Box to let me access my local machine and various Apache vhosts?

I run my XAMPP test sites on port 8888. Hopefully this does not make things more complex.

share|improve this question

1 Answer 1

Easiest way would be

use bridged networking on the vbox

edit your xp hosts file : windows/system32/drivers/hosts

the file should be setup to point the domains of you vhosts to your Apple Macs ip address.

eg:

192.168.0.2 vdomain.co.uk 

Then you can point your xp machines web browser to vdomain.co.uk:8080/ and browse as normal

share|improve this answer

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.