Access Virtual Webserver Through the Net?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
SteveThePirate87
Posts: 1
Joined: 18. May 2009, 23:35
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Windows Server 2003, Windows XP

Access Virtual Webserver Through the Net?

Post by SteveThePirate87 »

I've got a website setup in my virtual webserver using server2003 and can access it from my internal network no probs which includes a domain controller server with dns and active directory and so forth. How would i go about setting it up the virtual machines so i could access the site using my host browser not just by ip but by using the www. name i've got set up for it on the dns server.

Thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Access Virtual Webserver Through the Net?

Post by Perryg »

If you have a (Properly configured) DNS server just set it up and point the guests to use that for their DNS.
If you don't want to use a DNS server you can put the information in your guests hosts file <IP-Address> <Friendly Name>
Example: 192.168.0.10 "www.mywebserver.com" (Without the "")
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: Access Virtual Webserver Through the Net?

Post by TerryE »

SteveThePirate87, since you've got A/D on your internal network and I assume that you've got the A/D DNS enabled then if your VM W2K3 is a domain member then it should be accessible as you suggest. I am assuming that you are using a bridged network.
This isn't a VB issue but a straight A/D / DNS configuration issue and if you need help on this then the best place to get this is on an appropriate MS support forum.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply