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.
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.1002
Deploy an app
The app is live at its slug under the platform domain, with a valid certificate.
https://storefront.ship.acme.dev03
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.comDNS 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.comneed an A record - Slasha requests the certificate once the record resolves
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
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
❯ 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
Domain TLS Expiry
shop.acme.com · 14 days
Slack · #ops
Domain DNS Misconfigured
old-shop.acme.com
Email · ops@acme.dev
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?
Which DNS records do I need?
*. 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?
Can one app have several domains?
<slug>.ship.acme.dev address keeps working too.Who can add domains?
slasha domains add. In the dashboard, use the app’s Settings tab.Other features
All featuresPut your app on your own domain
Point two DNS records at your server. Every app then gets HTTPS.