I need to migrate a domain controller(windows server 2012 r2) to new hardware but I need it to have the same hostname since several dev systems and scripts are pointed towards the hostname by necessity.
Best practice seems to be install a new server with a new hostname, promote it to domain controller then transfer all roles and such to that server from the old one and then demote the old one but that would leave me stuck with the wrong hostname.
We have two domain controllers DC01 and DC02, it is DC01 that i need to migrate to new hardware so how do I go about this the best way?
The roles/features running on DC01 are AD DS, DHCP, DNS, NAP, WDS and IIS.