can rdp with IP not with hostname

Eric Gako 1 Reputation point
2021-08-28T01:06:24.29+00:00

I restore a vm from backup in azure to new vm. I notice it has the same hostname. I renamed the new VM to a different one, I joined the server to the domain. but when I RDP, I can only RDP using IP not with hostnames.

Please help :)

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sarat Chandra 601 Reputation points
    2021-08-28T01:47:38.687+00:00

    Hi Eric,

    Look like DNS server is not updated with resource records of your VM however can you please try following commands

    a)ipconfig /flushdns b)ipconfig /registerdns.

    It will take 15-20 mins or so to register that your VM resource records with DNS.

    Hope it helps,

    Thanks & Regards,
    Sarat Chandra

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.