Collecting ping results

 

Overview

The article explains how to run a ping command to diagnose website connection issues.

Background

Ping is a network tool to check whether your website is reachable from your location. The results can also assist DreamHost support when troubleshooting connectivity issues, so it’s helpful to include them when submitting a support request.

All commands in this article must be run on your local computer—not your DreamHost server.

How to run a ping command

You can run a ping command and collect its results in Windows or macOS/Linux.

Windows

  1. Open the command prompt on your computer.
  2. Enter the ping command followed by your domain name.
  3. Press Enter to run the command and view the connection results.
    [local]$ ping example.com
    
    Pinging example.com [192.237.181.248] with 32 bytes of data:
    Reply from 192.237.181.248: bytes=32 time=59ms TTL=49
    Reply from 192.237.181.248: bytes=32 time=59ms TTL=49
    Reply from 192.237.181.248: bytes=32 time=59ms TTL=49
    Reply from 192.237.181.248: bytes=32 time=59ms TTL=49
    
    Ping statistics for 192.237.181.248:
       Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milliseconds:
       Minimum = 59ms, Maximum = 59ms, Average = 59ms
    

The pathping command

Windows also has a command you can run called pathping. This tool is useful as it combines traceroute and ping together.

Pathping takes much longer to complete than running these two commands separately.

macOS and Linux

When running this command on macOS or Linux, make sure to specify the number of ping attempts. Otherwise, the command will run continuously until you manually stop it by pressing Ctrl+C.

  1. Open the command prompt on your computer.
  2. Enter the ping command, followed by the number of attempts and your domain name.
    [local]$ ping -c 10 example.com
    
  3. Press Enter to run the command and view the connection results.

See also

DreamHost links

Third-party links

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?