I am sending requests to a specific server on a cloud:
wget --header="Host: example.com" http://x.x.x.x:80/
curl -i -H"Host: example.com" http://x.x.x.x:80/
And it returns exactly as expected (a simple static file). However, when I try and access it in a browser, the request times out. I can't imagine it would be a user agent header issue, but then again, I don't really know what else it would be.
It isn't going to a load balancer or anything, should be going directly to the site. Any ideas on why this might be happening? I have my hosts file set to go to that specific IP address.
Thanks