Using wget with given IP/vhost 2013-10-31 by Alejandro Liu in 2013 Updated: 2021-12-25 This is one neat trick. For vhosts you can connect with an IP yet provide the right host name with the following: wget http://1.1.1.1/ --header 'Host: www.example.com'