In many cases, you’ll need to see a traceroute from your computer to your domain in order to diagnose connection and other problems. To run a traceroute from your machine, follow the instructions below.
Traceroute on Windows
To run a traceroute to your domain from a Windows machine, open your Command Prompt (Start – cmd.exe), and type the command:
mydomain.com with your domain name. The results will look something like this:
C:\>tracert mydomain.com Tracing route to hostingmanual.net [22.214.171.124] over a maximum of 30 hops: 1 <1 ms <1 ms <1 ms mynetworkserver [192.168.0.1] 2 150 ms 16 ms 34 ms gate.myisp.com [126.96.36.199] 3 61 ms 60 ms 66 ms sl-gw12-kc-9-1-0-TS12.sprintlink.net [188.8.131.52] 4 109 ms 60 ms 72 ms 184.108.40.206 5 111 ms 50 ms 54 ms sl-bb23-fw-10-1.sprintlink.net [220.127.116.11] 6 145 ms 67 ms 52 ms 18.104.22.168 7 106 ms 183 ms 191 ms 177.at-2-0-0.XR1.DFW9.ALTER.NET [22.214.171.124] 8 135 ms 105 ms 427 ms 0.so-2-0-0.XL1.DFW9.ALTER.NET [126.96.36.199] 9 116 ms 176 ms 94 ms 0.so-0-0-0.TL1.DFW9.ALTER.NET [188.8.131.52] 10 272 ms 158 ms 178 ms 0.so-5-0-0.TL1.CHI2.ALTER.NET [184.108.40.206] 11 213 ms 130 ms 114 ms 0.so-2-0-0.XL1.CHI2.ALTER.NET [220.127.116.11] 12 97 ms 79 ms 155 ms 0.so-7-0-0.XR1.CHI2.ALTER.NET [18.104.22.168] 13 103 ms 110 ms 128 ms 193.ATM7-0.XR1.CHI6.ALTER.NET [22.214.171.124] 14 163 ms 165 ms 209 ms 191.ATM11-0-0.GW2.CHI6.ALTER.NET [126.96.36.199] 15 285 ms 200 ms 174 ms UU-ds3.axxs.net [188.8.131.52] 16 159 ms 67 ms 83 ms 184.108.40.206 Trace complete.
Copying Windows Traceroute Results
To copy the traceroute results from the Windows command prompt:
- Right-click your mouse and select “Mark”.
- Highlight the full text of the traceroute results by positioning your cursor at the beginning, holding down your left mouse button, and dragging the cursor to highlight the contents.
- Hit your
Enterkey to copy the results.
To paste the results in an e-mail or web-based form, just right-click and select “Paste”, or type CTRL-V.
Other Traceroute Options
If the command prompt option sounds like too much trouble, or if you’re using a Mac instead of a Windows machine, there are software programs available that make the process easier:
Windows Traceroute Software:
Traceroute on Linux (Ubuntu)
Let’s install traceroute:
sudo apt update && sudo apt upgrade && sudo apt install traceroute
To run a traceroute, type
The result should look like this:
traceroute to www.google.com (220.127.116.11), 30 hops max, 60 byte packets 1 * * * 2 10.74.7.38 (10.74.7.38) 0.570 ms 10.74.7.40 (10.74.7.40) 0.537 ms 10.74.7.46 (10.74.7.46) 0.825 ms 3 18.104.22.168 (22.214.171.124) 0.892 ms 126.96.36.199 (188.8.131.52) 1.151 ms 184.108.40.206 (220.127.116.11) 1.331 ms 4 18.104.22.168 (22.214.171.124) 0.746 ms 126.96.36.199 (188.8.131.52) 0.839 ms 184.108.40.206 (220.127.116.11) 0.828 ms 5 18.104.22.168 (22.214.171.124) 1.109 ms 126.96.36.199 (188.8.131.52) 1.098 ms 184.108.40.206 (220.127.116.11) 1.246 ms 6 18.104.22.168 (22.214.171.124) 1.398 ms 0.982 ms 126.96.36.199 (188.8.131.52) 1.137 ms 7 * 184.108.40.206 (220.127.116.11) 1.780 ms * 8 18.104.22.168 (22.214.171.124) 14.502 ms 126.96.36.199 (188.8.131.52) 3.862 ms 184.108.40.206 (220.127.116.11) 2.788 ms 9 lax30s03-in-f4.1e100.net (18.104.22.168) 1.751 ms 1.745 ms 22.214.171.124 (126.96.36.199) 1.653 ms
Traceroute on Mac
Traceroute is preinstalled on Macs. You can follow the same steps as with Linux.
Mac Traceroute Software
Interpreting Traceroute Results
Traceroute is a tool that traces the route that packets travel across a network connection between two hosts. The route between your computer and your server will vary from time to time as the network routers involved attempt to find the fastest and most reliable route.
The name (if available) and IP address of each gateway (router) is displayed, along with the round trip time (in milliseconds) for each of the trace packets to reach the specified gateway and return. These intervals may vary widely as a function of network load.
Lost packets are indicated by an asterisk (*). There are several factors responsible for lost packets: Some gateways don’t return the appropriate message requested by traceroute. Some firewalls use packet filters which block packets used by traceroute. (If you are behind a firewall that blocks traceroute, the results show the route to your firewall, followed by a line of asterisks.)
Finally, packets may be lost as a result of network congestion (heavy load). World Wide Web clients and servers normally recover automatically when a small percentage of packets are lost with no indication to the user except for slower response time.
What you want to look for in your traceroute results are any asterisks (*) or excessively high numbers in the time columns. “Excessively high” is a relative term, and depends in part upon your own Internet connection speed.
A general rule-of-thumb might be that times of under 150 ms are “normal”, times above that indicate a potential problem. Asterisks indicate that the router did not return a response at all. If a particular router did not return any times at all, then that’s a good indication of the source of your problem.
The first 2 or 3 “nodes” or “hops” represent your computer and your ISP’s server(s) and router(s). The last two nodes represent your domain and the server it resides on (which are the only two nodes that we have any control over.) All nodes in between represent “Internet backbone” routers. These routers are provided by independent companies (like AT&T, Sprint, MCI, etc.)
If the traceroute indicates that the problem may be at your domain or its server, you should contact your web host’s support so that they can investigate the problem. If the problem appears to be at your ISP, you should contact their support department for assistance. If the problem appears to be somewhere in between, there’s really no one to contact, since the backbone providers do not support end users. On the other hand, they generally do an excellent job of monitoring issues on their network, probably knew about the problem long before you did, and are working hard to get it corrected.