How to use the Ping command

Categories VPS Hosting Tags vps hosting

Ping is a command which tells you if the connection between your computer and a particular domain or server is working correctly.

Using ping in Windows

  1. Select Start > Programs > Accessories > Command Prompt
  2. Enter the word ping, followed by a space, then the domain name or IP address, eg. ping netregistry.com.au

Using ping in Mac

  1. Click Launchpad on the taskbar
  2. From the list of applications that appear, choose Other
  3. Open Terminal
  4. Enter the word ping, followed by a space, then the domain name or IP address, eg. ping netregistry.com.au

Using ping in Linux

  1. Open a Terminal window (if using a GUI)
  2. Enter the word ping, followed by a space, then the domain name or IP address, eg. ping netregistry.com.au

If the results shows a series of replies, the connection is working.

Interpreting the response of the ping

The time shows you how fast the connection is. If you see a "timed out" error instead of a reply then there is a breakdown somewhere between your computer and the destination host, use the "traceroute" command to determine which location is failing to respond.

Using traceroute to troubleshoot DNS problems

See the following online resource for a detailed explanation of how to use and interpret the traceroute command: http://www.mediacollege.com/internet/troubleshooter/traceroute.html

Rate this article