Apache

Apache

Install Apache server.

Script

config-apache2.sh

#!/bin/bash

sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install apache2

Usage

./config-apache2.sh

Additional Information

Configure your router to forward ports 80 and 443 to your Pi and then proceed immediately to configure secure access using certbot.