How to ping a hostname or IP address

Applies to:
Domains
Professional Hosting
Business Hosting
Reseller Hosting
VPS Hosting
Dedicated Servers
WordPress Hosting

Difficulty:
Easy

Time Needed:
10 minutes

Introduction

This is a quick step-by-step guide to performing a ping command. Pings are useful for telling you the speed, strength, distance and availability of a connection, either in your own network or over the internet.


Article Contents



How to ping a hostname or IP address on Windows


Step 1

Click on the 'Start' button

When running Windows, click on the start button (or the Widows icon), usually located at the bottom left of the screen.

Click on the 'start' button

Step 2

Choose 'All Programs'

On the start menu, choose 'All Programs' from the list of options. Then click on the option labelled 'Accessories'

Choose 'All Programs'

Step 3

Select 'Run'

After you have clicked on 'Accessories', you will be presented with a list of applications. Choose 'Run' from the list of icons.

Select 'Run'

Step 4

Run 'cmd'

Then type the following into the text field:

cmd

Then click 'OK'.

Run 'cmd'

Step 5

Run the command

This will bring up your command prompt. Simply enter the following to run a ping for a url or IP address of your choice, and hit enter.

ping yourdomain.com

Once you have run your command, the ping will begin.

The first line tells you what the ping is doing. It will list the ur or IP address being pinged, as well as how much data is being sent.

Each new line underneath represents an individual ping, again detailing the size and speed data is transferred. 'TTL' represents the number of computers or networks used to access the domain you have chosen to ping.

Note: To stop the ping command, simply hold down 'Ctrl' & 'C' on your keyboard.

Run the command

How to ping a hostname or IP address on OS X


Step 1

Choose 'Go'

When running OS X, click on the Finder icon, then choose 'Go' from the menu bar.

Choose 'Go'

Step 2

Open 'Utilities'

From the drop down menu, select 'Utilities'.

Open 'Utilities'

Step 3

Select 'Terminal'

This will then open the 'Utilities' settings. Locate the icon labelled 'Terminal', and double click on it.

Open 'Utilities'

Step 4

Run the command

This will bring up your command prompt. Simply enter the following to run a ping for a url or IP address of your choice, and hit enter.

ping yourdomain.com

Once you have run your command, the ping will begin.

The first line tells you what the ping is doing. It will list the ur or IP address being pinged, as well as how much data is being sent.

Each new line underneath represents an individual ping, again detailing the size and speed data is transferred. 'TTL' represents the number of computers or networks used to access the domain you have chosen to ping.

Note: To stop the ping command, simply hold down 'Ctrl' & 'C' on your keyboard.

Run the command

Was this helpful?

   
4 people found this article helpful