How to Deploy an HTML Website on Apache2 (Ubuntu Server)
Автор: rady bmcs
Загружено: 2025-12-08
Просмотров: 141
In this video, I’ll show you how to upload and deploy an HTML website on Apache2 running on Ubuntu.
You can use this method on AWS EC2, Google Cloud, Local VM, or any Ubuntu server.
✔️ What you will learn:
Install Apache2 (if not installed)
Understand the Apache web root folder
Upload your HTML, CSS, JS files
Replace Apache default page
Set correct permissions
Test your website in the browser
🔧 Commands used:
sudo apt update
sudo apt install apache2 -y
sudo rm -rf /var/www/html/*
sudo cp -r your-website/* /var/www/html/
sudo systemctl restart apache2
📁 Website Folder Used
/var/www/html
After uploading your files, just open your server IP in the browser — your website should appear!
If this tutorial helps you, don’t forget to LIKE, COMMENT, and SUBSCRIBE for more Linux & AWS tutorials.
GitHub Code for test deploy: https://github.com/radytrainer/linux-aga
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: