How to Use a Traceroute Command for your Website
April 9th, 2010
Traceroute is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. In addition to this, it will tell you how long each ‘hop’ from router to router takes.
If your website is not reachable then traceroute give you valuable information to know where exactly the problem lies, wheather your ISP or the Server.
If you are using Windows, select Start > Programs > Accessories > Command Prompt. This will give you a window like the one below.
If you are using Mac, go to Spotlight > Terminal and type in traceroute follow by the website or IP
Enter the word tracert, followed by a space, then the domain name.
The following is a successful traceroute from our office computer in New Delhi to speedhost.in:

Firstly it tells you that it’s tracing the route to speedhost.in, tells you the IP address of that domain, and what the maximum number of hops will be before it times out.
Next it gives information about each router it passes through on the way to its destination.
1. is the internet gateway on the network this traceroute was done from (an Motorola Wifi modem in this case)
4-6. is the ISP the origin computer is connected to (airtel.in)
8. is a router on the network speedhost.in is hosted on
9. is the computer speedhost.in is hosted on (2-1.dsr02.hxtntx2.theplanet.com)
Each of the 3 columns are a response from that router, and how long it took (each hop is tested 3 times). For example, in line 2, the first try took 4ms (4 milliseconds), the second took 17 ms, and the third took 10ms.
You will also notice that the time it took quadrupled while passing through the global-gateway network.
This is extremely useful when trying to find out why a website is unreachable, as you will be able to see where the connection fails. If you have a website hosted somewhere, it would be a good idea to do a traceroute to it when it is working, so that when it fails, you can do another traceroute to it (which will probably time out if the website is unreachable) and compare them. Be aware though, that it will probably take a different route each time, but the networks it passes through will generally be very similar.
Related Articles:
1. Are the servers down or is it my Internet Service Provider issue?
2. How can i flush my DNS?





