itramblings

Ramblings from an IT manager and long time developer.

By

Identify a web server

Here is a quick way to tell what software a web server is running

 

  1. Open a command prompt
  2. Enter: telnet [SERVER NAME/IP] 80
  3. Enter: HEAD / HTTP/1.0
  4. Enter: [blank line]
Result should look something like this
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Tue, 17 Aug 2010 20:38:38 GMT
Content-type: text/html
Connection: close
or 
HTTP/1.0 500 Internal Server Error
Server: Microsoft-IIS
Date: Tue, 17 Aug 2010 20:41:41 GMT
p3p: CP=”CAO PSA OUR”
Content-type: text/html