This recipe installs the Apache HTTP web server. Installation differences for the lighttpd and Nginx web servers are found at the end of this recipe.
The Apache web server is one of the most commonly used web servers on GNU Linux platforms like the Raspbian Linux distribution used by the Raspberry Pi. Apache is a mature, extensible web server that can be used to host a variety of applications; proxy access to websites internal and external; as well as host static web pages and images.
After completing this recipe, the Raspberry Pi will able to serve static and dynamic web pages from the SD card boot disk and from an external disk.
An Initial Setup or Basic Networking setup ...