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.

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

1 Answer 1

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? –  Matt 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. –  Matt Mar 15 '13 at 13:07

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.