Why Use a Custom Shortener?
A QR code linking to `go.acmecorp.com/menu` communicates brand ownership and trustworthiness in a way that `bit.ly/3xYz9q` does not. When a customer scans and sees your domain in the redirect, they know where the link is going. Custom shorteners also eliminate the third-party dependency risk.Option 1: Shlink (Self-Hosted)
Shlink is a modern, open-source URL shortener built for self-hosting. Features:- Custom domain support (`go.yourbrand.com`) - REST API for programmatic link creation - QR code generation built in - Click analytics with geolocation - Docker deployment available
Setup overview: 1. Deploy Shlink on a VPS (DigitalOcean, Hetzner, Railway) or as a Docker container 2. Point your `go.yourbrand.com` subdomain to the server IP 3. Configure SSL certificate (Let's Encrypt, free) 4. Access via Shlink Web Client (free, open-source) for link management
Cost: ~£3–10/month server cost, zero software licensing.
Option 2: YOURLS (Self-Hosted)
The original open-source self-hosted URL shortener. Simpler than Shlink, plugin ecosystem available.Pros: Mature project, lots of plugins, minimal server requirements. Cons: Older codebase, less elegant API than Shlink, basic analytics.
Option 3: Dub.co (SaaS with Custom Domain)
A modern SaaS link management platform that supports custom domains on paid plans. Managed infrastructure — no server to maintain.Pros: Modern UI, excellent analytics, easy setup. Cons: Monthly subscription cost; links depend on Dub.co's uptime.
Option 4: Cloudflare Workers + KV
For developers: a Cloudflare Worker script handles redirects, with KV (key-value storage) storing the short code to destination mapping.Pros: Serverless, globally distributed, extremely fast, free for modest usage. Cons: Requires developer setup; management UI must be custom-built.
Domain Configuration
For any custom shortener:1. Register or use a subdomain: `go.yourbrand.com`, `links.yourbrand.com`, or a short standalone domain (`yourbr.co`) 2. Add a CNAME or A record in your DNS management pointing to your shortener server/service 3. Enable HTTPS via SSL certificate 4. Test a redirect before publishing QR codes
Creating QR Codes from Your Custom Shortener
Once your shortener is running:1. Create a short link (e.g., `go.yourbrand.com/menu`) 2. Copy the short URL 3. Generate a static QR code from this URL (no need for another dynamic layer — the shortener IS the dynamic layer) 4. The QR is now permanent; update destinations in the shortener dashboard as needed
