Custom Domains
Serve your uploads from your own branded domain with automatic TLS certificates.
Custom domains let you host your Emberly files under your own domain — e.g., files.yourbrand.com — with automatic TLS via Cloudflare.
Domain Slot Limits
Your total domain slots come from three sources:
| Plan | Base Slots |
|---|---|
| Spark | 3 |
| Glow | 6 |
| Flare | 12 |
| Blaze | 25 |
Bonus slots stack on top:
- GitHub contributors earn +1 to +5 slots — see Contributor Perks
- Discord boosters earn +1 to +3 slots — see Discord Perks
- Additional slots can be purchased individually in your dashboard
Total = Base Plan + Perk Bonuses + Purchased
Setting Up a Custom Domain
Step 1: Add Your Domain
- Go to Dashboard → Domains
- Click "Add Custom Domain"
- Enter your domain (e.g.,
files.yourdomain.com) - Click "Add Domain"
The domain is created with status awaiting_cname.
Step 2: Configure DNS
Add a CNAME record at your DNS provider:
| Type | Name / Host | Target / Value | TTL |
|---|---|---|---|
| CNAME | files (your subdomain) | cname.embrly.ca | 300 |
For a root domain (@), use a CNAME-flattening provider (Cloudflare supports this natively).
Cloudflare users
Set the record to DNS only (grey cloud) during verification. You can enable proxying (orange cloud) after the domain is active.
Step 3: Verify
- Return to Dashboard → Domains
- Click "Verify" next to your domain
- TLS is automatically provisioned — verification usually completes within a few minutes
Setting a Primary Domain
Your primary domain is used for all new uploads automatically:
- Open your domain list
- Click the ⋯ menu next to a verified domain
- Select "Set as Primary"
You can still select a different domain per-file during upload.
Troubleshooting
| Status | Meaning |
|---|---|
awaiting_cname | DNS record not yet detected |
pending | Cloudflare is provisioning TLS |
active | Domain is live and serving files |
error | Verification failed — check DNS |
CNAME not detected?
- DNS changes can take up to 24 hours to propagate
- Verify the target is exactly
cname.embrly.ca - Use
dig CNAME yourdomain.comto check the current value
Certificate errors?
- Ensure the domain is verified (
active) before enabling Cloudflare proxying - If using Cloudflare, temporarily set to DNS-only and re-verify
Cloudflare error 7003/7000 (self-hosted operators):
- SSL-for-SaaS must be enabled on the Cloudflare zone
- Contact Cloudflare support to enable the feature
For more detail see the Domain API reference and Cloudflare Setup guide.