Self-Hosted CDN

Run Your Own CDN on Servers You Control

Caching, failover to a backup origin, rate limits, human checks and IP, region and TLS-fingerprint rules, all handled by the Nodekeeper edge that runs on ports 80 and 443 of your own servers. The bandwidth and machines are yours, and so are the traffic logs and analytics, so your sites never have to pass through someone else's network. Personal is enough to start. To turn several nodes into one edge network, or to sell CDN plans to customers, look at Business.

First month $0, then $3/month per node, billed monthly. Card required, once per account; cancel before day 30 and you are not charged. The trial covers up to 3 nodes.

On this page: Who it is for · Caching and always-online · Origins · Protection · Multiple nodes · Certificates · Analytics · Providers · Plans · FAQ

Who It Is For, and What It Fixes

For site owners, web agencies and ops teams that already have servers and want a cache and a protection layer in front of their sites, without paying a third-party CDN for traffic and feature tiers.

Slow for visitors far away

Put edge nodes in data centers close to your visitors, and requests that hit the cache never travel back to the origin. Where the nodes go, and how many, is up to you.

An origin under load

Images, scripts, styles and downloads are served from the edge cache. Large files and video are cached in ranges, so the origin is not asked for the whole file every time.

Request floods and bad bots

Limit requests per IP and either block or challenge the excess. Add IP and region rules and TLS-fingerprint blocking, and part of the junk is stopped before it reaches your site.

Third-party CDN bills

You pay a licence per node, not per gigabyte, and the bandwidth is the one you already have. Whether that is cheaper depends on your traffic, so run the trial and compare.

Data that has to stay with you

The edge service, access logs and visitor analytics all live on your own Nodekeeper servers.

An origin that sometimes fails

When the origin returns 5xx or times out, the edge can keep serving what it cached earlier. With a backup origin configured, traffic moves over on its own.

Limits and prerequisites
  • Nodekeeper is software that manages your own servers and bandwidth. It is not a hosted CDN service and does not come with a global network; your coverage is as wide as the nodes you deploy.
  • You supply the bandwidth and the servers.

Edge Caching and Always-Online From Personal

When you create a CDN site, the Cache tab decides what is cached and for how long.

Per-path cache rules

Set the TTL, the maximum file size, and the methods and status codes that apply for each path pattern, such as *.html, *.css, *.js or *.jpg. Build the cache key from the query string, Host, client IP and User-Agent, and set how long logs are kept.

Stale copy when the origin fails

If the origin returns 5xx or times out, the edge serves the copy it cached earlier. A separate permanent-fallback switch serves the cache whenever one exists, even after it has expired.

Range cache for big files and video

Range requests are answered from cache. Smaller files are cached whole and sliced in memory; larger ones are cached in slices, and when several visitors ask for the same slice at once, the origin is fetched only once. The slice size is configurable.

Rewrites and redirects

Rewrite request and response headers, replace text in responses (for example an old domain name in your pages) and set redirects at the edge, without touching the origin application.

Limits and prerequisites
  • It can only serve what was cached before. The order is: cache hit, then the stale copy if the origin fails, then 502.
  • The size cut-off for whole-file caching and the slice size are defaults you can change per site, not fixed guarantees.

Docs: CDN sites and cache settings →

Cache tab of the New CDN site dialog: per-path TTL and size limits, and a stale copy served when the origin fails.
Cache tab of the New CDN site dialog: per-path TTL and size limits, and a stale copy served when the origin fails. Addresses, accounts and domains are redacted.

Several Origins, Automatic Failover From Personal

A CDN site can have more than one origin, plus a designated backup origin.

A dead origin is dropped

When an origin cannot be reached, the edge stops sending it requests and uses the other origins or the backup. It keeps probing the dead one and puts it back as soon as it answers again.

One origin still gets a retry

With a single origin the edge still retries a failed request, but there is nowhere else to send it; failover needs at least two origins. The panel's uptime monitor is a separate feature and does not take origins out of rotation.

An origin-fetch engine that impersonates a browser's TLS fingerprint, with HTTP/3 and proxy support, is for origins that block by TLS fingerprint. It is switched on per site and belongs to Business; if it is unavailable, the standard engine takes over.

Protection Against Floods and Bots From Personal

On the same edge layer, abnormal traffic is handled in steps from light to heavy, with rules bound per site.

Rate limits

Cap requests per IP in a time window, globally, per site or per URL prefix. Past the limit you can block outright (429) or show a JS challenge or an image captcha first, with a configurable grace count and block duration.

Human verification

A JS proof-of-work check, an image captcha or a JS check lets a suspicious visitor prove they are real before you block them. Passing sets a cookie. The page is our own minimal one and is not themed per site.

