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

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.

This is a short guide on the steps you need to take to install Ubuntu Server, update the application packages and set a static IP address (optional). It forms part of a larger guide I’ve written on Running a...

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

If you use Ubuntu Server then you must ensure that its timezone is set correctly. If the time is wrong then you may run into problems updating software, servcing websites, etc.

It’s fairly straightforward to do this in Unix, so let’s dive in. This tutorial forms a small part of my larger, detailed tutorial on Running a Live Web Server on a Raspberry Pi from Home.

Set the Correct Ubuntu Server Timezone

Ubuntu should be running with the correct time zone set for where...

Read More…

Introduction

If you host multiple websites, either for yourself or for clients, then you probably use a paid, shared or dedicated hosting service from a hosting company, such as Namecheap. You might even purchase a Virtual Server from Namecheap. But what if you want to buy your own hardware and run your own web hosting server? How much do you need to spend? Well, that depends on how much traffic you expect your websites to receive. High-traffic website servers require superior, more expensive,...

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…