Install IIS and Serve a Static Site with HTTPS
Install IIS on Windows Server 2022, publish a static site, bind HTTPS with a certificate, and redirect HTTP so the origin is not leftover plaintext.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Install IIS on Windows Server 2022, publish a static site, bind HTTPS with a certificate, and redirect HTTP so the origin is not leftover plaintext.
Turn on MariaDB binary logs, take a consistent dump, and practice point-in-time recovery so a bad write is not a full-day restore from last night.
Put Redis in front of Postgres or MySQL with cache-aside reads, write-time invalidation, and TTLs so the cache stays a speed layer, not a second database.
Probe your own HTTP endpoints and TLS certificates from blackbox_exporter so Prometheus notices a dead site or an expiring cert before users do.
Keep secrets out of git with .env files and 12-factor environment variables so a single Ubuntu VPS can host one Python app cleanly and safely.
Listen on loopback for app, database, and Redis. Bind the public IP only at nginx so scanners, scripts, and stray clients never reach the internals.
Make containers report their own readiness with HEALTHCHECK and compose restart policies, so failed services restart before anyone notices.
Give an ops agent memory that fits a Linux VPS: keep transcripts, roll summaries, and use local SQLite vectors only when keyword search is not enough.
Learn which self-hosted data actually needs backing up and how often, then wire automated off-site restores you can actually trust when it matters.
Create and manage network bridges on Linux for virtualization, containers, and transparent network segment linking.
Share build outputs between jobs with GitHub Actions artifacts and speed up repeated installs with dependency caches — storage limits and patterns included.
Use restic to snapshot entire directories daily: client-side encryption, content-defined deduplication, and restore that is a single copy command away.