Hosting a Next.js app on a Hetzner VPS via Coolify
Unproofread notes
A quick guide to host a Next.js app on a Hetzner VPS via Coolify:
- Set up an Ubuntu Hetzner VPS and grab the public IP
- Connect to the server from your terminal via SSH
ssh root@[IP_ADDRESS]
- Update and upgrade the Ubuntu server
sudo apt update && sudo apt upgrade
- Install Coolify on the server by running the following command
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
- After successful installation, visit
http://[ID_ADDRESS]:8000
and register a new account - Connect your private or public GitHub repo and publish your Next.js app
I have also created this step-by-step YouTube video explaining everything from creating the VPS to installing Coolify and hosting the website.
Comment via email