Welcome to HowToShipIt — practical how-to guides for developers: code, AI tools, and servers, explained step by step.

VPS Disk Full? How to Find What’s Eating Your Space and Free It Safely (2026)

vps disk full — find what's eating your VPS disk space and free it safely

Your deploys are failing, MySQL has stopped accepting writes, and the error staring back at you is No space left on device. A vps disk full incident feels like a catastrophe, but it is usually a ten-minute fix once you know where to look. This guide walks you through the exact order to diagnose it, … Read more

How to Set Up WireGuard on Your VPS: Your Own Private VPN in 15 Minutes (2026)

WireGuard VPS setup — server connected to laptop and phone through an encrypted VPN tunnel

A commercial VPN costs $5–12 a month, caps how many devices you can connect, and asks you to trust a company you have never met with all of your traffic. If you already rent a VPS, you can skip all of that. This WireGuard VPS setup turns a cheap server into your own private VPN … Read more

How to Set Up Fail2ban on Ubuntu: SSH, Nginx, and WordPress Protection (2026)

Learning how to set up Fail2ban is the fastest way to stop the background noise every public VPS attracts. Within minutes of opening SSH to the internet, bots start trying common usernames and passwords, and if you run a website, the same bots hammer your login pages too. Fail2ban watches your logs, counts repeated failures, … Read more

SSH Hardening: How to Lock Down Your VPS in 7 Steps (2026)

SSH hardening: locked-down server with key and shield illustration

Every server with a public IP address is being probed on port 22 right now. Automated botnets try common usernames and passwords against SSH daemons around the clock — thousands of attempts a day against a completely fresh VPS. The good news: SSH hardening is one of the highest-return security tasks in all of system … Read more

How to Fix 502 Bad Gateway on Nginx: A Log-First Debugging Guide (2026)

Illustration of a server with a broken connection: 502 bad gateway nginx error

Your site was fine ten minutes ago. Now every page returns 502 Bad Gateway and your heart rate is doing the same thing as your error log. Take a breath: a 502 Bad Gateway on Nginx is one of the most debuggable errors in all of server land, because the error message is telling you … Read more