How to know if the web server is Windows or Linux based

Hey Guys! today Learn Hacking has brought a pretty interesting topic for you.

The topic itself is self explanatory :- How to know if the web server is Windows or Linux based

Well This is something you won’t find on any other website.

This content is copyrighted to me:P

NOTE:- Any other website will not be allowed to use this information on their website, And if you want to do that TAKE MY PERMISSION:D

Its very easy to take on a system if you know the operating system of the server.

Well this is something learn’t from practical experience.

Just follow the given steps:-

1) Goto the link below and find the IP Address of the website you want to gather information about. You may do this by writing its name in the Get IP box

(This step was optional just to tell you that it can be done this way also):-P

2)Goto run->type CMD

IN CMD type

ping Target _Website_Name . For Eg- ping


ping target_website/computer_ip_address . For Eg:-

Now you will see several ping requests coming

Ping Google Server

Ping Google Server

We Are interested in seeing the TTL time which you can see at the end of each request in ping.


1) If TTL <64 then the server is Linux based

2) If TTL>64 but <128 then the server is Windows bsaed

3) TTL>128 Mac and others.

From the above screenshot, it is clear that the servers of google are linux based.

Note:- In some Cases you may not get ping replies ( Eg. you try it on your friend’s PC ). Now This can have two reasons, The server is down ie.. The machine is not connected to internet. Else the most common reason, The Firewall is protecting that PC and is not allowing your request to access that system.

Same thing may happen in case of some websites as well, Reason is same.

Caution:- If you are trying this on your friends machine then do not enter the local IP address like

Ask him to goto and check the IP address from there.

First I thought of making this post with screen-shots but then I was too tired to do that. But I guess I have made the post very simple and understandable with just one screen shot.

Still if you have any queries , just leave a comment here and if many people request, I’l put the same with screen-shots.

NOTE:- Don’t try it with your own IP address as the results may be inaccurate on your own machine.

Want to learn more from us, if yes then make sure that you subscribe to Learn Hacking and get regular updates on your email id..:)

Or you may also follow Learn Hacking on Twitter by clicking over here and our Facebook Fanpage by click over here to learn to hack

learn to hack
. – Ethical Hacking was never so easy and interesting;-)

8 Responses to “How to know if the web server is Windows or Linux based”

  1. Satthy

    Jun 03. 2011

    I tried to find IP in both way. but I got different IPs.

    Reply to this comment
  2. antodoms

    Jun 05. 2011

    I tried to Ping my ip address and found TTL time 254, but my os is Windows 7….
    does 64<TTL<128 apply to only XP ?? or only the other versions of windows other than win7…..

    Reply to this comment
  3. Anjali

    Jun 05. 2011

    Are you sure that TTL has got to do something with server OS?
    Check this out

    Reply to this comment
  4. i_virus

    Jul 20. 2011

    TTL may be used but not necessarily it will be correct…

    Reply to this comment
  5. vinonline

    Jul 25. 2011

    I think its not correct TTL is not a way to find OS
    Please review

    Reply to this comment
  6. MAMAL

    Mar 01. 2013

    how i can hack 123 flash chat plz help me

    Reply to this comment
  7. Name (required)

    Mar 09. 2013

    if TTL =128.what it is,sir?

    Reply to this comment

Leave a Reply