Introduction

The Raspberry Pi 4 & 5 are powerful enough to run a web server to host multiple websites. At least the 8Gb version is. That’s the version of the Pi 4 I use for this very purpose. As a web designer and developer, I like to host my own websites on my own server. You can find lots of articles which give you bits and bobs of how to setup a web server but this guide is specifically tailored to guide you through not only the server setup - including Apache, MySQL, PHP, virtual...

Read More…

Introduction

When you run a web server in Ubuntu, you probably want to serve more than one website. in this scenario we can use virtual hosts to represent each website. But first we need to install Apache - the most popular server platform on Linux.

This tutorial forms a small part of my larger, detailed tutorial on Running a Live Web Server on a Raspberry Pi from Home.

Installing Apache

Apache is the web server software we will use. This should be installed first.

Read More…

Introduction

The most important aspect of operating your own web server is to ensure that it is always running. That means keeping the operating system up-to-date by installing the latest pacthes. But also, you have to seriously consider how to protect your web server from a power outage.

You may think that a power cut will only make your websites unavailable for a short period of time and you can live with the outage. However, power cuts can cause more havoc than you may think.

Read More…