not able to ping server or but can RDP
It is possible the local machine is blocking the ICMP response (though this would be particularly unusual) as well as the web content.
Try pinging and opening the web site from a different machine.
For IIS specifically, on the server in the IIS Manager, restart the web site to reset sockets. You can also restart the Windows Firewall service on the server to ensure it parses open/closed/limited IP/ports correctly.
In my case, I can RDP to my server in LAN, but just failed to ping or access MS SQL Server. Finally I checked firewall setting, it was turned on. Once I turned it off, everything back to normal. Hope this helps.