Cloud Foundations · 8 min read · Intermediate
How Production Web Deployments Work
Map the full request path from DNS lookup and TLS handshake to Nginx, static files, backend APIs, and database.
What you'll learn
- Trace a real HTTPS request from browser to database
- Understand when to use static hosting vs. VPS vs. managed containers
- Separate static CDN/Nginx delivery from dynamic API processes
Overview
Map the full request path from DNS lookup and TLS handshake to Nginx, static files, backend APIs, and database.
Code Example
Browser -> DNS (A Record) -> HTTPS :443 (Nginx)
├─ / -> Static files (/var/www/app/)
└─ /api/* -> Proxy to 127.0.0.1:8787 (Backend API -> SQLite/Postgres)
Key Takeaways
- Trace a real HTTPS request from browser to database
- Understand when to use static hosting vs. VPS vs. managed containers
- Separate static CDN/Nginx delivery from dynamic API processes
Quick Check
Check Your Understanding
Score: 0 / 1
1. Why does Nginx typically sit in front of a Node.js, Python, or Go backend server?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.