Created an IIS website on Azure virtual machine. I can ping the DNS name/binding but when using browser get following errors
Chrome browser: This site can’t be reached
Edge browser: Hmm, we can’t reach this page.
Internet Explorer: This page can’t be displayed.
To fix this issue, you must allow HTTP (and HTTPS if necessary) in the “Network Security Group” for your VM in the Azure management portal.
Go to Azure portal, select the network security group for your vm and add new “inbound security rules” for http and https.