How to access view log site Direct IP access not allowed?

I want to use arduino as a network device to view some log website with this message" Direct IP access not allowed" every time try to access. I see this topic: http://forum.arduino.cc/index.php?topic=289684.0 . But can you help me the complete code for this, is mean code fixed. Thanks you.

I'm not sure, but you probably need to send a Host parameter with your request. Take a look at dylanrush's response on the thread.