giantsoft Posted August 20, 2015 Share Posted August 20, 2015 I use http.au3 to do http upload, and upload to shared web hosting (dreamhost)It will use TCPConnect to create socket connection and convert domain name to IP.But the web hosting can't work with IP.I wonder if any way to workaround? Thanks! Link to comment Share on other sites More sharing options...
trancexx Posted August 20, 2015 Share Posted August 20, 2015 You need to set "Host" http header field. That's how server on shared hosting knows where to redirect the request.Besides, HTTP/1.1 mandates "Host" field. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now