Learn How to Host a Website with a Raspberry Pi
The Raspberry Pi is not only one of the most unique devices on XDA, but it is also among the most popular with developers. So far, we’ve brought you news of Raspberry Pi getting ICS, ADB support, and a supercomputer was built out of a bunch of them and Legos. It’s even made our Best “Other” device of the year. There is so much you can do with the little thing. Now, you can host websites as well.
XDA Senior Member marty331 wrote a tutorial on how to host a website on the Raspberry Pi. The list of required software and hardware is quite long, but the process itself is pretty simple. To get started, you’ll need:
USB power cable
Ethernet cable and modem to connect to
HDMI cable (temporary need)
Monitor (temporary need)
USB mouse/keyboard (temporary need)
Standard SD card
SD card reader on your computer
Raspbian image – Debian based OS for Raspberry Pi
Lighttpd – lightweight webserver that is extremely easy to set up
PageKite – makes local websites or SSH servers publicly accessible in mere seconds, and works with any computer and any Internet connection.
Once you have acquired all of that, it’s simply a matter of following the tutorial step-by-step. You’ll run through downloading and installing some packages, such as lighttpd and giving your Raspberry Pi a static IP address. From there, it’s just a few more steps, and you have a website hosted on your Pi. While useful in its own right, this just adds yet another useful tool to the Raspberry Pi arsenal.
For more details, check out the original thread.
Want something on the XDA Portal? Send us a tip!