Yeah, you have to have 'Host: www.nsa.gov' in your request.
$ telnet 23.6.100.226 80
GET / HTTP/1.1
Host: www.nsa.gov
[press Enter twice]
Or you can add www.nsa.gov with that IP to your hosts file, if you reallllly need access to it.
$ telnet 23.6.100.226 80
GET / HTTP/1.1
Host: www.nsa.gov
[press Enter twice]
Or you can add www.nsa.gov with that IP to your hosts file, if you reallllly need access to it.
How is that even possible? Shouldn't browser fill in www anyway?
Browsers should never "fill in" www, because as I pointed out, www might be a completely different host or service.
I always think www.domain.com resolves to one of the ips and domain.com should too. Thanks!