I would like to be able to create a new website (ideally with PHP or similar) where I can enter a URL (usually the root address - i.e. http://www.website.com
) and I would like to see if a page is returned on that URL. All I need to really know is that a page exists - I suppose I am just looking for an HTTP response of 200?
Can this be done. I would like a page to list a number of URL and have a green mark by them if a 200 OK HTTP response is received and an Amber Mark next to it should anything else in the HTTP response be received. I would like to check pages are being served (not that they are working correctly or anything like that just that the page is being served from the server).
Is this something relatively easy that can be done and is the best thing to look for in this instance. Any other recommendations or approaches to this would be welcome.