IP, CIDR and region rules

Allow or block by source IP, IPv4 and IPv6, or by country, city and ASN. Several allow sets are combined, and so are several block sets.

JA3 / JA4 TLS fingerprints

A connection that matches a blocked fingerprint is dropped before the TLS handshake completes. It works against scanners and scrapers whose fingerprint stays the same. The list can be global or per site.

Firewall escalation

A source IP that keeps tripping the rate limit can be escalated to a block in the system firewall (nftables), where its packets are dropped at the network layer, saving CPU and bandwidth. The block expires by itself, and a whitelist keeps you from locking yourself out. The switch is off by default.

Limits and prerequisites
  • A new CDN site does not go through the WAF by default: tick at least one WAF rule set on the site's Security tab to turn it on.
  • Rules work as you configure them and cannot identify every bot. Rate-limit counting is asynchronous, so a fast burst can let a few extra requests through.
  • Firewall escalation needs a host with nftables. Without it the layer-7 rules still apply and the escalation step is skipped (ESXi nodes, for example, have no nftables). Each node blocks on its own; block entries are not synced between nodes.
  • For region rules, country, city and ASN work with the free GeoLite2 database (downloaded and refreshed monthly). ISP, domain and connection type need MaxMind's commercial GeoIP2; without it, rules on those three fields never match. IP geolocation is only an estimate.

JA3 fingerprints · IP / CIDR rule sets · GeoIP rules · WAF · Security

Global JA3 / JA4 TLS fingerprint blocklist: a connection that matches any fingerprint is dropped before the TLS handshake.
Global JA3 / JA4 TLS fingerprint blocklist: a connection that matches any fingerprint is dropped before the TLS handshake. Addresses, accounts and domains are redacted.

Several Edge Nodes: Sync Groups, GeoDNS and a One-Click CDN Switch From Business

One server is enough to run a CDN. To put an edge node in each of several data centers and manage them together, bring them into a sync group.

Sync groups

Edge nodes in a group share defence rules, CDN sites and forwarding settings: change one place and every node in the group follows. A group can be bound to a domain and a prefix, which creates a wildcard record pointing at the IPs of all member nodes. A node can carry several IPv4 and IPv6 addresses.

Built-in DNS and GeoDNS

Host a domain's DNS on Nodekeeper's own authoritative server and return different answers by continent, country, region, city, ISP, domain or connection type, with a minimum TTL of 60 seconds. ISP, domain and connection type again need the commercial GeoIP2 database.

The CDN switch on DNS records

