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)