How to check the headers of a Site using a custom IP address

Submitted by ricardo on Wed, 06/26/2013 - 13:45

This will check the site blog.ricardoamaro.com against the IP 50.19.98.136 on Port 80 :
~$ curl -Is -H "host: blog.ricardoamaro.com" 50.19.98.136:80
HTTP/1.1 200 OK
Server: nginx
Content-Type: text/html; charset=utf-8
X-Drupal-Cache: HIT
Etag: "1372246782-0"
Content-Language: en
X-Generator: Drupal 7 (http://drupal.org)
Cache-Control: public, max-age=0
Last-Modified: Wed, 26 Jun 2013 11:39:42 +0000
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Vary: Cookie,Accept-Encoding
X-AH-Environment: prod
Accept-Ranges: bytes
Date: Wed, 26 Jun 2013 11:44:07 GMT
X-Varnish: 682977888
Age: 0
Via: 1.1 varnish
Connection: keep-alive
X-Cache: MISS

no doubts:
X-Generator: Drupal 7 (http://drupal.org)

Powered by Drupal