Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to check if a website is up?

by Abigail-II (Bishop)
on Apr 05, 2004 at 09:10 UTC ( [id://342594]=note: print w/replies, xml ) Need Help??


in reply to How to check if a website is up?

Ping is no help to you. Ping is a networking debugging tool. To check whether a service is running, you will have to actually use the service. Request the page (using your favourite module). And go one step further than what the other replies are saying. Don't just look for a 200 status response. Also look at what you are actually getting is what you think you should be getting. A misconfigured Apache server, or one running on a machine having DNS problems, might serve a default page instead of the (virtual) hosts pages.

Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://342594]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found