Skip to main content

Static hosting, Ubuntu, Nginx, DNS and HTTPS

Learn Static hosting, Ubuntu, Nginx, DNS and HTTPS (Module 24 · Deployment and DevOps, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Angular is just files Hosting static Angular applications is easy because after ng build you only have HTML, JS, CSS and images. Any web server (Nginx, Apache, S3 plus CloudFront, Netlify, GitHub Pages, Firebase Hosting) can serve them. The one special rule: for a single-page app, unknown URLs like /employees/5 must return index.html , otherwise a browser refresh shows 404. Ubuntu server basics you need: connect with ssh user@server , update with sudo apt update && sudo apt upgrade , install software with apt install , manage services with systemctl , open ports with ufw , and keep files owned...

More lessons in Module 24 · Deployment and DevOps