# Check if server is online?

**URL:** <https://forum.kirupa.com/t/check-if-server-is-online/300319>\
**Category:** web dev\
**Created:** [November 19, 2009, 5:04am UTC](https://forum.kirupa.com/t/check-if-server-is-online/300319 "2009-11-19T05:04:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Evans](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Kevin\_Evans](https://forum.kirupa.com/u/Kevin_Evans)\
**Post date:** [November 19, 2009, 5:04am UTC](https://forum.kirupa.com/t/check-if-server-is-online/300319/1 "2009-11-19T05:04:03Z")

</div>

T-T  
I can’t figure this out. I’m trying to check if a server is online, and I need to do it efficiently. I have no idea where to start, i’ve tried AJAX, but it doesn’t really check if the server is online (it only checks if the URL is malformed)

I know somebody knows how to do this!!

So… anyone wanna help me fill this out? :3

```auto

function serverOnline(var server){

return false;
}

```

\<3  
thanks
