Custom Domains
DocsNetworkingCustom Domains

Custom Domains

Attach your own hostname to a web app. The default URL is already HTTPS on *.stackblaze.app.

Adding a custom domain: Settings → Domains → Custom Domain, then CNAME to the app’s *.stackblaze.app hostname and the verification TXT.

Adding a domain

Open the app, go to the Settings tab, jump to Domains, and click Custom Domain. Enter a hostname such as app.example.com. The dialog confirms the name is available, then opens Configure DNS Records.

Domain edits are staged like other app changes. Click Commit N changes on the canvas after you add or remove a hostname.

Plans include a custom-domain limit. If you hit it, the dashboard asks you to upgrade before adding another hostname.

DNS records

The dashboard asks for both a CNAME and a TXT. Copy the values from Configure DNS Records — do not invent the target.

CNAME

Point the hostname at this app’s platform hostname under *.stackblaze.app (shown as Value in the dialog after deploy).

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

Verification TXT

Add the TXT the dialog shows so StackBlaze can verify you control the zone:

DNS record (verification)
Type:  TXT
Name:  _stackblaze-verify.app
Value: stackblaze-verify=<token-from-dashboard>

On an apex hostname the TXT name is _stackblaze-verify at the zone root.

Apex (root) domains

Many DNS providers reject a CNAME on the apex. Use CNAME flattening / ALIAS / ANAME if your provider offers it, and still target the same *.stackblaze.app hostname. StackBlaze does not publish a pair of anycast A records for you to type by hand.

Cloudflare

You can CNAME (or flatten at the apex) to the app’s *.stackblaze.app hostname. Keep the verification TXT at the registrar or in Cloudflare DNS as shown in the dashboard.

Check DNS

Terminal
# CNAME should be the app's platform hostname
dig app.example.com CNAME

# Verification TXT
dig _stackblaze-verify.app.example.com TXT

TLS

The platform hostname already includes HTTPS (Bunny TLS on *.stackblaze.app). After the CNAME and TXT are correct and you commit, TLS is provisioned for the custom hostname. See SSL / TLS.

Redirects

StackBlaze does not offer a domain-redirect product on this screen. Handle www ↔ apex or legacy-host moves in your web server or app code. See Redirects.

Troubleshooting

CNAME mismatch

The dialog shows the current CNAME if it points somewhere else. The Value must be this app’s *.stackblaze.app hostname — not an old *.stackblaze.cloud app host.

Verification stuck

Confirm the TXT name and stackblaze-verify= token match the dialog, wait for TTL, then commit again if the hostname was added before DNS existed.