Identify remote web server

When hosting applications, often I want to get the details of remote servers.

We can easily find out essential detail of server with a single command.

Use curl command with the -I option to make a HEAD request and see the HTTP headers.

curl -I http://example.com

The result will look like below one.

HTTP/1.1 200 OK
Content-type: text/html
Content-Length: 0
Date: Mon, 28 Jan 2008 08:53:54 GMT
Server: lighttpd

Note : You have to install curl before using curl commands.

Recent Posts

  1. Replace string in multiple files - Command line
  2. Solve Grunt error - Port 35729 is already in use by another process
  3. Install WP-CLI
  4. Install LAMP - Apache2 , MariaDB, PHP 7 on Debian 8
  5. Enable / Disable Magento 2 module using command line


Questions / Comments

If you found this article interesting, found errors, or just want to discuss about them, please get in touch. Send an email to hello@sarathlal.com & I like your words.