{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "CDN domains and SSL | Edge Docs",
  "headline": "CDN domains and SSL | Edge Docs",
  "description": "Add custom domains to Edge CDN with an external URL or storage bucket origin, CNAME setup, automatic SSL via Let's Encrypt, and optional password protection.",
  "url": "https://edge.network/docs/cdn/domains",
  "image": "https://edge.network/og/docs__cdn__domains.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Cdn",
        "item": "https://edge.network/docs/cdn"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Domains",
        "item": "https://edge.network/docs/cdn/domains"
      }
    ]
  },
  "section": "documentation/cdn",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Overview Getting started Deployments Domains & SSL Configuration Caching Cache purging Image optimisation Watermarking Analytics Viewer geography Compute DNS Storage Shield Assist Developer tools\n\n REST API CLI Dev tooling Agents\n\n Agent tooling Account\n\n Account & support Adding a domain Copy Anchor Link \n\n Each domain you add to a deployment needs to be configured with a domain name and an origin source:\n\n Domain: the domain or subdomain visitors will use (e.g. cdn.yoursite.com ).\n Origin type: where the CDN fetches content from:\n External URL: pull content from any HTTP/HTTPS endpoint: your origin server, another cloud provider&#x27;s storage, or any web-accessible URL. Example: https://your-bucket.s3.amazonaws.com .\n Storage Bucket: use an Edge Storage bucket as your origin. No external URL is needed: select one of your buckets directly. This suits static assets, images and files. Learn more about Edge Storage .\n\n Tip\n\n Storage bucket integration. When using a Storage bucket as your origin, the CDN fetches content directly via internal networking. This means faster origin fetches, no public bucket configuration required, and unified billing.\n\n DNS configuration Copy Anchor Link \n\n After adding a domain, you need to configure your DNS to point to Edge CDN.\n\n For subdomains (recommended) Copy Anchor Link \n\n Add a CNAME record:\n\n Output Copy Text cdn.yoursite.com. CNAME cdn.edge.network. Warning\n\n Root domains (apex domains) (e.g. yoursite.com ) cannot use CNAME records. Use your DNS provider&#x27;s ALIAS or ANAME record type, or consider using Edge DNS, which supports this natively.\n\n The Domains tab: one domain live with SSL, one waiting for its DNS record Behind Cloudflare or another proxy Copy Anchor Link \n\n You can keep Cloudflare&#x27;s proxy (the orange cloud) switched on in front of Edge CDN, for example to use its WAF or bot rules. A proxied hostname no longer shows our CNAME in public DNS, so Edge verifies ownership with a TXT record instead. Tick Behind Cloudflare or another proxy when adding the domain (or in the domain&#x27;s edit dialog), then add both records:\n\n Output Copy Text cdn.yoursite.com. CNAME cdn.edge.network. (proxied is fine) \n _edge-verify.cdn.yoursite.com. TXT \"edge-cdn-verify=<token>\" (DNS only) The exact TXT name and value are shown in Control. The record is checked when the domain is verified and again on every hourly health check, so leave it in place.\n\n Note\n\n Cloudflare SSL/TLS mode: use Full . Edge CDN issues its own Let&#x27;s Encrypt certificate behind the proxy, so Full (strict) also works once the SSL status shows active. Flexible causes a redirect loop and must not be used.\n\n Two caches: Cloudflare caches in front of Edge. A purge in Edge does not clear Cloudflare&#x27;s copy, so purge there as well when you need an immediate update.\n\n Domain status Copy Anchor Link \n\n Domains go through several states during setup.\n\n DNS status Copy Anchor Link \n\n pending : waiting for you to configure DNS\n verified : DNS is correctly configured\n failed : DNS check failed; verify your CNAME record\n SSL status Copy Anchor Link \n\n issuing... : certificate is being issued (30–60 seconds)\n active : a valid SSL certificate is in place\n failed : certificate issuance failed; check DNS\n Automatic SSL certificates Copy Anchor Link \n\n Edge CDN automatically provisions free SSL certificates for all domains using Let&#x27;s Encrypt.\n\n Free certificates: no cost for SSL; included with every domain\n Auto-renewal: certificates renew automatically before expiry\n Fast issuance: certificates issued in under 60 seconds\n TLS 1.3: modern encryption with the latest TLS version\n Editing the domain origin Copy Anchor Link \n\n You can change the origin for any domain at any time without removing and re-adding it.\n\n Click the domain row you want to edit.\n The Edit Domain Origin modal opens.\n Select a new origin type ( External URL or Storage Bucket ).\n Enter the new origin URL or select a different bucket.\n Click Save Changes .\n Note\n\n No downtime. Changing the origin causes no interruption. The CDN starts fetching from the new origin for subsequent requests while existing cached content remains available.\n\n Root path behaviour Copy Anchor Link \n\n Control what happens when visitors access the root path ( / ) of your CDN domain directly.\n\n Proxy to origin (default) Copy Anchor Link \n\n Requests to the root path are proxied to your origin as normal. Use this if your origin has content at its root.\n\n Redirect to URL Copy Anchor Link \n\n Redirect visitors to a URL of your choice. Useful when your CDN subdomain should redirect to your main site.\n\n 301 Permanent: for permanent redirects (SEO-friendly, browsers cache it)\n 302 Temporary: for temporary redirects (not cached)\n Show Edge info page Copy Anchor Link \n\n Display a simple branded page identifying the domain as an Edge CDN endpoint. Useful for CDN-only subdomains that shouldn&#x27;t be browsed directly.\n\n Tip\n\n Common use case: if your CDN is at cdn.yoursite.com serving assets for yoursite.com , you might want to redirect root path visitors to your main site rather than showing a directory listing or 404 from your origin.\n\n Password protection Copy Anchor Link \n\n Any CDN domain can be protected with a username and password (HTTP Basic Auth). Visitors are prompted for credentials by their browser before anything is served. This is useful for sharing a dev build or staging site on a public URL without making it public.\n\n Open your deployment&#x27;s Domains tab.\n Click the lock icon on the domain you want to protect.\n Enable Require a username and password and set the credentials.\n Click Save . Protection is live on the edge within seconds.\n Enforced at the edge: credentials are checked before the cache and origin; protected content is never served without them, not even from cache.\n Hashed storage: passwords are stored as bcrypt hashes; edge nodes never see the plaintext, and failed attempts are naturally rate-limited by the hash cost.\n SSL keeps working: certificate issuance and renewal are exempt from the check, so protected domains still get automatic SSL.\n No performance cost: verified credentials are cached at the edge, so authenticated requests are served at full CDN speed.\n Tip\n\n Private dev previews...",
  "headings": [
    {
      "level": 1,
      "text": "Managing domains"
    },
    {
      "level": 2,
      "text": "Next steps"
    },
    {
      "level": 3,
      "text": "Configure caching"
    },
    {
      "level": 3,
      "text": "Image optimisation"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/docs/api/dns"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/cdn/domains",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T08:56:45.477Z"
}