Finding out what httpd a website uses

Sat, Jun 20, 2009

Linux

Have you ever wanted to know what httpd a website is using but didn't know how? this tutorial will be able to show you. You can simply find out the httpd by viewing the servers header. To view the headers we need curl you can install it by running the following command

apt-get install curl

Then we need to launch it with the switch -I so lets say we want to find out the httpd that tuts4tech.net uses we would type the following

curl -I tuts4tech.net

Output:

HTTP/1.1 200 OK
Vary: Cookie
Set-Cookie: wordpress_test_cookie=WP+Cookie+check; path=/
X-Pingback: http://tuts4tech.net/xmlrpc.php
Content-Type: text/html; charset=UTF-8
Date: Sat, 20 Jun 2009 17:29:21 GMT
Server: lighttpd/1.4.19

From the output you can see that we use lighttpd
You can also just use this script http://tuts4tech.net/httpd.php?domain=tuts4tech.net

, , , , , , ,

This post was written by:

Duffy - who has written 48 posts on Tuts4Tech.

I am the owner of this website, please feel free to ask me any questions you have

Contact the author

Leave a Reply