Skip to content

Instantly share code, notes, and snippets.

@JPry
Created December 21, 2012 01:19
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save JPry/4350052 to your computer and use it in GitHub Desktop.
Save JPry/4350052 to your computer and use it in GitHub Desktop.
Use CURL to request a domain name/path from a specific IP address. Substitute the domain for "example.com", and the IP address and path in the URL.
curl -H "Host: example.com" -I http://IP.ADD.RE.SS/path/to/file/or/folder/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment