Skip to content

Custom Domains

Every web service on Stackpad gets a default URL at your-project.your-org.stackpad.eu. You can also connect your own custom domain with automatic HTTPS.

Adding a custom domain

  1. Go to your project and select the web service
  2. Open the Domains tab
  3. Click Add Domain and enter your domain (e.g. app.example.com)
  4. Add the TXT record shown in the dashboard to verify domain ownership
  5. Configure your DNS (CNAME or A record) as shown below
  6. Stackpad verifies both records and provisions an HTTPS certificate

Domain ownership verification

Custom domains require TXT record verification before they can be activated. This prevents domain hijacking — someone else can’t point their domain at your service and intercept your traffic.

When you add a domain, Stackpad generates a unique verification token:

TypeNameValue
TXT_stackpad-verify.example.comsp-verify-{unique-token}

Add this TXT record at your DNS provider. Stackpad checks for the record automatically every 5 minutes. Once verified, the domain status changes from Pending to Active.

You can also click Verify in the dashboard to trigger an immediate check.

DNS configuration

You need to create a DNS record pointing your domain to Stackpad. The type depends on the domain:

For subdomains like app.example.com or docs.example.com, create a CNAME record:

TypeNameValue
CNAMEappyour-project.your-org.stackpad.eu

Root domains

For root domains like example.com, create an A record pointing to Stackpad’s IP address. The IP is shown in the dashboard when you add the domain.

TypeNameValue
A@(shown in dashboard)

HTTPS certificates

Stackpad automatically provisions and renews HTTPS certificates for your custom domains using Let’s Encrypt via Caddy. You don’t need to configure anything — certificates are issued as soon as DNS verification succeeds.

  • Automatic provisioning — certificate is issued within minutes of DNS verification
  • Automatic renewal — certificates are renewed before expiration
  • HTTP → HTTPS redirect — all HTTP traffic is automatically redirected to HTTPS

Multiple domains

You can add multiple domains to a single service. One domain is marked as primary and the rest redirect to it. This is useful for:

  • www.example.com → redirects to example.com
  • Old domains redirecting to a new domain

Domain limits by plan

PlanCustom domains per organization
Starter0
Pro5
Business20

What’s next?