Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9169015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:46:13+00:00 2026-06-17T15:46:13+00:00

I know this is an open ended question, but hopefully it will get some

  • 0

I know this is an open ended question, but hopefully it will get some good answers before the thread is locked…

I’m wondering what methods there are to programmatically check (language agnostic) if a website is online from a client perspective (assume you can’t make changes to the site/server, but you can rely on certain behaviours of the site.)

The result of each method could stack to provide a measure of certainty that the site is up/down – that is, a method does not have to provide a definite indication if the site is up/down on its own.

Some common tests just to check ‘upness’ may be:

  • Ping the site (which in the case of shared hosting isn’t very
    indicative)
  • Send a http head/get request and check the status

Others I can think of to check that the site is up and functioning:

  • Check you received a well formed html response i.e. html to html
    tags, if the site is experiencing trouble it may spit an error and
    exit without writing the rest of the page (not all that reliable
    though because the site may handle most errors in a better way)

  • Check certain content is or is not on the page, i.e. perhaps there is some content that is always present on your pages, or always present in the case of an error

Can anybody think of any other methods that could be used to help determine if a site is in fact up/down and functioning/not functioning correctly from within a program?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:46:14+00:00Added an answer on June 17, 2026 at 3:46 pm

    If your get request on a page that displays info from database comes back with status 200 and matching keywords are found, you can be pretty certain that your site is up and running.

    And you don’t really need to write your own script to do that. There are free services such as GotSiteMonitor, Pingdom, UptimeRobot etc. allows you to monitor your site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a vague open ended question. I'm hoping to get some
I know this is perhaps an open-ended question, but I'm hoping some @font-face expert
This is a difficult and open-ended question I know, but I thought I'd throw
I know this may be a pretty open ended question, but I am trying
Apologies for the open endedness of this question, but I really don't know what
I know this question is really open-ended. Recently migrated from one server to another
This is a rather open-ended question, however I would like to know what are
I know this is an open-ended quesiton, but I was hoping someone might have
I know this is a probable open ended question, and I have tried looking
I know this is a very open ended question, so bear with me -

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.