ignace Posted April 22, 2010 Share Posted April 22, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/199391-windows-server-2008-dns-domain-web-server/ Share on other sites More sharing options...
JonnoTheDev Posted April 22, 2010 Share Posted April 22, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/199391-windows-server-2008-dns-domain-web-server/#findComment-1046441 Share on other sites More sharing options...
ignace Posted April 23, 2010 Author Share Posted April 23, 2010 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? Quote Link to comment https://forums.phpfreaks.com/topic/199391-windows-server-2008-dns-domain-web-server/#findComment-1046931 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.