How to install 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
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 listsudo ufw allow 'Apache'
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.