Custom Domain
Every ScendCore tenant can be accessed via a custom subdomain under scendcore.com (e.g., yourcompany.scendcore.com). This guide explains how subdomain routing works and which subdomains are reserved.
How Subdomain Routing Works
ScendCore uses a Cloudflare Worker to route subdomain requests:
- A visitor navigates to
yourcompany.scendcore.com. - The Cloudflare Worker intercepts the request.
- The Worker forwards the request to
app.scendcore.comwith anX-Tenant-Slugheader set toyourcompany. - The ScendCore middleware reads the header and resolves the correct tenant.
- Redirect URLs are rewritten so the browser stays on the tenant subdomain.
This means your team and customers always see your branded subdomain in the browser.
Setting Up Your Subdomain
Your subdomain is based on the slug assigned to your tenant during onboarding. To use it:
- Make sure your tenant has a slug set (visible in your ScendCore settings).
- Navigate to
https://your-slug.scendcore.com. - You will be redirected to log in if you are not already authenticated.
No DNS configuration is required on your end — the wildcard CNAME is already configured.
Reserved Subdomains
The following subdomains are reserved and cannot be used as tenant slugs:
| Subdomain | Purpose |
|---|---|
app | Main application |
www | Website redirect |
api | API endpoints |
mail | Email infrastructure |
replies | Inbound email reply routing |
staging | Staging environment |
auth | Authentication services |
docs | Documentation site |
If your desired slug conflicts with a reserved subdomain, choose an alternative.
Custom Domains (Your Own Domain)
If you want to use your own domain (e.g., crm.yourcompany.com) instead of a scendcore.com subdomain, this requires additional DNS configuration:
DNS Setup
- Add a CNAME record in your domain’s DNS pointing to
app.scendcore.com. - Contact ScendCore support to register your custom domain with the routing infrastructure.
- Wait for DNS propagation (can take up to 48 hours).
SSL/TLS
SSL certificates are automatically provisioned through Cloudflare for all routed domains.
Authentication and Cookies
Authentication cookies are scoped to .scendcore.com, which means:
- Logging in on
app.scendcore.comalso authenticates you onyourcompany.scendcore.com. - Sessions are shared across all subdomains under the same root domain.
- Custom domains outside
.scendcore.comrequire separate authentication handling.
Troubleshooting
Subdomain shows “page not found”
- Verify your tenant slug matches the subdomain exactly.
- Check that the slug exists in your tenant settings.
Redirect loops on subdomain
- Clear your browser cookies for
scendcore.com. - Ensure you have an active account with the correct tenant membership.
Custom domain not resolving
- Confirm your CNAME record points to
app.scendcore.com(not an IP address). - Use
digornslookupto verify DNS propagation. - Contact support to ensure your domain is registered in the routing layer.