I added a new child domain to active directory. Built a new Server 2008 R2 machine, added the domain controller role and selected add new child domain to existing forest.
When I run setup /preparedomain to add exchange objects to the new child domain I get the message "Domain cannot be contacted or does not exist". DC is running and on the network. I can connect to the new DC and child domain using Active Directory Users and Computers.
This may have been caused by me changing the server hostname after adding the DC role. In Active directory sites and services the server is listed under the old name.
Is there a way to re-register the DC under the new name and ensure the proper links are in place. If I remove the DC role then re-add it would it delete the child domain? There are no other DC's in the child domain.