• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

ping one address, comes back with different host name

I decided to ping one of the sites I visit a lot.

Heres what I did (real IPs and names removed)  


c:>ping carwebsite.com

64 bytes from motor.com (  icmp_seq=0  ttl116  time= 47.733ms

c:> ping motor.com  (

-When I pinged carwebsite.com, it replied with "64 kbytes from motor.com" (

When I pinged motor.com, it returned with the same IP =

-This is the same server hosting 2 websites correct?

carwebsite.com is a CNAME for mtoro.com? (this is the part i'm confused on)

5 Solutions
most likely it is a vitrual host same ip but diffrent names.

many names can be pointed to the same ip address .

most web server take in the name in that you route to it by the name is used to send it to the virtual server.

If you browse buy the ip address it won't work .

I aggre with that. What you can do to in order to search a little bit more is to go to

www.dnsstuff.com and do

a) DNS lookup for the domain for A records and CNAME records (this will explain exacly what happens)

b) a reverse lookup on the IP Address that replies to this (more interesting) .. !!

Usually some companies chooses to have forwarded IP addresses and reverse DYNS to avoid hacking attempts and other DoS attacks.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Leon FesterIT Project Change ManagerCommented:
There are many ways that you can link 2 or more websites to the same IP address. CNAME's are one way, on your Internet server you would then specify the host header name for the different sites. I've currently got that running on an IIS server. The server looks at the URL request and the routes the request according to the host header name. Host header name is just basically the name of the site eg. www.carwebsite.com. On an IIS server, the IP address is merely the route to the server, the URL including the host header information is what allows the server to decide which site to send the request to. A simple explanation is to consider compare this to where you stay. If I send you a letter, it goes to 5 Your Street, Your Suburb, Your City, Your ZIP code. Same as your IP Address, but what stops your mom/dad/wife from opening your letter? It's your name on the letter, that is essentially how the server interprets the incoming requests where more than 1 site is located on the same IP address.

Yes its the CNAME of the same IP. Companies put multiple names refering to same site. But when u ping the reply will come from the primary Name.

u can findout details IP to Name  or Name to IP in www.whois.sc

dissolvedAuthor Commented:
thanks everyone. so in this case:

-  the admin bought two domain names. motor.com and carwebsite.com.
-  He is hosting both of these websites on the same box via virtual hosting

How would his CNAME record look? I'm having no luck doing a WHOIS.
Again, this is what happened (so you guys dont have to scroll all the way up to top of post)
c:>ping carwebsite.com

64 bytes from motor.com (  icmp_seq=0  ttl116  time= 47.733ms

c:> ping motor.com  ("
Thanks again
dissolvedAuthor Commented:
Check this out guys:

  ping 350zforum.com  and ping twinturbo.net
pinging 350zforum.com responds with twinturbo.net's IP

I did some digging on them and they use different name servers.
-twinturbo.net uses ns2.theplante.com

-whereas 350zforum.com uses ns1.theplanet.com

Is this normal?
Leon FesterIT Project Change ManagerCommented:
Then he probably has both sites registered as A records instead of a CNAME. visit www.dnsreport.com and enter the domain names. Check the last entry on the page. WWW record is what you're looking for. Should look something like

www.carwebsite.com   A [TTL=#####] [country code]

with pretty much the same for www.motor.com. Check further down that report and it will tell you if any CNAME's are registered. If they are both configured with the same IP's and are both records then it is only on his Internet Server that he is specifying the different host headers for the sites. I've setup similar sites on IIS 4.0 to IIS 6.0. I personally don't think that he is using CNAME's but check the report on www.dnsreport.com. If both are like the record above, then he ain't using CNAME's, so don't worry about them.
Leon FesterIT Project Change ManagerCommented:
I've checked them both on www.dnsreport.com and the information is identical. 2 different name servers, could just be because they've added the first primary record to server1 and other server record to server2. No offence to anybody, but www.whois.sc doesn't give as much technical information as www.dnsreport.com, which also points out weakness in your site DNS configuration.
dissolvedAuthor Commented:
Leon FesterIT Project Change ManagerCommented:
Does that answer your question?
dissolvedAuthor Commented:
thanks everyone.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now