Install Apache
Install Apache
sudo apt install -y apache2
Allow Apache through the UFW firewall
If only needing port 80, use the following command:
sudo ufw allow in Apache
If only needing port 443, use the following command:
sudo ufw allow in "Apache Secure"
If needing both ports 80 and 443, use the following command:
sudo ufw allow in "Apache Full"
No Comments