Jump to content

Recommended Posts

I have Windows Server 2008 Enterprise running on my Virtual Machine for educational purposes and now I would want to create a sample domain (example: domain.top). So whenever I type in www.domain.top it loads a local website.

 

Whenever I search Google I get results either for configuring the DNS or setting up WAMP never both anyone got a good resource that walks you through doing all the above? Or explain it in short?

 

I am using VirtualBox which setting should I use for my Network Adapter so that it doesn't modify anything in my current network but allows Internet access?

I dont know if this is possible as a virtual machine is not a true pc. You see in a network with a Windows server you would configure the DNS server via the services controls to resolve the domain name that you want to use to your local servers IP i.e 192.168.x.x = domain.top or domain.local. All the machines on the network would have their IP settings the same so that they get DNS information from the Windows server i.e Primary DNS 192.168.x.x. When they browse for www.domain.top the DNS server resolves the domain to its own IP. This is what you would do for lets say a local Intranet.

If the virtual machine can have its own IP that is not the same as your own PC, then you will not be pointing your IP settings to it as a DNS server for obvious reasons, however you could add manual entries in your PC's hosts file.

Ok I've got it up and running and I can access http://mijn-domein.lok/phpinfo.php but when I try http://www.mijn-domein.lok/phpinfo.php it fails. I have added the www CNAME record in the Forward Lookup Zone but still nothing. Any ideas? It also has DomainDnsZones and ForestDnsZones should it go in there?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.