To use domain credentials to connect to the EC2 Windows instance, take the following actions:
Make sure that you used the correct credentials.
Verify that the instance can reach a DNS server that hosts the domain's DNS zone, or can resolve DNS names in that domain. For more information, see Procedure: verify DNS resolution on the Microsoft website.