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: . 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.