Webserver in VB guest on WinXP

Discussions related to using VirtualBox on Windows hosts.
Post Reply
stegro
Posts: 1
Joined: 31. Dec 2008, 11:49

Webserver in VB guest on WinXP

Post by stegro »

Hi all,

I am quite new to VB but I think I made some progess in using this nice software.

I have just installed an apache webserver on a debian linux as a guest system on my WinXP host. I am using ispCP to configure my apache webserver.

Everthing is working nice on my host and guest system. I can configure my webservers completly using the webinterface. I can also connect from my host system to the different webservers I created on my linux guest. I just added the server names of the webservers in my hosts file WinXP.

I am connected to the internet by a small router (ZyWall 2). Now I want to be able to connect to my webservers on my linux guest from outside (Internet).

My system is configured like this:
Router (Gateway): XXX.XXX.XXX.1
Host: XXX.XXX.XXX.64
Guest: XXX.XXX.XXX.80
Netmask: 255.255.255.0

I am uing the free DynDNS service (configured on my ZyWall 2 Router) to update my temp IP address.

Is it possible to configure my network (router/host/guest system) that I can connect at least to one of my webservers on the guest machine?

I have some basic knowledge if TCP/IP od course. I would be glad for any kind of support. Thanks a lot!

Regards

Stefan

PS: Please excuse my bad English ...
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Post by vbox4me2 »

Port forwarding, port routing or whatever it is called in your router and Bob is your uncle :lol:

Ie.
Router: port 88 -> IP_FROM_VB_HOST:1088
VB_HOST: port forward local 1088 -> VM:80

Access webserver inside VM from OUTSIDE:88
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It looks like you use Host Interface Networking. See www.port-forward.com for more info how to forward ports on your router. We won't discuss it here, as it's outside the scope of this forum.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply