So you have embarked on your journey on Microsoft Azure Network and have set up multiple virtual machines. Though it is easy to install virtual machines, sometimes new Azure users find it difficult to interconnect two or more virtual machines together.
Consider a simple scenario with multiple virtual machines, where one works as a web server and the other as an SQL server, how would you connect both? Here are a few ways to achieve this.
However, using this way the virtual machines will be able to connect with each other by IP Addresses but not directly by name. So, if you want to connect your Website (on VM1) to SQL Server (on VM2), you have to address it by full IP Address, not machine name.
To achieve this type of communication and accessibility, you need to add name resolution services to your network. This can be done by;