Azure – unable to join server to existing domain in azure within virtual network

active-directoryazuredomain-controller

I have created a Virtual Network on Azure and have created two VM's within the Virtual network, with IP's 10.0.0.4 and 10.0.0.5. I have added Active Directory role to a one of the VM's and promoted it to Domain Controller role. I am trying to the other VM to the existing domain (mydomain.com) but I get an error stating that the "AD Domain Controller could not be contacted". What may be the cause of this? I checked that the Gateway and Subnet mask of the two servers match.

Best Answer

It sounds like your DNS configuration is the problem.

On the DC use the DC's actual ip address as the preferred DNS server and use 127.0.0.1 as the secondary DNS server. On the client use the DC's actual ip address as the primary DNS server and leave the secondary DNS server blank.

Related Topic