I am trying to communicate with my hosted server using an Arduino Ethernet shield.
Now the problem is this:
Using a web browser, I can see that calling the URL works fine, but calling the IP address does not. I assume that the hosting provider hosts several different URLs using the same IP address.
How can I make a URL dependent call from within the Arduino libraries? The standard Arduino libraries only require the IP address of my host, not the URL.
Host:
header in the http request. poking at the bare IP address doesn't work, because the webserver won't know WHICH of the many sites on that IP you're trying to access. – Marc B