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.
Point your DNS at StackBlaze, cert-manager provisions and renews TLS certificates automatically.
Adding a domain
Section titled “Adding a domain”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.
DNS configuration
Section titled “DNS configuration”Subdomains (CNAME)
Section titled “Subdomains (CNAME)”For subdomains like app.example.com or www.example.com, create a CNAME record pointing to your service’s StackBlaze hostname.
Type: CNAMEName: appValue: my-service.stackblaze.appTTL: 300Apex domains (root domain)
Section titled “Apex domains (root domain)”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.
Type: AName: @Value: 1.2.3.4TTL: 300
Type: AName: @Value: 5.6.7.8TTL: 300Verification
Section titled “Verification”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:
# Check CNAME resolutiondig app.example.com CNAME
# Check A record (apex)dig example.com ASSL certificates
Section titled “SSL certificates”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.
Multiple domains
Section titled “Multiple domains”| Plan | Custom domains per service |
|---|---|
| Free | 1 |
| Starter | 5 |
| Pro | Unlimited |
| Enterprise | Unlimited |
Domain redirects
Section titled “Domain redirects”You can configure redirects between domains from Settings → Domains. Common configurations:
- www → apex:
www.example.comredirects toexample.com(301) - apex → www:
example.comredirects towww.example.com(301) - Old domain → new domain: permanently redirect a legacy domain to your current one
Troubleshooting
Section titled “Troubleshooting”Verification is stuck
Section titled “Verification is stuck”If domain verification is taking more than 5 minutes, check:
- The DNS record is set to the correct value (copy-paste from the dashboard, don’t retype)
- The TTL on any previous records has expired (lower TTL before making changes)
- No DNSSEC issues, use
dnssec-analyzer.verisignlabs.comto check - The domain isn’t blocked by a CAA record that excludes Let’s Encrypt
CAA records
Section titled “CAA records”If you have CAA records on your domain, ensure Let’s Encrypt is permitted:
Type: CAAName: @Value: 0 issue "letsencrypt.org"