Saturday 6 October 2012

How to know web server is Windows or Linux based

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

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
http://www.selfseo.com/find_ip_address_of_a_website.php

(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 google.com

or
ping target_website/computer_ip_address . For Eg:- 59.172.45.1

Now you will see several ping requests comingWe Are interested in seeing the TTL time which you can see at the end of each request in ping.
NOTE:-
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 192.168.1.1
Ask him to goto http://whatismyip.com and check the IP address from there.NOTE:- Don’t try it with your own IP address as the results may be inaccurate on your own machine.

No comments:

Post a Comment