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:

Software:
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.