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 :)

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sarat Chandra 581 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