Which Server

From JumbaWiki

Jump to: navigation, search

Here are some ways of finding out which server your site is hosted on.

From cPanel

The sidebar contained within cPanel is the easiest way to determine information about the server you are on. Below the package usage bars the server name, Apache, PHP and MySQL versions are listed.

Using PHP

Create a new PHP file called hostname.php and type the following:

<?php echo `hostname` ?>

Upload this file to your website and load the new page in a browser. The server name should be displayed.

Traceroute to your website

For more information, see main article: traceroute

In Windows, open a command prompt window (Start > Run > type 'cmd' > press Enter)

Type the following:

tracert <your domain>

The trace should begin and look similar to the following:

Tracing route to ********.org [203.88.116.201]
over a maximum of 30 hops:
 1    75 ms    32 ms    33 ms  lo0.syd-lns2.nsw.*******.com.au [202.173.128.**]
 2    31 ms    59 ms    33 ms  gi5-7.syd-core.nsw.*******.com.au [202.173.128.**]
 3    29 ms    32 ms    33 ms  AS4739.sydney.pipenetworks.com [218.100.2.17]
 4    35 ms    33 ms    32 ms  pos3-0.cor1.cbr1.internode.on.net [203.16.212.238]
 5    37 ms    33 ms    33 ms  gi0-3.bdr1.cbr1.aussiehq.net.au [150.101.160.81]
 6    33 ms    39 ms    43 ms  possum.cbr.hosting-server.com.au [203.88.116.201] <<< THIS IS THE SERVER YOUR ARE ON
Trace complete.

A failed trace such as below will occur if Jumba block this method on your server

Tracing route to jumba.com.au [203.88.114.**]
over a maximum of 30 hops:
 1    30 ms    32 ms    33 ms  lo0.syd-lns2.nsw.*******.com.au [202.173.128.**]
 2    59 ms    32 ms    33 ms  gi5-7.syd-core.nsw.*******.com.au [202.173.128.**]
 3    29 ms    33 ms    33 ms  AS4739.sydney.pipenetworks.com [218.100.2.17]
 4    36 ms    46 ms    33 ms  pos2-0.cor1.cbr1.internode.on.net [150.101.120.117]
 5    34 ms    32 ms    32 ms  gi0-3.bdr1.cbr1.aussiehq.net.au [150.101.160.81]
 6     *        *        *     Request timed out.
 7     *        *        *     Request timed out.

NOTICE: If your trace starts showing results similar to above for more than 2 'hops', then this method will not work on your server!!!

To Cancel a trace simply press Control+C

SSH

If you have SSH enabled on your account, open a session to your website, and type:

hostname

Your server name will be displayed, for example

servername.jumba.net.au

E-mail Jumba

You can also contact Jumba to find out information about your server by e-mailing support@jumba.com.au

See also

Personal tools