Monday, April 20, 2009

How to identify the OS of a web server?

I would like to find-out what server version the web hosting company I have my site on is using. Is there a web utility I can use to detect this?
How to identify the OS of a web server?
It is contained (to some extent) in the %26quot;Server%26quot; header of the HTTP response. Try http://web-sniffer.net to view the HTTP headers for a given URL.
How to identify the OS of a web server?
They usually let you know on their site, and you could always ask them yourself instead of going through the trouble of finding out..
Reply:Just go to the home page and do a CTRL U
Reply:The best way is to just ask your host.





However you do do this to test if you are on Windows or Linux





create a file and name it %26quot;test.asp%26quot;





and copy and paste the following code into the file





%26lt;%


Response.Write Request.ServerVariables (%26quot;SERVER_SOFTWARE%26quot;)


%%26gt;





and save it and upload it to your server





Then pull up the page by going to





http://www.YOURDOMAIN.com/test.asp





Now if you get an error, or you just see the same thing as above then you are very likely on LINUX. If the script works then it should display your windows version


No comments:

Post a Comment