3216Views9Replies

Author Options:

Can I use an Arduino as a server for web hosting? Answered


I'd like to be able to sell hosting using a a arduino as a server but dont know how.
I want to sell hosting aswell as providing a small amount of space for free.
PLEASE HELP ME!!! as I'd really like to continue with this project

9 Replies

user
ndrewxie (author)2017-07-20

You could, as long as you don't want to do any server - side compilation / processing (no php, no data storage, no number crunching on server side) AND your HTML code for the web server is fairly small. If it's too large, put it on a SD card and use the SD library to read it. Your HTML code should not be more than a couple hundred to a thousand lines, or else your website will lag. Also, don't leave your arduino on 24/7, you'll destroy it. Arduinos are extremely expensive for their size (30 dollars!), and YOU DON'T WANT TO BREAK IT. Instead, you should buy and use a raspberry pi 3 (for 35 dollars), and use that instead. A raspberry pi has better CPU performance and network chip speed than an arduino.

Select as Best AnswerUndo Best Answer

user
ndrewxie (author)ndrewxie2017-07-20

btw, you could use a built in example (WebServer). Just plug in your net shield, and run the code.

Select as Best AnswerUndo Best Answer

user
orksecurity (author)2011-05-07

Nowhere near enough compute power to host anything significant -- the Arduino is a TINY computer, used for tiny/specialized tasks.

To sell hosting, you're going to have to be at the complete opposite end of the size, speed, software complexity and network connectivity scale.

Select as Best AnswerUndo Best Answer

user
gmoon (author)2011-05-07

Yes, you can---not with the Arduino alone, but with the addition of a Net shield.

Adafruit (among others) sell 'em, and has a webserver tutorial.

Select as Best AnswerUndo Best Answer

user
webgeek1 (author)gmoon2011-05-08

i was hoping to use a netsheid but how do i do it?

Select as Best AnswerUndo Best Answer

user
gmoon (author)webgeek12011-05-08

That tutorial above outlines the process. Your router does the real work of putting the server on the WWW itself.

Incidentally, as orksecurity points out, an arduino is REALLY underpowered for a server. A netshield is normally used to create an embedded net device.

You're better off with a normal (computer) server if you want to host.

Select as Best AnswerUndo Best Answer

user
7654321 (author)2011-05-06

No you cant, if you want to continue this project, why dont you just go buy a server from Best Buy?

Select as Best AnswerUndo Best Answer

user
lemonie (author)2011-05-06


No.
Where on Earth did you get an idea like that?

L

Select as Best AnswerUndo Best Answer