Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was having issues getting XAMPP to run for users other than admin per this thread. Trying to figure out a solution I had an idea and was curious to know how to make it work. I installed Virtualbox with Ubuntu 12.10. I was able to install and run LAMP successfully. Now in virtual, localhost works and references that particular test environment. If I access localhost on the Windows side I can get XAMPP to work in localhost (admin only). How would I be able to get access to the virtual environment from the Windows side per browser or IP?

share|improve this question

In network settings of Virtual Machine use NAT. Restart it. Then on your windows browser try accessing ubuntu's ip.

share|improve this answer
would that IP still be accessible across the LAN? – Darth_Vader Mar 14 '13 at 13:29
no. only via the same host. – Jigar Mar 15 '13 at 7:09
Use bridge network to share the VM in LAN. You will have to configure a static IP. So it doesn't change. – Jigar Mar 15 '13 at 7:13
that doesnt work and disables all internet access in virtual. – Darth_Vader Mar 15 '13 at 13:07

Your Answer


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.