Skip to content

Public networking

Public networking is how a service reaches the internet. Generate a *.stackblaze.app domain from the service sheet, or attach your own hostname. TLS is issued after DNS verification.

Custom domain + TLS app.example.com CNAME StackBlaze edge cert-manager auto TLS DNS verification in dashboard - certificate renews automatically

Point your DNS at StackBlaze, cert-manager provisions and renews TLS certificates automatically.

From your service’s dashboard, go to Settings → Domains → Add domain. Enter your domain (e.g. app.example.com or example.com). StackBlaze will show you the DNS records to configure.

For subdomains like app.example.com or www.example.com, create a CNAME record pointing to your service’s StackBlaze hostname.

DNS record (subdomain)
Type: CNAME
Name: app
Value: my-service.stackblaze.app
TTL: 300

Many DNS providers don’t allow CNAME records on the apex (root) domain because it conflicts with SOA and NS records. Use one of these alternatives instead:

  • ALIAS or ANAME record: supported by Cloudflare (as “CNAME flattening”), Route 53, Namecheap, and DNSimple. Behaves like a CNAME but is valid at the apex.
  • A records: point to our anycast IP addresses. Use this if your DNS provider doesn’t support ALIAS/ANAME.
DNS record (apex, A records)
Type: A
Name: @
Value: 1.2.3.4
TTL: 300
Type: A
Name: @
Value: 5.6.7.8
TTL: 300

After you configure the DNS record, StackBlaze automatically polls for it every 30 seconds. Verification typically completes within 60 seconds for new DNS records. If your TTL was previously set high, you may need to wait for the old record to expire.

You can also verify manually with:

Terminal
# Check CNAME resolution
dig app.example.com CNAME
# Check A record (apex)
dig example.com A

Once DNS verification succeeds, StackBlaze automatically provisions a Let’s Encrypt TLS certificate via cert-manager. This usually takes 30–120 seconds. During provisioning, your domain will briefly show an SSL error, this resolves automatically.

Certificates are renewed automatically before expiry. You don’t need to do anything to maintain SSL.

Plan Custom domains per service
Free 1
Starter 5
Pro Unlimited
Enterprise Unlimited

You can configure redirects between domains from Settings → Domains. Common configurations:

  • www → apex: www.example.com redirects to example.com (301)
  • apex → www: example.com redirects to www.example.com (301)
  • Old domain → new domain: permanently redirect a legacy domain to your current one

If domain verification is taking more than 5 minutes, check:

  1. The DNS record is set to the correct value (copy-paste from the dashboard, don’t retype)
  2. The TTL on any previous records has expired (lower TTL before making changes)
  3. No DNSSEC issues, use dnssec-analyzer.verisignlabs.com to check
  4. The domain isn’t blocked by a CAA record that excludes Let’s Encrypt

If you have CAA records on your domain, ensure Let’s Encrypt is permitted:

Required CAA record
Type: CAA
Name: @
Value: 0 issue "letsencrypt.org"