1. Install Apache web server
First of all, update Ubuntu server using commands:
$ sudo apt update
$ sudo apt upgrade
Next, install Apache web server:
$ sudo apt install apache2
Check if Apache web server is running or not:
$ sudo systemctl status apache2
Sample output would be: Continue reading