How to Build and Deploy Any Website to a Hostinger VPS Server
This is the complete recipe for going from "empty laptop" to "my own website, live on the internet, that I can update myself" — using Claude Code, GitHub, and a Hostinger VPS (a computer you rent from Hostinger that runs your site). It assumes you know nothing yet. Every piece of jargon is explained the first time it shows up, including things like "what is a terminal."
This guide is specifically for Hostinger's VPS hosting — not shared
hosting, not another provider's VPS. Some steps (like the hPanel dashboard
and the free default domain) are Hostinger-specific and won't look the same
elsewhere. It uses yourdomain.com as a stand-in example everywhere a real
domain would go, and your-project-name as a stand-in for whatever you
actually call your site. Follow it for any website you build, any time you
start a new one, as long as it's hosted on a Hostinger VPS.
- Part 0 explains terminals, PowerShell, and Git Bash — read this first if you've never typed a command into a computer before.
- Parts A–C you only ever do once per laptop / once per VPS.
- Part D you repeat for every new website you start.
- Part F is the loop you'll use forever, for every change to any site.
Contents
Jump straight to any part, or read it in order from the start.
- 01Part 0 — What is a terminal, PowerShell, and Git Bash, and how do I open them?
- 02The big picture (read this before starting)
- 03Part A — One-time laptop setup
- 04Part B — One-time GitHub setup
- 05Part C — One-time Hostinger VPS setup
- 06Part D — Per-project setup (repeat for every new website)
- 07Part E — Skills to give Claude Code
- 08Part F — The daily workflow (repeat forever, for every change)
- 09Part G — What Claude Code will always ask you before doing
- 10Part H — What Claude Code can do directly on your VPS
- 11Part I — Claude Code away from your laptop: Desktop, mobile, and the browser
- 12Glossary
- 13Troubleshooting quick reference
Published