How to install webserver on ubuntu 20.04

how to install apache webserver on ubuntu 20.04

Let’s get started on how to install apache webserver on ubuntu 20.04 :)

sudo apt-get update

Step 1. Install Apache

sudo apt-get install apache2
press Y and enter to confirm

Step 2. Verify Apache Installation

Open your local browser (from your pc/laptop/phone), and go to :

http://your.server.ip

The web browser should open a page labeled “Apache2 Ubuntu Default Page,” as in the image below:

Step 3. Configure Your Firewall

sudo ufw show app list

It’s should do like below:

To verify, just run code below:

sudo ufw status

If you have found simillar like above, congrats your webserver are ready :)

FYI, i use Hetzner Cloud, their cloud server was good for the price. not the cheapest but good performance :) , by using my hetzner links, you’re not just getting free 20 Euro (as a credit for free up to 4 month server), but also help me keep all my services running :) thank you :)

Don’t forget to follow me on medium and subscribe my youtube channel.

Crypto Enthusiast, Content Creator, System Developer & Crypto Community Manager

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store