Quick answer: The 2026 GitHub alternative on a VPS is Forgejo (Gitea fork): Docker, HTTPS via proxy, Git SSH on 2222, backup repos + DB.
VPS & root servers: Order VPS in Germany · NexoraHost · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe · GDPR)
Frequently asked questions (FAQ)
Forgejo or Gitea?
Forgejo is the community fork (Codeberg) and the usual 2026 self-host choice. Day-to-day it feels like Gitea.
Which VPS?
2–4 GB for small teams. Actions + many repos: 8 GB + NVMe. Use Postgres once you leave “just me”.
SSH clone vs host SSH?
Keep host SSH on 22. Map Forgejo SSH to 2222 or a dedicated hostname.
Backup?
data volume (repos, LFS) + database. Use the app dump too.