Very often some website becomes unreachable and we couldn’t understand the reason of that. In such a case we must know the path of a data packet from our computer to the website so that we can see where the connection has failed. In windows the command for tracing path to a website is ‘tracert’ . Similar command exits in Linux by the name ‘traceroute’. Lets take an example to make it clear.
Suppose we have to trace the path from this computer to the website programminggeeks.com . For that, we give the command :
As soon as we give this command, the ‘trace route’ program starts tracing the route from this computer to programminggeeks. Here the first line tells us what the program is going to do for us. It will trace the route to programminggeeks.com whose ip address is 184.108.40.206. Moreover it will try for 30 hops at max. (a hop is the trip a data packet takes from one router to another router in the network).
The next 20 lines gives us information about the connection to each of the intermediate routers/computers. The 1st column contains the number of hops. Columns 2-4 gives us the round trip time from this computer to the corresponding router. Since for each router 3 data packets are sent, we have 3 round trip times for each router.
For knowing why a particular website is not reachable we must have already run a tracert program when the website is reachable so that we know the path from our computer to that website. Now when the website is not reachable, run the tracert program and see at which point the connection has timed out. e.g. If the conection had timed out after 5th hop, the problem would have been at flagtel.com and not at justhost.com.
Hope this will be of good use for website owners.