Status Checker wont work?

iExplicit

Member
Jul 30, 2013
140
23
Hello,

So basically, i've developed a webpage on my Local PC (With Xampp) Which checks if my servers are up, And they work correctly on my local PC
However when i put it onto my webhost, It always says my Servers are Offline but they're online
Local PC:
7e735a15a1a7790dbc25fcce5e328c16.png

Webhost:
18503925561011511bb925417dab9c68.png
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
Insure that you are correctly grabbing the information. It might be an error with your code syntax, you might have accidentally put your IF statement backwords?
 

JayC

Well-Known Member
Aug 8, 2013
5,505
1,401
I tried - i turned the server off to check if my statements correct; Plus it works correctly on my Local PC.
The could could be trying to grab your Local. For instance: If you have a VPS, you might have put the link as 127.0.0.1 and you have the files on your computer so it loads for you , so you think you have it right. But when someone else tries to look at it , it says "File not found" because even on the server, if you put 127.0.0.1 it will grab from your computer
 

iExplicit

Member
Jul 30, 2013
140
23
The could could be trying to grab your Local. For instance: If you have a VPS, you might have put the link as 127.0.0.1 and you have the files on your computer so it loads for you , so you think you have it right. But when someone else tries to look at it , it says "File not found" because even on the server, if you put 127.0.0.1 it will grab from your computer
It's definitely on my Webhost, i went to the URL in which the file was placed

Edit:
I'm possibly thinking about Hosting the server checkers on another server so it can pull it through that server
 
Last edited:

Users who are viewing this thread

Top