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.

Here is what I have:

  • Ubuntu 10.10 (host) with Apache
  • Windows XP SP3 (virtual machine)

I want, from the VM, acess the host apache to test some local sites in Internet Explorer.

What should I do?

share|improve this question

migrated from serverfault.com Mar 16 '11 at 14:18

This question came from our site for professional system and network administrators.

1 Answer 1

up vote 1 down vote accepted

Set up Host Only networking between the Host and the VM (how you do this depends on which VM system you use.) The VM system should provide a built-in DHCP server to allocate an IP address to the guest operating system. You should then be able to browse to the IP address of the host's end of the virtual network link.

For accessing hosts with apache's VirtualHost directive you will either need some form of DNS server which will provide the guest OS with the correct IP address, or add the site names to the C:\Windows\System32\drivers\etc\hosts file - then you can surf by using the domain name.

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.