Much like an orange cloud: on the A, AAAA and CNAME records of a domain hosted on Nodekeeper's DNS, CDN is one toggle.

  1. Create a sync group and add your edge nodes. An administrator can also define a CDN plan, which is a sync group plus a CNAME target.
  2. Turn the CDN switch on for a record. The record now points at the edge nodes (or the plan's CNAME), the original value becomes the origin, and the matching CDN site is created for you.
  3. Turn it off and the original record comes back.
Limits and prerequisites
  • Only A, AAAA and CNAME records can be switched; TXT, MX, NS and GeoDNS records cannot. Turning it on for an A record needs at least one node with an IPv4 address in the chosen group.
  • A sync group shares rules, CDN sites and forwarding settings. Website files and databases are not part of it (database replication is a separate Business feature).
  • The failover confirmed here works at the origin. Switching DNS answers away from an edge node that is down is not something this page promises.

Docs: sync groups → · Docs: built-in DNS server

Certificates on the Edge

Certificate issuing and renewal are on every plan. The two items below need sync groups or Nodekeeper's own DNS and are From Business: with several edge nodes, issued and renewed certificates can sync to the nodes you choose, so you do not upload them node by node.

You choose where each one goes From Business

Syncing is opt-in: tick a sync group on each certificate, and the private key goes only to that group. Both new and renewed certificates sync automatically.

Works when the domain already points at the edge From Business

For external domains, validation uses an HTTP file, and the challenge file is pushed to the edge nodes while it runs, so it succeeds even when the domain already resolves to your CDN. For domains on Nodekeeper's own DNS, the DNS record that wildcard validation needs is written by Nodekeeper itself.

Limits and prerequisites
  • Certificates are issued through the host.mw certificate API (ZeroSSL), so issuing depends on it being available. Wildcard certificates need DNS validation.

SSL certificates: issuing, renewal and wildcards →

Analytics for CDN Sites From Personal

CDN sites, domain aggregates and standalone sites that are not hosted on Nodekeeper share one analytics list, so traffic, sources and devices are in one place. If a site sits behind another CDN with Cache Everything turned on, analytics has a CDN-mode setting for it.

Limits and prerequisites
  • Heatmaps and session replay are off by default for each site and you switch them on when you need them; replay masks only password fields by default.
  • JS analytics counts only visits that ran the analytics script. It is not your total server traffic and is no basis for bandwidth or billing.

Self-hosted analytics, heatmaps and session replay →

One list for every tracked site: CDN sites, domain aggregates and standalone sites that are not hosted on Nodekeeper.
One list for every tracked site: CDN sites, domain aggregates and standalone sites that are not hosted on Nodekeeper. Addresses, accounts and domains are redacted.

Selling CDN to Customers: CDN Plans and Traffic Packages From Business

Hosting providers and web agencies can turn their own edge nodes into a CDN product: plans can include some traffic, customers buy traffic packages or top up, and ordering and renewal run through a billing system or the hosting API.

How traffic is counted

Each site's outbound traffic is metered daily and deducted from its traffic packages, oldest package first.

When it runs out

When the balance is used up, the site is suspended and deleted after a 7-day grace period. There is no throttling step; it is either on or off, so say so in the plan terms you give customers.

First month $0, then $29/month per node, billed monthly. Card required, once per account; cancel before day 30 and you are not charged. The trial covers up to 3 nodes.

Which Plan Includes Which CDN Features

CDN features by plan
FeatureFreePersonalBusiness
CDN sites: cache rules, origin settings, range cache—✓✓
Stale copy when the origin fails—✓✓
Several origins, a backup origin, automatic removal and recovery—✓✓
Header rewrite, content replace, redirects—✓✓
Rate limits and human verification—✓✓
IP / CIDR, region (GeoIP) and JA3 / JA4 rules—✓✓
Firewall escalation (nftables)—✓✓
Analytics for CDN sites—✓✓
Certificate issuing and renewal✓✓✓
Browser-fingerprint origin engine (HTTP/3, proxy)——✓
Sync groups: rules, CDN sites and forwarding shared across edge nodes; certificates synced per group——✓
Built-in authoritative DNS, GeoDNS, per-record CDN switch——✓
CDN plans and traffic packages (sold through a billing system or the hosting API)——✓
Price (per node, billed monthly in USD)Free$3/month$29/month

See the pricing page for prices and the full comparison. Every server that runs Nodekeeper needs its own licence. When a paid licence ends, the node keeps running on Free features and the paid features stop working.

Frequently Asked Questions

How is this different from Cloudflare and similar CDNs?

They give you their own global network and bandwidth, ready to use. Nodekeeper gives you no network; it manages your own servers and bandwidth. Your data and logs stay on your machines, and the cost is your bandwidth plus a per-node licence, with no per-traffic billing. The trade-off is reach: you cover as many places as you deploy nodes, and there are no ready-made global points of presence. If your visitors sit in a few regions that can be a good deal; for worldwide coverage you would have to place nodes there yourself.

Does it work with only one server?

Yes. Caching, the stale copy on origin errors, rate limits, human checks and IP, region and fingerprint rules all work on a single server. Failing over between origins needs at least two origins. Combining several nodes into one edge network, GeoDNS and the one-click CDN switch need Business.

Will it stop floods and scrapers?

It stops part of them, not every bot. Rate limits, human checks, IP and region rules, TLS fingerprints and firewall escalation are tools you use in steps, and the result depends on how you set them. An attack that simply saturates your bandwidth cannot be answered by edge rules; that takes protection further upstream at your network provider.

Do I have to buy an IP database for region rules?

For country, city and ASN rules, the free GeoLite2 database is enough, and Nodekeeper downloads and refreshes it monthly. Rules on ISP, domain or connection type (residential, data center, mobile) need MaxMind's commercial GeoIP2; without it those three rules never match, and the rest are unaffected. Keep in mind that IP geolocation is only an estimate.

Are CDN sites behind the WAF automatically?

No. A new CDN site does not go through the WAF until you tick at least one WAF rule set on the site's Security tab. The basic ModSecurity WAF rule sets are included in every plan.

Try It on One Server First

Install Nodekeeper, create a CDN site, enter your origin address, then point the domain at it. The Personal trial covers up to 3 nodes.

First month $0, then $3/month per node, billed monthly. Card required, once per account; cancel before day 30 and you are not charged. The trial covers up to 3 nodes.

First month $0, then $29/month per node, billed monthly. Card required, once per account; cancel before day 30 and you are not charged. The trial covers up to 3 nodes.

Related: Analytics · Web hosting · Security · Hosting providers · Guide: planning a self-hosted CDN · Docs: CDN sites · Docs: sync groups · Docs: GeoIP · Pricing

N Nodekeeper

Manage websites, office PCs and servers from one panel on your own hardware.

Support
support@host.mw WhatsApp: +817093066006

© 2026 Nodekeeper. All rights reserved.