DEV Community

Tufail Mohammed
Tufail Mohammed

Posted on

🚀 Deploying a Static Website on Nginx (Beginner DevOps Project)

As part of my DevOps learning journey, I successfully deployed a static website on an Ubuntu VM using Nginx. This project helped me understand real-world web hosting fundamentals.

🛠️ Tech Stack

Ubuntu Linux 🐧

Nginx 🌐

HTML, CSS, Images 🎨

🔧 What I Did

Installed and enabled Nginx

Deployed website files to /var/www/html

Set correct permissions and ownership

Validated configuration and service health

sudo nginx -t
curl -I http://

A 200 OK response ✅ confirmed the site was live.

🔍 DevOps Checks

Verified access and error logs 📄

Ensured Nginx starts on boot 🔁

Confirmed availability after restarts

📌 Key Takeaways

Nginx is fast and reliable for static content ⚡

Linux permissions directly impact deployments 🔐

Logs and HTTP codes are essential for troubleshooting 🧠

This small project strengthened my DevOps fundamentals. More hands-on labs coming soon! 🚀

Top comments (0)