Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Use Ping to Check if a Server Is Online

Ping is a quick test that tells you whether a server answers. This guide shows you how to run it.

How-To Guides2 min read9 steps2 screenshots

What is ping?

A server is a computer that stores your website and is always switched on. Ping sends a tiny message to that computer and waits for a reply. It is like shouting "Hello?" across a room and listening for "Hi!". If you get a reply, the server is reachable. The reply also shows how long it took, in milliseconds (a millisecond is one thousandth of a second).

Steps on Windows

  1. Click the Start button.
  2. Type cmd and press Enter. A black window opens. It is called the Command Prompt.
  3. Type this and press Enter:
ping example.com

Replace example.com with your own domain name or server address. This sends four test messages.

Steps on Mac or Linux

  1. Open the Terminal app.
  2. Type this and press Enter:
ping -c 4 example.com

The -c 4 part tells ping to stop after four messages. Without it, ping runs until you press Ctrl + C.

How to read the result

You seeIt means
Reply from ... or 64 bytes from ...The server answered
time=25msThe reply took 25 milliseconds. Lower is faster
Request timed outNo answer came back
Unknown host or could not find hostThe name could not be found. Check the spelling or your domain's DNS
0% packet lossEvery message got a reply

If ping fails

  1. Check your own internet by pinging a well-known site.
  2. Check that you typed the name correctly.
  3. Try again after a few minutes.
  4. Open a ticket with Hostvento support and include your ping result. Use the support ticket page.
Tip: Some servers are set to ignore ping on purpose. A timeout does not always mean the server is down. Try opening the website in your browser too.

Quick recap

  • Ping asks a server "are you there?".
    ServerPing
    serversPingLinux
  • Run ping yourdomain.com in Command Prompt or Terminal.
  • Replies mean it is reachable. Timeouts need more checking.
  • Send your results to support if the problem stays.