0
votes

I have a website hosted on 2 Azure VMs (Web Server: IIS, OS: Win 2016, Port: 80) Both the VMs are a part of the same availability set and subnet. And these VMs are added to the backend pool of the Azure Public LB. Inbound NAT rules of the Azure LB are configured to redirect traffic received on Port:80 to the target VMs. NSG of the VM's subnet already have default rule "AllowAzureLoadBalancerInBound"

  1. Is this one of the right configurations to access websites hosted on Azure VMs from outside without adding a public IP for the VMs?
  2. What is the "None" setting for the target virtual machine configuration meant?

I am able to access the sites hosted on both the VMs from a different VM within the same VNet using private IPs of VMs. But I am not able to access the sites using the public IP address of the Azure LB. Error: "The site can't be reached"

Can someone help me with this, please?