1. Install Apache
First of all, update Ubuntu server using commands :
Login with root :
apt update
apt upgrade
Next, install Apache web server :
apt install apache2
Check if Apache web server is running or not :
systemctl status apache2
Sample output would be:
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service;...