Link to home
Start Free TrialLog in
Avatar of roy_batty
roy_battyFlag for United Kingdom of Great Britain and Northern Ireland

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.
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of roy_batty

ASKER

Well I thought I would give it a try - that's what a lab is about after all. I beginning to think that I might start again with the domain.

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?
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.
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.