Migrations Migrating from Heroku, Render, Hatchbox or Cloud 66? We move your production app within 48 hours →
← Templates · Dev Tools
Community

Deploy self-hosted Headscale in 60 seconds (managed updates & backups)

Self-hosted Tailscale control server — your own private mesh VPN for every laptop, server and phone.

Price comparison

Managed SaaS / Elestio$24 – $60 / month

Self-hosted via Railyard$22/mo Launch plan for all your apps + €5.99/mo Hetzner server

You save up to 53%

Pre-configured stack

  • headscale
  • Automatic HTTPS

Sign in with GitHub, start your 14-day trial and deploy Headscale to your own server · use email instead

What you get

  • Runs from the official image headscale/headscale:stable
  • A community template, not yet verified end to end by the Railyard team
  • Automatic HTTPS and zero-downtime deploys

How to deploy Headscale

  1. 1

    Connect a server

    Attach a DigitalOcean, Hetzner or Vultr server to Railyard, or any Linux box over SSH.

  2. 2

    Click "Deploy Headscale"

    Railyard builds the container.

  3. 3

    Set your domain

    Point your domain at the app. Railyard issues an HTTPS certificate and keeps it renewed automatically.

Why deploy on Railyard

Railyard runs it standalone on a server you already pay for — no addons to provision, with zero-downtime deploys and scaling still included.

Deploying Headscale is one piece of a bigger stack you can keep building — add a database, a worker, a cache, or another app, all on the same servers you already pay for.

Good for

  • A private network between your laptops, servers and phones with the regular Tailscale apps
  • Reach internal dashboards and databases without opening them to the internet

Good to know

  • Create a user from the app's Console: headscale users create <name>
  • Make a login key: headscale preauthkeys create --user <id> --reusable --expiration 24h
  • On each device: tailscale up --login-server https://<your app address> --authkey <key>
  • Relays use Tailscale's public DERP servers by default; the database and keys live on a volume and survive deploys
  • There's no web page: the address is for Tailscale apps, so a browser shows an empty page. Check it's up at /health

Project docs ↗

Frequently asked questions

How much does it cost to self-host Headscale?
Launch is $22/month per team with 2 servers and unlimited apps included; Scale is $45 with 5 servers, previews and failover; Team is $79 with 10 servers and single sign-on. Every plan starts with a 14-day free trial. You pay your cloud provider for the server directly; Railyard adds no markup on compute.
What do I need to self-host Headscale?
A server from a provider such as DigitalOcean, Hetzner or Vultr. Headscale runs standalone, with nothing else to provision, with HTTPS and your domain configured.
How do I deploy Headscale on my own server?
Connect a server to Railyard, click "Deploy Headscale", and set your domain. Railyard builds the container, wires up the services it needs, and issues an HTTPS certificate automatically.
Can I use my own domain with Headscale?
Yes. Point a DNS record at your server and Railyard issues and renews an HTTPS certificate for it automatically.

Related templates

Theme
Colors