PDA

View Full Version : [ubuntu] Ubuntu host, xp guest with Apache


sesl
October 19th, 2009, 04:36 PM
I have Ubuntu 8.10 as my main OS. I have Virtualbox installed with XP Pro SP2 as a guest. I have installed Apache 2.2, Mysql, PHP 5 on XP. It all works tickety boo. What I would like to do next is access the localhost on XP from the host Ubuntu. How do I set that up? I think I have to open up a port or 2, but I don't know how to do that.

Thanks in anticipation.

sesl
October 21st, 2009, 06:56 PM
Well, nobody replied, so off I went looking around as you do. And I've sorted it myself. Not from this forum, but from another very helpful straight forward one. So if you want to know how I did it, tough.

n3v3r
November 25th, 2009, 03:57 PM
HI, I'm in a similar situation. I'm using VirtualBox with Ubuntu as the Guest OS and Windows Vista the Host. The network type is NAT.

I have Apache running in the Guest OS at port 80 and able to connect to apache with in the Guest OS. The issue is that I am unable to connect to Apache running in the Guest OS through Host Browser. Can you help!

Cheesemill
November 26th, 2009, 12:44 PM
You need to set up your VM with bridged networking instead of NAT.
This way it will pick up it's own IP address instead of sharing one with the host machine.