Overview
Ping is a great tool for determining whether your domain/website is available from your current location. Some support requests require you to gather ping results and attach them to your ticket.
Using Windows
Open a command prompt window.
Follow the ping command with your domain name.
Enter by pressing the Enter key.
The following is the command and its output:
ping dreamhost.com [server]$
With 32 bytes of data, pinging dreamhost.com [192.237.181.248]:
192.237.181.248 response: bytes=32 time=59ms TTL=49
192.237.181.248 response: bytes=32 time=59ms TTL=49
192.237.181.248 response: bytes=32 time=59ms TTL=49
192.237.181.248 response: bytes=32 time=59ms TTL=49
192.237.181.248 ping statistics:
Packets: Messages sent = 4, Messages received = 4, Messages lost = 0 (0 percent loss),
In milliseconds, approximate round travel times:
Minimum = 59 milliseconds, Maximum = 59 milliseconds, Average = 59 milliseconds
Pathing Information
You may also use the pathping command on Windows. This program is important since it combines the functions of traceroute and ping. Pathping is similar to the ping syntax; simply use pathping instead of ping.
It takes substantially longer to path these two commands together than it does to perform them separately.
Ping and Traceroute are useful tools for figuring out what’s causing your connection troubles. If these tools fail, comparing your site’s findings to those of a reputable site (such as Google) can be incredibly helpful in determining whether the issue is with your computer, your ISP, or your site.
Using Mac OSX and Linux
For Apple Mac OSX and Linux, the approach is slightly different: these operating systems continue to ping until you tell them to stop. Use the following command instead, which tells it to just ping ten times:
ping -c 10 [server]$
To open your terminal, see the Mac SSH article.
Execute the command below:
ping -c 10 [server]$ dreamhost.com