Skip to content

Infrastructure

VPS & Ubuntu server setup
done properly.

A clean Ubuntu server with SSH access, firewall, reverse proxy, TLS and Docker — documented so you can run it.

Tools in this scope

  • Ubuntu
  • VPS
  • SSH
  • Nginx
  • Caddy
  • Docker
  • Dokploy
  • Cloudflare
  • Let's Encrypt

Overview

A fresh VPS is not production-ready because it has an IP address. It needs a user model, a firewall, a reverse proxy, certificates and a deploy path before the first real request.

I set up Ubuntu servers for small teams and solo products, keeping the configuration explicit. You get a server you can log into, understand and hand over — not a pile of undocumented root commands.

What you get

  • Base hardening

    Non-root user, SSH keys, disabled password login, firewall rules and the minimum services needed.

  • Web server & TLS

    Nginx or Caddy configured for the app, automatic certificates and sane redirects.

  • Docker & deploys

    Docker/compose services and a deploy approach that can be repeated without editing files by hand.

  • DNS & Cloudflare

    Records, proxy settings and the cache/security basics that match the application.

  • Backups & handover

    A backup routine, a short runbook and a walkthrough of what lives where.

How the work runs

  1. 01

    Prepare access

    Confirm provider access, domain/DNS control and the app's runtime requirements.

  2. 02

    Build the base

    Provision Ubuntu, lock down SSH, configure the firewall and install the runtime.

  3. 03

    Ship the app

    Deploy the service behind the proxy, verify TLS and document the operational steps.

Is this a fit?

Good fit

  • You have a VPS and need it configured properly for a real application.
  • You want to move off a shared host or an undocumented server.
  • You need a clean handover with SSH access and a runbook you can follow.

Probably not

  • You need Windows Server administration; my server work is Ubuntu/Linux-focused.
  • You need a fully managed hosting provider with a support desk — this is setup and handover, not managed hosting.

Related work

All projects
Welllifehouse — E-commerce website project cover

01 · E-commerce website

Welllifehouse

Next.js

E-commerce experience for Welllifehouse, built with Next.js — product browsing, cart and checkout flows.

Role
Full-stack developer (Next.js)
Year
2026
GetWayBD — Website project cover

03 · Website

GetWayBD

WordPress

WordPress website for getwaybd.com.

Role
Full-stack developer (Next.js)
Year
2025

Related notes

All notes
Nginx as a reverse proxy: a minimal setup for self-hosters

5 min read

Nginx as a reverse proxy: a minimal setup for self-hosters

One VPS, several apps, one set of ports 80 and 443. How a reverse proxy works, a minimal Nginx config that routes domains to local apps, HTTPS with Certbot, the WebSocket headers people forget, and the failure drill when you get a 502.

Read the note

How ssh works

4 min read

How SSH works: what happens when you type ssh user@host

SSH is two things people call one: an encrypted protocol, and a terminal session that rides inside it. Here is the connection stage by stage, why keys beat passwords, and where it bites.

Read the note

Coolify

3 min read

Coolify: the self-hosted Vercel alternative

Coolify is a free, open-source, self-hostable PaaS — push to Git, get a deployment, HTTPS, backups and 360+ one-click services on your own server. Honest notes inside.

Read the note

Questions people ask

The setup is provider-agnostic as long as you have root or a sudo-capable user and console access. I have worked with standard Ubuntu VPS environments; the runbook is written for your provider's access model.

Yes, after reviewing the current stack, data and DNS. I will plan the cutover and verify the app before changing production DNS.

No. You own the provider account and billing. I configure the server you control and keep the credentials in your hands.

Next step

Ready to scope your VPS & Ubuntu server setup?

A short conversation is usually enough to know whether this is the right fit. No pressure, no invented promises.

Start a conversation