Curl host with different hostname
Sometimes it is convenient to set a dns hostname so you can for example test your reverse proxy without having to set a dns record. The below command will request an answer from the server listening on 127.0.0.1:80: curl --header "Host: yourdomain.com" http: