Setting up virtualbox for outside access
- by Morgan Green
I have a computer running a server that my subdomain on my shared hosting account points to. IE subdomain.mydomain.org goes to my home server. Now then; what I'm wanting to do is be able to access my VirtualBox servers through that subdomain and a different port.
E.G
Ubuntu Virtual Box Server 1
Username:Ubuntuhost1
Password:MyUbuntuHost1
Port:4000
Internal IP: 192.168.1.60
External IP: 24.29.138.45
Ubuntu Virtual Box Server 2
Username:UbuntuHost2
Password:MyUbuntuHost2
Port:4001
Internal IP: 192.168.1.61
External IP: 24.29.138.45
Now I want to be able to access RDP number 1 through Port 4000, but if I access Port 4001 it will connect to the server on port 4001; both using the same subdomain.
The next issue is the fact that even though I know what the IP addresses are on the router for the virtualbox hosts through ifconfig it doesn't change the fact that they don't show up on the router.
If anyone knows how to configure this to work please help me out because I've been racking my brain to the highest extent I can.
Alright; here's an edit to clarify more; Sorry.
My ports on the router are edited to forward Port 4000 on Internal IP 192.168.1.63 (My Ubuntu Internal IP address)
Now when I go to my Router Home Page my VirtualBox Internal IP Address doesn't show on the attached device listings, so I set up port forwarding anyways to the VirtualBox Internal IP. My end goal is when I connect to mydomain.org and I connect through port 3389 it takes me to my host computers server, but if I put in mydomain.org and go through port 4000 it's going to redirect to my VirtualBox server; Is this even possible?
Sorry; I'm trying to clarify the most I think I can I just don't know how else to explain my issue.