Hi Nitesh Ghadge,Greetings,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
It sounds like you're having trouble accessing your new Azure VM, which is bound to a GoDaddy domain as a subdomain. You've confirmed that port 80 and HTTPS (likely port 443) are open, and IIS is running on the VM. Here are a few things you can check and steps you can take to resolve the issue:
- Ensure that you need to test Ping and tracert from that VM to the public IP whether the connection is established or not.
- Please check that it works without a domain name and is accessible from the public IP address from Internet.
1.Ensure that the GoDaddy domain (subdomain) is properly pointing to the public IP address of your Azure VM. You should have an A record or CNAME set up on GoDaddy.
- A Record: This should point to the external IP of the Azure VM.
- CNAME Record: If you're pointing to another domain, ensure it's set correctly.
You can check the DNS propagation using online tools like whatsmydns.net to verify the DNS is pointing to the correct IP.
2.Ensure that your Azure VM's Network Security Group (NSG) allows inbound traffic on ports 80 (HTTP) and 443 (HTTPS).
- Navigate to your VM in the Azure portal.
- Under "Settings," go to Networking.
- Ensure that your NSG allows traffic on these ports.
- If necessary, create a rule allowing inbound traffic from any source (
0.0.0.0/0
) on ports 80 and 443.
Azure by default denies and blocks all public inbound traffic to an Azure virtual machine, and also includes ICMP traffic. This is a good thing since it improves security by reducing the attack surfaces.
However, if you need to access your application from a public IP address, you will need to allow the specific ports and protocols.
Hope this clarifies,
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.
Looking forward to your response and appreciate your time on this.
Regards,
Ganesh