Link to home
Start Free TrialLog in
Avatar of DavidO84
DavidO84Flag for Ireland

asked on

How to put a webserver online with VirtualBox Vista Host Ubuntu Server 8.04 Guest?

I have setup Virtual Box on Windows Vista 64bit Host and created a virtual instance of Ubuntu Server 8.04LTS - I have been able to configure the virtual network adapater to communicate with the host-->guest  /guest-->host (through the HOST only adapter). In other word the web server on the Ubuntu guest is accessible from the the browser of the Vista Host and when i type 192.168.0.5 in my host browser i get "It works",

My issue is getting this online, i.e what setting must i change in windows vista 64bit host?

All help appreciated.
Avatar of DavidO84
DavidO84
Flag of Ireland image

ASKER

Other notes: My windows firewall is off, port 80 is configured to be open.
You need to configure virtualbox to forward port 80 of the virtual ubuntu to port 80 of the localhost. since it's an internal adapter, you might be able to write your own route for this in windows, but its not likely. You will either need to configure virtualbox (colinux is another solution that allows for port forwarding in the config file), or you might just need to bridge the connections.

Try looking for a configuration setting, if it doesn't work, bridge the connections, this should show the ubuntu server on the network
Hmm, bridging connections may be a solution, but i seem to lose total internet connectivity when i do this, also i did read that for this to work promiscuous networking had to be enabled on all network adapters on the bridge...does this make sense to you?

Thank you for the quick response, I have spent a few days on this problem and need to resolve it, all works fine with an XP host but when i ad to do it on vista, i met the above problem.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of pointerstop
pointerstop
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That's exactly what i was looking for found similar info here http://tombuntu.com/index.php/2008/12/17/configure-port-forwarding-to-a-virtualbox-guest-os/ - thanks for the help.