Before you proceed, please note that this method may not work at all times because some websites hide their server information. Also, this method should be used to find out more about your site's security and should not be used for any other purposes.
All the instructions below are tested on Ubuntu Linux Server but should work fine on other platforms running telnet.
Run command below to connet to the server running on 192.168.5.15 (you can use your server's IP address or hostname) on port 80 (default port for HTTP servers, change it if your server is listening on a different port number).
telnet 192.168.5.15 80
You'll now see some messages on the screen
Connected to 192.168.5.15.
Escape character is '^]'.
This means telnet is waiting for input. Now, enter command below to get information from the server
HEAD / HTTP/1.0
The output (in my case) is as follows:
HTTP/1.1 200 OK
Date: Wed, 25 Jul 2007 14:32:10 GMT
Server: Apache/1.3.33 (Win32) PHP/5.0.5
The output above tells us that the web server running on 192.168.5.15 is Apache 1.3.33. Platform is Win32 and Apache is running with PHP 5.0.5 support. Please note that this information can be modified using Apache configuration directives (I'll explain that in some other tutorial on Apache). You can also modify Apache's source code to give it any name you like.
See the diagram below as a summary of whatever is explained above.
You can use the instructions explained here to change the name of your webserver (for Apache only).
Support Geeks Worldwide:
Link to us:
You can support us by putting a link to our website on your blog or website (code is below).
Geeks Worldwide - Tutorials about Software Installation,
Configuration, Administration, Monitoring, Tools, Tips &
OR a simple one.
Geeks Worldwide - IT related Tutorials
We appreciate feedbacks and suggestions about our tutorials and Geeks Worldwide from readers. Please contact us using the form here and let us know what you think about the tutorial and the website in general.
We are working on new features for the website, please keep visiting or bookmark us using your favourite bookmarking service.
Subscribe to RSS:
You can subscribe to our RSS feed here.