You can ping a web server and determine if it’s “alive” by the ICMP response. However, it doesn’t tell you if the sites running on the web server are actually serving data.
Here is one way to do it with PowerShell:
If you have multiple sites to check, you can do that too:
You can schedule the script to run regularly and send you an email when the site fails to respond.