Hi Darshan,
I'm sorry to hear about the difficulty you're facing. Let's troubleshoot step by step:
NSG Rules:
- Ensure that your Network Security Group (NSG) rules are correctly associated with either the subnet or the Network Interface Card (NIC) tied to your VM.
- Confirm that the priority of the NSG rules for ports 80 and 443 isn't being overridden by another rule with a higher priority (lower number indicates higher priority).
- While adding inbound rules allows incoming traffic, you also need to ensure that outbound rules allow traffic to the internet or the specific domain.
Virtual Network Configuration:
- If your VM is inside a Virtual Network (VNet), ensure there's no NSG at the subnet or VNet level blocking outgoing traffic to the internet or the specific website.
- Ensure that the VM's VNet has a proper route to the internet. By default, Azure provides a system route for 0.0.0.0/0 that points to the 'Internet' next hop type. If you have custom route tables, ensure they're not obstructing the default behavior.
VM Firewall:
- Windows VM: Inside the VM, check the Windows Firewall settings. Ensure that it's not blocking outgoing requests to ports 80 and 443.
- Linux VM: If it's a Linux-based VM, check any active firewalls (e.g., UFW, firewalld) to ensure they're not blocking the required ports.
DNS Resolution:
- Check if the VM can resolve the domain name. Use commands like
nslookup finvatech.com
orping finvatech.com
. - If the VM can't resolve the domain, ensure that it's using a functional DNS server. By default, Azure VMs use Azure's DNS services, but if you've customized DNS settings, this could be a potential area of concern.
Host File:
- For Windows VMs, check
C:\Windows\System32\drivers\etc\hosts
and for Linux VMs, check/etc/hosts
to see if there are any manual entries forfinvatech.com
that might be causing an issue.
Browser/HTTP Client:
- If you're using a web browser to access the website, try using a different browser or a simple HTTP client like
curl
(on Linux) to rule out browser-specific issues.
Testing from Another Network:
- Try accessing
finvatech.com
from another VM or machine outside of Azure to determine if the issue is Azure-specific or a broader issue with the website's accessibility.
Application Gateway/Web Application Firewall (WAF):
- If you have Azure Application Gateway or any other Web Application Firewall (WAF) in place, ensure it's not blocking access to the domain.
After running through these steps, you should hopefully either identify the issue or narrow down the potential causes.