Grab the net with Arduino

How to access a website with multiple virtual hosts from Arduino Ethernet Shield. The problem is if you have used Arduino Ethernet Shield, then you know that you can connect a IP, But if the IP has multiple virtual hosts, it will only connect to default virtual host. If it is commercial shared VPS, You wont be able to make your site default.

Gist is use of HTTP protocol which allows you to define host in your request on virtual host server. Here are the possible headers.

http://en.wikipedia.org/wiki/List_of_HTTP_headers

You should also provide basic debugging info like “User-Agent” etc.

Published by Shishir Sharma

Shishir Sharma is a husband, hacker, biker. Bachelor of electronics & communication engineering by training. He is a visionary, mentor, problem solver, technology enthusiast. He can speak in Javascript, Ruby, Python, PHP; Fluent in C, C++. He is a moderator at LUG-Jaipur. He loves action movies and FPS games.

Join the Conversation

2 Comments

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.