Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Best Way to Host Next.js Websites

ByteGrad via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn the optimal hosting strategies for Next.js websites through a comprehensive 18-minute tutorial that explores multiple deployment options and their trade-offs. Discover the differences between static hosting, managed hosting platforms, and self-hosting solutions while understanding key concepts like CDN versus edge networks, serverless versus long-running servers, and the distinctions between Static Site Generation (SSG), Server-Side Rendering (SSR), and Incremental Static Regeneration (ISR). Explore practical implementation using an example application, covering the build process with npm run build, and dive into self-hosting options including Coolify and SST. Gain insights into server fundamentals, evaluate the cost-effectiveness and complexity of self-hosting, and learn about Node.js server hosting with Docker containerization. Master container registry usage with ghcr.io and understand VPS hosting considerations to make informed decisions about the most suitable hosting approach for your Next.js projects based on your specific requirements and constraints.

Syllabus

00:00 Overview of options
01:08 Example app
02:06 npm run build
02:57 Static hosting
04:30 Managed hosting
05:22 CDN vs Edge network
06:09 Serverless vs Long-running
06:53 SSG vs SSR vs ISR
08:36 Self-hosting
08:44 Coolify / SST
09:07 What is a server?
10:04 Is self-hosting cheap / easy / well-supported?
11:18 Node.js server hosting
11:42 Host with Docker
13:01 Container registry ghcr.io
14:40 VPS hosting

Taught by

ByteGrad

Reviews

Start your review of The Best Way to Host Next.js Websites

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.