Comment on Uses for cURLComments−eik3_de13y> Test Virtual Hosts, Avoid DNS> With cURL just point the request at your host’s IP addressIt's not even necessary to manually look up the IP, since options have precedence: curl server1.example.com -H Host:\ www.example.net looks up server1.example.com and connects to that IP with the given Host: Header. Just try the "-v" option to see what's going on.
Comments
> Test Virtual Hosts, Avoid DNS
> With cURL just point the request at your host’s IP address
It's not even necessary to manually look up the IP, since options have precedence:
looks up server1.example.com and connects to that IP with the given Host: Header. Just try the "-v" option to see what's going on.