How to Host a Static Website on an Ubuntu VPS
A static website is one of the easiest things to host on a VPS because the server only has to deliver HTML, CSS, JavaScript, images, and downloadable files.
What you need before starting
Prepare an Ubuntu VPS, a built static output folder, a domain or testing IP, Nginx, and a rollback plan.
Recommended directory structure
Keep each website in its own release directory and point Nginx at a stable current folder or symlink.
Basic deployment flow
Build locally, upload only production files, test Nginx, and verify the homepage, key pages, sitemap, and robots file.