Domains & HTTPS

HTTPS everywhere
and custom domains

Each app gets an HTTPS subdomain when it deploys. Add your own domain with one command. Slasha gets and renews the certificate and flags DNS or TLS problems.

storefront · Settings → Domains
storefront.ship.acme.dev Healthy
shop.acme.com Healthy
Add a domain below

Point the domain at your server, and Slasha gets the certificate.

How it works

How domains work

Set up DNS once for the server. New apps then get an address with no DNS changes.

01

Point DNS at the server

Create an A record and a wildcard A record for your platform domain, once.

ship.acme.dev     A  203.0.113.10
*.ship.acme.dev   A  203.0.113.10

02

Deploy an app

The app is live at its slug under the platform domain, with a valid certificate.

https://storefront.ship.acme.dev

03

Add your own domain

Point the domain at the server and add it to the app. The certificate follows within moments.

slasha domains add shop.acme.com

DNS helper

Get the DNS records for your domain

Type your domain and server IP to get the records to add at your DNS provider.

  • Subdomains can use a CNAME, which survives an IP change
  • Apex domains like acme.com need an A record
  • Slasha requests the certificate once the record resolves
Domains guide
TypeName

zone

$

Domain health

Check each domain’s DNS and certificate

Slasha checks that each domain points at your server and its certificate works. Just changed DNS? Click Recheck.

  • DNS: OK, Proxied, Mismatch or Unresolved
  • TLS: Active, Pending, Expired or Unreachable
  • Overall: Healthy, Pending or Error
Troubleshoot a domain
Domains Recheck
storefront.ship.acme.devDNS OK · TLS ActiveHealthy
shop.acme.comDNS Proxied · TLS ActiveHealthy
www.acme.comDNS OK · TLS PendingPending
old-shop.acme.comDNS Mismatch · TLS UnreachableError

HTTPS

Automatic HTTPS certificates

The built-in proxy gets and renews a Let’s Encrypt certificate for every domain. Responses are compressed and get security headers. Nothing to configure.

  • Dashboard, app subdomains and custom domains
  • zstd or gzip, whichever the browser prefers
  • HSTS, nosniff, frame and referrer policies by default
How HTTPS works
shop.acme.comLet’s Encrypt · renews automatically63 daysuntil expiry

❯ curl -sI https://shop.acme.com

HTTP/2 200

strict-transport-security: max-age=31536000; includeSubDomains

x-content-type-options: nosniff

x-frame-options: DENY

referrer-policy: strict-origin-when-cross-origin

Alerts

Get an alert before a certificate expires

Renewal can fail if someone changes your DNS. Add an alert rule to hear about it before a certificate expires or when a domain stops pointing at your server.

  • Domain TLS Expiry: pick a domain and days ahead
  • Domain DNS Misconfigured: domain stops pointing here
  • Slack, Discord, Telegram, email, webhook or a shell command
Alerts
Alerts → Rules

Domain TLS Expiry

shop.acme.com · 14 days

Slack · #ops

Domain DNS Misconfigured

old-shop.acme.com

Email · ops@acme.dev

DNS changed · old-shop.acme.com no longer points at your server

Alert rules are admin-only and set from the dashboard.

More details

Default subdomain

Each app gets <slug>.ship.acme.dev with no DNS changes.

Many domains per app

Add as many custom domains to an app as you need.

Let’s Encrypt

Certificates are issued and renewed for you.

Security headers

HSTS, nosniff, frame and referrer policies on every response.

Compression

zstd and gzip applied at the proxy.

Health checks

DNS and TLS status per domain, with a Recheck button.

Works with Cloudflare

Proxied domains show as Proxied, not broken.

From the CLI

slasha domains list, add and remove.

Questions about domains

Have another question? Ask on GitHub.

Do I have to buy a certificate or run certbot?
No. Slasha’s proxy (Caddy) gets a certificate from Let’s Encrypt as soon as a domain points at your server, and renews it before it expires. You don’t need to schedule anything.
Which DNS records do I need?
For the server: an A record for your platform domain and a wildcard *. A record for it, both pointing at the server. For each custom domain: an A record at the server, or a CNAME to the app’s default host. Apex domains need an A record. See Domains.
Does it work behind Cloudflare’s proxy?
Yes. Slasha knows Cloudflare’s IP ranges, so a proxied domain shows as Proxied instead of a DNS mismatch.
Can one app have several domains?
Yes. Add as many as you like. Each one gets its own certificate and its own health status, and the default <slug>.ship.acme.dev address keeps working too.
Who can add domains?
App owners, admins and members with the App Settings permission. In the CLI, use slasha domains add. In the dashboard, use the app’s Settings tab.

Other features

All features

Put your app on your own domain

Point two DNS records at your server. Every app then gets HTTPS.

$curl -fsSL https://slasha.com/setup.sh | bash