Hello! In this tutorial, you will learn how to install Apache, Manage it & Create Virtual Hosts in Ubuntu 20.04. Apache web server is the most widely used web server in the market.


Prerequisites

Before moving ahead with this article I request you guys to setup up Ubuntu 20.04 server in Digital OceanLinode or any other cloud platform. If you don’t have an account then click on the link and get the free credits to play around :)

You might be interested in securing your server after initial installation How To Do Basic Server Security Setup For Ubuntu / Linux.


Step 1 - Install Apache Web Server

First & foremost thing after logging into your server is to update the Ubuntu server packages so that the latest packages are available.

sudo apt update

Now install apache2 Web Server

sudo apt install -y apache2

Step 2 - Check The Apache Web Server Status

Now after you have installed your apache2 web server by default it will be running as system process.

To check the status of the apache2 server use the following service command

sudo service apache2 status

#ubuntu 20.04 #ubuntu #apache

How To Install Apache Web Server On Ubuntu 20.04
2.90 GEEK