Traceroute - Gregg Hosting

The affects of Web Hosts on Your Business Website

Here're ways your choice of web hosting service provider impacts the performance of your business:


Website loading speed


Uptime and availability


Customer support




Server location




A network diagnostic tool called traceroute is used to check the network between two locations. A traceroute from the starting point of a network connection to your GreggHost server, for example, must be done to determine the source of slowness or timeouts.

When should I use Traceroute?
Here are several scenarios in which a traceroute may be required to resolve a problem.

Slowness of the website
Run a traceroute from your computer to your website if your site is slow to discover if there are any networking issues between your location and the GreggHost server.

Timeouts for email clients
Run a traceroute to determine the quality of the connection to the mail server if you’re having problems with your mail connection.

To locate your mail server name, go to the Email client configuration page. Depending on your connection selection, it’s either or
Carry out a traceroute.
In Windows, the following example shows how to run a traceroute:
tracert C:UsersGreggHost
Over a maximum of 30 hops, tracing the route to []:

1 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 2 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 ms 1 m []
3 29 ms 28 ms 28 ms 28 ms [] 4 11 ms 11 ms 11 ms 11 ms [] 5 25 ms 25 ms 25 ms 25 ms [] 6 30 ms 30 ms 30 ms 30 ms
30 ms 30 ms 30 ms 30 ms 30 ms 30 ms 30 ms 30 ms 30 []
8 45 ms 42 ms 43 ms []
9:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30:30 []

The trail is now complete.
The network hops to the server are shown above, and there are no timeouts on the network connection. If timeouts are listed, there may be a problem with the network.

How to run a traceroute
Using the Windows Operating System
Open a Command Prompt window.
Type tracert, followed by a space, and then the name of the site/server you want to connect to. For instance, if you wanted to connect to, you’d type:
tracert C:UsersGreggHost>
To start the tool, press the Enter key.
You may also use a traceroute to the mail subdomain to test your GreggHost mail server. Consider the following scenario:
tracert C:UsersGreggHost
Using the Linux Operating System
You’ll need to install the traceroute package first on most Linux systems.

To install, follow these steps:

Activate your terminal.
To install in Ubuntu, do the following:
$ sudo apt-get install traceroute [server]
You can run the command as follows once it’s been installed:
$ traceroute [server]
After -I, certain Linux variations need you to select the protocol. Consider the following scenario:
$ traceroute -I ICMP [server]
Mac OS X is a computer operating system developed by Apple.
To run traceroute, follow these steps:

For information on how to open your terminal, see the SSH for Mac OS X article.
Execute the command below.
$ traceroute [server]
Another method is to utilize the Network Utility graphical tool (located and opened using Finder and search Applications):

In the top bar, click the Traceroute button.
Fill in the server’s name.
Select the Trace option from the drop-down menu.
The Traceroute results from Network Utility should look like this:
01 Traceroute.fw.png 02 Traceroute.fw.png 03 Traceroute.fw

Copying and pasting the results
You’ll need to put your results into your ticket if you want to share them with a support person.

Right-click in the Windows command prompt and select ‘Mark.’
Copy the entire area by dragging your mouse over it.
Right-click once more.
After that, you may paste it into any text editor or into your support ticket.

Another option is to have the traceroute results written to a text file directly.

Run the following command to save your traceroute results as a text file:

tracert > C:UsersGreggHost> C:\tracert.txt
Within your C: folder, a file entitled tracert.txt is created. You have the option of saving the file in whatever folder you want.

Linux and Mac
You can use the following command to save the traceroute results to a file, and you can choose any location.

The results are written to a file named trace.txt in the user’s home directory in the following example. Replace username with your Shell username, and with the URL of your website.