Go Back   HostGator Peer Support Forums > HostGator Announcements > Network Status

Notices

Reply
 
Thread Tools
  #1  
Old 03-17-2008, 07:09 PM
GatorEricS's Avatar
GatorEricS GatorEricS is offline
HostGator Staff
 
Join Date: Dec 2007
Location: Houston
Posts: 603
Lightbulb Determining your server

To determine the server on which your website is hosted, try the following:

Code:
In WINDOWS:
START -> RUN -> cmd.exe
c:\> ping www.yourdomain.com
make note of the IP address (Reply from ##.##.##.##)
c:\> nslookup ##.##.##.##
Example:
Code:
H:\>ping www.hostgator.com

Pinging hostgator.com [67.18.54.2] with 32 bytes of data:

Reply from 67.18.54.2: bytes=32 time=6ms TTL=53
Reply from 67.18.54.2: bytes=32 time=6ms TTL=53
Reply from 67.18.54.2: bytes=32 time=6ms TTL=53
Reply from 67.18.54.2: bytes=32 time=6ms TTL=53

Ping statistics for 67.18.54.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 6ms, Maximum = 6ms, Average = 6ms

H:\>nslookup 67.18.54.2
*** Can't find server name for address 192.168.1.12: Non-existent domain
Server:  hg1.houston.hostgator.com
Address:  192.168.1.11

Name:    gator.hostgator.com
Address:  67.18.54.2
FROM LINUX:
Code:
$ host yourdomain.com
note the IP
$ host ##.##.##.##
EXAMPLE:
Code:
[root@gator366 ~]# host hostgator.com
hostgator.com has address 67.18.54.2
[root@gator366 ~]# host 67.18.54.2
2.54.18.67.in-addr.arpa domain name pointer gator.hostgator.com.
Reply With Quote
  #2  
Old 03-17-2008, 07:25 PM
GatorZach
HostGator Guest
 
Posts: n/a
Default Re: Determining your server

Here's another way:

Quote:
$ nc -v domain.com 25
We print the full name of our server in the reply.

Example:

Quote:
# nc -v hostgator.com 25
Connection to hostgator.com 25 port [tcp/smtp] succeeded!
220-gator.hostgator.com ESMTP Exim 4.63 #1 Mon, 17 Mar 2008 19:24:23 -0500
Reply With Quote
  #3  
Old 03-17-2008, 10:10 PM
TonyB's Avatar
TonyB TonyB is offline
Swamp Croc
 
Join Date: Oct 2007
Location: DC
Posts: 213
Default Re: Determining your server

Heck, in WinXP I would just do a tracert instead of a ping.
Reply With Quote
  #4  
Old 03-18-2008, 06:18 PM
GatorEricS's Avatar
GatorEricS GatorEricS is offline
HostGator Staff
 
Join Date: Dec 2007
Location: Houston
Posts: 603
Default Re: Determining your server

True, TonyB, but I wanted to keep it as simple as possible, and the response from ping is usually fewer lines and less intimidating to people who aren't used to it. Also, as our firewalls block incoming traceroutes, you'll get dropped packets at the server, and that could confuse and worry some folks.

Quote:
Originally Posted by TonyB View Post
Heck, in WinXP I would just do a tracert instead of a ping.
Reply With Quote
  #5  
Old 03-18-2008, 07:08 PM
gtgeorge's Avatar
gtgeorge gtgeorge is offline
Emperor Croc
 
Join Date: Mar 2005
Posts: 2,258
Default Re: Determining your server

Quote:
Originally Posted by GatorEricS View Post
True, TonyB, but I wanted to keep it as simple as possible, and the response from ping is usually fewer lines and less intimidating to people who aren't used to it. Also, as our firewalls block incoming traceroutes, you'll get dropped packets at the server, and that could confuse and worry some folks.
But to do a ping so you can do a nslookup seems more complicated than just a tracert to me?
__________________
best regards,
George
Reply With Quote
  #6  
Old 03-18-2008, 07:10 PM
YukonMaster YukonMaster is offline
Swamp Croc
 
Join Date: May 2007
Location: Vancouver
Posts: 372
Default Re: Determining your server

Quote:
Originally Posted by gtgeorge View Post
But to do a ping so you can do a nslookup seems more complicated than just a tracert to me?
Yea, I just enter the IP into nwtools.com

Works a charm
Reply With Quote
  #7  
Old 03-18-2008, 07:43 PM
jimbug's Avatar
jimbug jimbug is offline
Baby Croc
 
Join Date: Jan 2008
Location: California, USA
Posts: 83
Default Re: Determining your server

WOW! nc is great! Thanks GatorZach, how come I've never used nc before? I just looked at the nc man page. I'm going to have to rewrite a whole bunch of shell scripts now.
__________________
Jim
http://www.jimbug.org/
Reply With Quote
  #8  
Old 03-18-2008, 08:53 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
Hatchling Croc
 
Join Date: Nov 2007
Posts: 33
Default Re: Determining your server

Vista doesn't like the run command. grrrr
Reply With Quote
  #9  
Old 03-18-2008, 09:17 PM
GatorZach
HostGator Guest
 
Posts: n/a
Default Re: Determining your server

In Vista, try this:

WinKey+R > cmd

Note: WinKey is the Windows Flag button (it might say Start beside it)
Reply With Quote
  #10  
Old 03-18-2008, 09:57 PM
skeetr's Avatar
skeetr skeetr is offline
Royal Croc
 
Join Date: Dec 2007
Location: Washington State
Posts: 432
Default Re: Determining your server

Quote:
Originally Posted by GatorZach View Post
In Vista, try this:

WinKey+R > cmd

Note: WinKey is the Windows Flag button (it might say Start beside it)
Or you could just go directly into menu and select command prompt.....
Reply With Quote
  #11  
Old 03-18-2008, 10:13 PM
Jordanlw's Avatar
Jordanlw Jordanlw is offline
Royal Croc
 
Join Date: Dec 2007
Location: Australia
Posts: 425
Default Re: Determining your server

Quote:
Originally Posted by SwollenCranium View Post
Vista doesn't like the run command. grrrr
Going to guess you haven't yet configured Vista?
There is a option to have the RUN prompt in the start menu.
__________________
http://free-vent.com Providing FREE PUBLIC Ventrilo (VOIP) use.
Reply With Quote
  #12  
Old 03-18-2008, 10:29 PM
GatorZach
HostGator Guest
 
Posts: n/a
Default Re: Determining your server

I got a pre-install of Vista that didn't come with Run button..
Lucky I memorized the WinKey shortcuts from XP
Reply With Quote
  #13  
Old 03-19-2008, 04:16 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
Hatchling Croc
 
Join Date: Nov 2007
Posts: 33
Default Re: Determining your server

Jeez guys .., but I apologize that I made it sound like :

a. I don't know what a win key is ( you even gave me directions in picture code i.e the 'little' flag)

b. Don't know where or how to use a run command.


I was making an obviously undefined joke about Vista ...
Reply With Quote
  #14  
Old 03-21-2008, 08:39 AM
RainbowViper's Avatar
RainbowViper RainbowViper is offline
King Croc
 
Join Date: Mar 2008
Location: St Paul MN
Posts: 812
Default Re: Determining your server

You can get that information (server number) in your own cPanel.

In the root skin, it's listed in the left-hand frame about halfway down.

Or is that not always accurate? It is for me.
Reply With Quote
  #15  
Old 03-21-2008, 10:29 AM
kompreszor's Avatar
kompreszor kompreszor is offline
Swamp Croc
 
Join Date: Jun 2007
Location: Pennsylvania, USA
Posts: 239
Default Re: Determining your server

Quote:
Originally Posted by GatorZach View Post
Here's another way:
Quote:
$ nc -v domain.com 25
We print the full name of our server in the reply.

Example:
Quote:
# nc -v hostgator.com 25
Connection to hostgator.com 25 port [tcp/smtp] succeeded!
220-gator.hostgator.com ESMTP Exim 4.63 #1 Mon, 17 Mar 2008 19:24:23 -0500
Then
Quote:
$ quit
to exit
__________________
“There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance—that principle is contempt prior to investigation.”
—Herbert Spencer
Reply With Quote
  #16  
Old 03-22-2008, 06:44 AM
Target2019's Avatar
Target2019 Target2019 is offline
Baby Croc
 
Join Date: Feb 2008
Posts: 80
Default Re: Determining your server

http://member.dnsstuff.com/pages/tools.php?ptype=free

or

http://www.dnsstuff.com
Reply With Quote
  #17  
Old 04-04-2008, 06:11 AM
mike537's Avatar
mike537 mike537 is offline
Hatchling Croc
 
Join Date: Mar 2008
Location: Devon, UK
Posts: 3
Thumbs up Re: Determining your server

Many thanks those links will be usful Target2019
Reply With Quote
  #18  
Old 04-05-2008, 01:30 PM
av8nlvr av8nlvr is offline
Hatchling Croc
 
Join Date: Apr 2008
Posts: 2
Default Re: Determining your server

I tried that ping...(I'm using winXP) and it did not work. the command prompt says "c:\" is not recognized as an internal or external command, program, or batch file.

But would this work too? I looked in the header of one of my incoming emails and it says received from _______ by gator422.hostgator.com with local-bsmtp So does that mean I am on server# 422?
Reply With Quote
  #19  
Old 04-05-2008, 01:50 PM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,059
Default Re: Determining your server

Quote:
Originally Posted by av8nlvr View Post
But would this work too? I looked in the header of one of my incoming emails and it says received from _______ by gator422.hostgator.com with local-bsmtp So does that mean I am on server# 422?
Yes. you're on gator422
Reply With Quote
  #20  
Old 04-05-2008, 05:11 PM
TonyB's Avatar
TonyB TonyB is offline
Swamp Croc
 
Join Date: Oct 2007
Location: DC
Posts: 213
Default Re: Determining your server

You weren't supposed to type the prompt c:\ - it should already be there.

But yes, yet another easy way to find your server - send an email to yourself.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 04:41 AM.

 
Forum SEO by Zoints