Skip to content
Menu
Marius Serbanica – Tech Blog
  • My Tech Blog
  • About me
  • Contact Me
  • Curriculum Vitae
  • Projects
  • Current Projects List
  • Certifications
  • Home Lab
  • Self-Hosted
  • Linux Cheat Sheet
  • Linux Commands
  • Privacy Policy
  • Site Map
Marius Serbanica – Tech Blog

Deploying & self hosting a web server

Project Description:

In this project, we will be setting up our own web server using Apache2, PHP, and MariaDB. We will be using a Linux-based operating system, such as Ubuntu, to host our server and will be configuring it to serve dynamic web pages using PHP and a MariaDB database.

  • The first step in setting up our web server will be to install Apache2, PHP, and MariaDB on our Linux machine. This can be done using the package manager of the Linux distribution we are using. Once the packages are installed, we will need to configure Apache2 to work with PHP and MariaDB. This will involve editing the Apache configuration file to set the appropriate PHP handler and adding the necessary MariaDB modules.
  • We will set up a MariaDB database to store our website’s data. This will involve creating a new database, creating tables to store our data, and configuring the appropriate permissions for the database.
  • Once our web server and database are set up, we will deploy our website to the server by copying the website’s files and assets to the appropriate directory on the server. We will also need to configure the website to connect to the MariaDB database and retrieve the necessary data.
  • Finally, we will test the website to ensure that it is working correctly and is accessible from the internet. We will also set up monitoring and logging to keep track of any issues that may arise with the server.

Project Info:
Technologies: Apache2, PHP, MariaDB
Status: Completed
Start Date: 10th of January 2023
End Date: 11th of January 2023
Blog: https://mariusserbanica.co.uk/2023/01/21/deploying-a-web-server-featuring-apache2-sql-php-and-phpmyadmin/
Repository: N/A

Join my LinkedIn Network.

Recent Posts

  • Kubernetes cluster. Why and how
  • Installing GNU-World on ircu2
  • Replacing Cloudflare Tunnel with Tailscale on a VPS
  • KASM – My main workspace RBI
  • Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense

Archives

  • February 2025
  • January 2025
  • October 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023

Categories

  • How-To
  • Tech Industry
  • Tech, but personal
  • Tutorials

Recent Comments

  1. IRC Lamer on Installing GNU-World on ircu2
  2. severus2231 on Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense
  3. admin on Mounting a NAS (Network Attached Storage) device on Linux
  4. abL on Mounting a NAS (Network Attached Storage) device on Linux
  5. Alin R on Cleaning up your Linux OS.
Social Media
Find me on social media
Facebook Twitter Instagram LinkedIn

©2025 Marius Serbanica – Tech Blog