Linux serverlinux web serverNETWORK ADMINISTRATIONS

How to Host Your Website On Apache2 Webserver in Ubuntu 20.04.

In this video i will show you how to host your website on your Local Machine
using Apache 2 webServer.
step 1. Install Apache 2 package == sudo apt install apache2
step 2. Restart the server == sudo service apache2 restart
step 3. Delete the default index file == sudo rm index.html
step 4. And set a new index file of your website == sudo cp [FILE NAME] /var/www/html

And after this Open your Browser and Type 127.0.0.1 or localhost/ on URL bar.

IF YOU LIKE THIS VIDEO SUBSCRIBE OUR CHANNEL.

source

by Linux Bash

linux web server

3 thoughts on “How to Host Your Website On Apache2 Webserver in Ubuntu 20.04.

Comments are closed.