How to get the webserver version informations
We can use the HEAD command to disaplay the header information of remote webserver.
# HEAD -s ipaddress/domainname
This will display the header details as like below.
200 OK
Connection: close
Date: Tue, 26 Apr 2016 08:55:02 GMT
Server: nginx/1.6.2
Content-Language: en
Content-Type: text/html; charset=utf-8
Last-Modified: Tue, 26 Apr 2016 08:30:13 GMT
Client-Date: Tue, 26 Apr 2016 08:55:02 GMT
Client-Peer: 72.52.91.14:80
Client-Response-Num: 1
Link: <http://php.net/index>; rel=shorturl
Set-Cookie: COUNTRY=NA%2C122.15.160.244; expires=Tue, 03-May-2016 08:55:02 GMT; Max-Age=604800; path=/; domain=.php.net
Set-Cookie: LAST_NEWS=1461660902; expires=Wed, 26-Apr-2017 08:55:02 GMT; Max-Age=31536000; path=/; domain=.php.net
X-Frame-Options: SAMEORIGIN
X-Powered-By: PHP/5.6.19-0+deb8u1