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.
LVL 1
roy_battyDirectorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
If this is a lab, why not just rebuild it? Renaming domains almost never goes well. In the rare case where this needs to happen in production, it is far better to use tools like ADMT to actually migrate objects to a clean AD infrastructure.  There are just too many places where, once coded, a domain name is tattooed and doesn't change even with domain rename tools and techniques.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
roy_battyDirectorAuthor Commented:
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?
0
Cliff GaliherCommented:
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.
0
roy_battyDirectorAuthor Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.