see similar thread: Azure VMs Virtual Network inter-communication
you will have to configure your own DNS for name resolution.
Question
I have set up file sharing and SQL Server instance connectivity between two VMs (testPC01
, testPC02
) in a Virtual Network on Azure.
The problem is that I cannot connect between these VMs by name (testPC01
, testPC02
), but only by their IP addresses (10.0.0.4
, 10.0.0.5
). I cant even ping the names.
I haven't fiddled with any network settings. These are fresh VMs.
How can I resolve by name and not by IP?
Solution
see similar thread: Azure VMs Virtual Network inter-communication
you will have to configure your own DNS for name resolution.