roy_batty
asked on
Removing old DNS zone after renaming my Windows 2012 R2 domain
I have set up a virtual lab of windows server 2012 and windows 8 clients.
Unfortunately I took a wrong turn right at the start of setting this up. I chose an internal domain name that matched my external domain name. So my external website is www.mydomain.co.uk and my internal AD domain is mydomain.co.uk.
The problem is that I cannot access my website from the internal client PCs and servers. I'm presuming this is because I have a matching zone internally.
I also presume I could add a new A Record to my internal DNS zone (www) pointing to my websites IP address.
However I decided that I should try to rename my domain to ad.mydomain.co.uk.
I followed this guide, which seem to be successful at every step.
https://mizitechinfo.wordpress.com/2013/06/10/simple-guide-how-to-rename-domain-name-in-windows-server-2012/
I now have a renamed domain but still cannot access my website. Im guessing that this is because the old zone still exists in DNS.
If I delete that zone I can then access my website but I then start to have problems adding client PCs to the newly named domain.
Unfortunately I took a wrong turn right at the start of setting this up. I chose an internal domain name that matched my external domain name. So my external website is www.mydomain.co.uk and my internal AD domain is mydomain.co.uk.
The problem is that I cannot access my website from the internal client PCs and servers. I'm presuming this is because I have a matching zone internally.
I also presume I could add a new A Record to my internal DNS zone (www) pointing to my websites IP address.
However I decided that I should try to rename my domain to ad.mydomain.co.uk.
I followed this guide, which seem to be successful at every step.
https://mizitechinfo.wordpress.com/2013/06/10/simple-guide-how-to-rename-domain-name-in-windows-server-2012/
I now have a renamed domain but still cannot access my website. Im guessing that this is because the old zone still exists in DNS.
If I delete that zone I can then access my website but I then start to have problems adding client PCs to the newly named domain.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
None that aren't as complicated as creating a www record and would still require maintenance. T'is the drawback of a shared namespace. Always better to use a unique namespace for AD, whether that is my-ad.company.com or internal.company.com or company.local.....there are drawbacks to all of those approaches, but in my opinion they are better than a shared namespace across the board.
ASKER
Ok I'm going to start again with this lab project, this time starting with a workable domain name. Lesson learned.
Thank you for the help.
Thank you for the help.
ASKER
This whole renaming process was prompted by the problem of accessing my website. Is there a simple way of resolving that other than adding a www host entry. Can I somehow tell my DNS to always forward requests for www.mydomain.co.uk?