Architecture & BFF

Custom Domain Edge Routing

Direct Definition

Custom Domain Edge Routing allows developers to map their own branded domain (e.g., api.yourdomain.com) to edge infrastructure via CNAME and automated TLS issuance. This creates white-labeled API endpoints, prevents third-party ad-blocker filtering, and enhances brand authority.

Technical Architecture & Deep-Dive

When frontends query third-party gateway URLs like `https://realcomposer.com/v1/workspace/endpoint`, internal architecture is visible in DevTools and certain privacy extensions or corporate firewalls may block third-party domains.

Custom Domain routing leverages Cloudflare for SaaS (Custom Hostnames) to issue and automatically renew free DV SSL certificates for customer hostnames. Edge Workers intercept incoming `Host` headers to identify the workspace and execute pipelines with zero URL prefix bloat.

Key Architectural Benefits

White-labels API endpoints under your company domain (e.g. `api.yourbrand.com`).
Eliminates third-party ad-blocker domain matching in web browsers.
Provides automated TLS certificate issuance and renewal with zero manual DevOps.
REALCOMPOSER EDGE WORKSPACE

Implement Custom Domain Edge Routing at the Edge

Deploy lightweight API aggregation, edge caching, and secret injection in minutes without Docker containers or complex servers.

START BUILDING FREE

Frequently Asked Questions

Q:Do custom domains require moving DNS to Cloudflare?

No. Customers can keep their existing DNS provider (Route 53, Namecheap, GoDaddy) and simply point a CNAME record to the designated fallback origin.

Related Architecture Concepts

Ready-to-Use Edge Recipes