How can i make a status light for my website?
I host my own website on a old crappy computer (pc running xp) and i want to make a light that will be green when the website is up and red when the website is down this way i will easily be able to tell when the website is down because this computer is making weird noises (i think its the hardrive) so i was thinking that maybe i could make a c++ program to go to the site and see if it can get something from the server and if it can it would turn a pin the the lpt or serial port high if it cant it would turn a diffrent pin high wich would be connected to a red led. does anyone know of a better easier idea. or does anyone know how i can even do this i am a begginer with c++.
ps i know this project is semi pointless but i like to do stuff with computer and stuff