Using Host Header in curl

When you have multiple web site hosted on a server, if you want to access one of the site using curl to IP of the server, then you need to pass Host header value.

For example

If you want to show debug info, add –verbose

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *