Skip to Content
Setup GuidesCustom Domain

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:

  1. A visitor navigates to yourcompany.scendcore.com.
  2. The Cloudflare Worker intercepts the request.
  3. The Worker forwards the request to app.scendcore.com with an X-Tenant-Slug header set to yourcompany.
  4. The ScendCore middleware reads the header and resolves the correct tenant.
  5. 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:

  1. Make sure your tenant has a slug set (visible in your ScendCore settings).
  2. Navigate to https://your-slug.scendcore.com.
  3. 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:

SubdomainPurpose
appMain application
wwwWebsite redirect
apiAPI endpoints
mailEmail infrastructure
repliesInbound email reply routing
stagingStaging environment
authAuthentication services
docsDocumentation 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

  1. Add a CNAME record in your domain’s DNS pointing to app.scendcore.com.
  2. Contact ScendCore support to register your custom domain with the routing infrastructure.
  3. 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.com also authenticates you on yourcompany.scendcore.com.
  • Sessions are shared across all subdomains under the same root domain.
  • Custom domains outside .scendcore.com require 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 dig or nslookup to verify DNS propagation.
  • Contact support to ensure your domain is registered in the routing layer.
Last updated on