MinakiLabs

Help Desk guide

Serve a business website with Caddy.

Caddy is a free, open-source web server that terminates HTTPS, serves files, and forwards traffic to apps behind it. Here's a practical way to use it for a small-business site.

What Caddy does

  • Automatic HTTPS. When a public domain points at the server, Caddy obtains and renews TLS certificates without a separate tool.
  • Static files. A site built as plain HTML can be served straight from disk with clean URLs.
  • Reverse proxy. One hostname can send API calls to an app on another port while still serving marketing pages as files.
  • One config file. The whole site block lives in a Caddyfile you can version in git.

A minimal static site

Point the domain's DNS at the server. Install Caddy from the vendor packages. Set the site root to the folder where your built HTML lives, enable compression, and reload. Caddy's docs call this pattern file_server with try_files so /about/ serves about/index.html without ugly URLs.

When to add a reverse proxy

A contact form or API that must run as a small program can listen on localhost while Caddy exposes only /quote (or similar) to the internet, forwarding that path to the program and blocking everything else. Keep the program bound to 127.0.0.1 so it is not reachable except through Caddy.

How we use it

minakilabs.com is static HTML rebuilt from this repository and published to a release folder on our auth server. Caddy serves those files directly and forwards only the quote form to a tiny relay on localhost. Other MinakiLabs hostnames use the same server family pattern for their own content.

What it costs

Caddy is free under the Apache 2.0 licence. You pay for the virtual machine, bandwidth, and whoever keeps the config and deploys new HTML.

When a managed host is simpler

If you only need a brochure site and never want to touch a server, a website builder or managed WordPress host may be easier than learning Caddy, even though Caddy itself costs nothing.

Sources

Or let us set it up and run it for you. Call (815) 660-5973 or email support@minakilabs.com, and see our prices. When the menu plays, press 3 for computer and IT help. We work remotely only. We don't make on-site visits.

More guides