Ste Wright the Web Developer
If you’re feeling brave, you might want your Raspberry Pi powered web server to host more than one website or subdomain. Providing you’ve made the necessary modifications to increase performance, and are running Raspbian from a USB flash drive, there’s no reason why your Raspberry Pi couldn’t host more than one site.
Before you begin, I’m going to presume that you’ve followed my earlier tutorials to install Apache2, PHP and MySQL on your Raspberry Pi, and you have already got your domain or subdomain DNS records pointing to your Raspberry Pi.
There’s a lot I love about the Raspberry Pi; its ability to surprise me (one hosts this site, and that’s pretty impressive!), its tiny form factor, the minimal pull on electricity. It embodies everything that computing should be, and will be in the future.
The things I dislike about them include the severe lack of power, inability to use bootable USB (or SATA capabilities), meagre 512mb memory. These frustrations are completely unjust on my part – its a £30 computer aimed at the education market! I have no right to be frustrated, especially as they make extremely cheap, yet capable web servers!
Everything I love about the Raspberry Pi’s physical attributes and energy credentials have been available for some time in a more capable formats, but nothing that really hits the nail on the head, until now that is.
Once upon a time not all that long ago, if you wanted to have a website online, you did a quick search for a hosting provider, settled for a £5/$7 a month shared hosting package which gave a meagre 500mb of storage, 5 pop email accounts and a mySQL database. If you were lucky, you got 1gb monthly bandwidth and 10 ftp accounts to access all that 500mb with…
In this tutorial, I’m going to talk you through turning your Raspberry Pi into a NAS server. A NAS (Network Attached Storage) server allows you to hook up a hard drive, and access it over your local network (or over the internet if you really really wanted).
In this tutorial, I’m going to talk you through running Raspbian from a USB connected drive instead of from an SD card. If you run Raspbian from a USB Flash drive, you will enjoy performance boosts, speed and reliability improvements just to name a few benefits.