<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: vaheeD</title>
    <description>The latest articles on DEV Community by vaheeD (@vaheedkh).</description>
    <link>https://dev.to/vaheedkh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4004363%2F26dfa3ce-1a78-4de5-873f-47dd0c1ce9f9.jpg</url>
      <title>DEV Community: vaheeD</title>
      <link>https://dev.to/vaheedkh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vaheedkh"/>
    <language>en</language>
    <item>
      <title>Introducing CDNLite: A Self-Hosted Private CDN Control Plane</title>
      <dc:creator>vaheeD</dc:creator>
      <pubDate>Fri, 26 Jun 2026 18:45:03 +0000</pubDate>
      <link>https://dev.to/vaheedkh/introducing-cdnlite-a-self-hosted-private-cdn-control-plane-379b</link>
      <guid>https://dev.to/vaheedkh/introducing-cdnlite-a-self-hosted-private-cdn-control-plane-379b</guid>
      <description>&lt;p&gt;Most CDN platforms are powerful, but they are usually closed, managed, and outside your own infrastructure.&lt;/p&gt;

&lt;p&gt;CDNLite is an open-source, self-hosted private CDN control plane and edge platform for companies, hosting providers, labs, and internal infrastructure teams.&lt;/p&gt;

&lt;p&gt;It is built for teams that want more control over their CDN, DNS, WAF, cache, SSL, and edge operations.&lt;/p&gt;

&lt;p&gt;CDNLite is not trying to replace Cloudflare, Fastly, or Akamai.&lt;/p&gt;

&lt;p&gt;It is a practical foundation for running your own private CDN-style platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  What CDNLite does
&lt;/h2&gt;

&lt;p&gt;CDNLite brings the main parts of a private CDN platform into one place:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Domain lifecycle management&lt;/li&gt;
&lt;li&gt;DNS-only and proxied modes&lt;/li&gt;
&lt;li&gt;PowerDNS and DNSGeo publishing&lt;/li&gt;
&lt;li&gt;OpenResty/Lua edge proxy&lt;/li&gt;
&lt;li&gt;Cache rules and purge workflows&lt;/li&gt;
&lt;li&gt;WAF rules and rate limits&lt;/li&gt;
&lt;li&gt;IP access rules&lt;/li&gt;
&lt;li&gt;ACME DNS-01 SSL workflows&lt;/li&gt;
&lt;li&gt;Edge node registration and heartbeat&lt;/li&gt;
&lt;li&gt;Signed edge-agent sync&lt;/li&gt;
&lt;li&gt;Security events and audit logs&lt;/li&gt;
&lt;li&gt;Health checks and operational reports&lt;/li&gt;
&lt;li&gt;Vue dashboard&lt;/li&gt;
&lt;li&gt;PHP control plane&lt;/li&gt;
&lt;li&gt;PostgreSQL backend&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is simple:&lt;/p&gt;

&lt;p&gt;Give operators a visible and auditable way to manage private CDN, DNS, WAF, SSL, cache, and edge infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is CDNLite for?
&lt;/h2&gt;

&lt;p&gt;CDNLite is useful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hosting providers building private CDN or edge services&lt;/li&gt;
&lt;li&gt;Companies that want their own CDN layer&lt;/li&gt;
&lt;li&gt;DevOps and platform teams managing internal edge infrastructure&lt;/li&gt;
&lt;li&gt;Labs and controlled production experiments&lt;/li&gt;
&lt;li&gt;Engineers learning CDN, DNS, WAF, PowerDNS, DNSGeo, and OpenResty architecture&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;Many teams start with NGINX, a few scripts, and manual DNS changes.&lt;/p&gt;

&lt;p&gt;That works in the beginning.&lt;/p&gt;

&lt;p&gt;But after a while, you need more than a reverse proxy.&lt;/p&gt;

&lt;p&gt;You need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Domain management&lt;/li&gt;
&lt;li&gt;DNS publishing&lt;/li&gt;
&lt;li&gt;Edge health checks&lt;/li&gt;
&lt;li&gt;Cache policies&lt;/li&gt;
&lt;li&gt;WAF rules&lt;/li&gt;
&lt;li&gt;SSL automation&lt;/li&gt;
&lt;li&gt;Audit history&lt;/li&gt;
&lt;li&gt;Security event tracking&lt;/li&gt;
&lt;li&gt;Operational visibility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CDNLite is built to bring these pieces together into one self-hosted platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quickstart
&lt;/h2&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cp .env.example .env
docker compose up -d --build

curl -fsS http://localhost:8080/health
curl -fsS http://localhost:8081/health
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Then open the dashboard:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://localhost:8082
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Local development credentials:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;admin / admin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;These credentials are only for local development. Do not use them in shared or production environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current status
&lt;/h2&gt;

&lt;p&gt;CDNLite is suitable for labs, demos, private deployments, and controlled production experiments.&lt;/p&gt;

&lt;p&gt;For serious production use, operators should still review hardening, TLS, secret rotation, backups, monitoring, authentication, and network isolation.&lt;/p&gt;

&lt;p&gt;The roadmap includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RBAC&lt;/li&gt;
&lt;li&gt;OIDC/SAML SSO&lt;/li&gt;
&lt;li&gt;Stronger tenant isolation&lt;/li&gt;
&lt;li&gt;Prometheus and Grafana improvements&lt;/li&gt;
&lt;li&gt;Kubernetes and Helm deployment&lt;/li&gt;
&lt;li&gt;Terraform examples&lt;/li&gt;
&lt;li&gt;HA control plane documentation&lt;/li&gt;
&lt;li&gt;More WAF, cache, and deployment policy templates&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  GitHub
&lt;/h2&gt;

&lt;p&gt;CDNLite is MIT licensed and open for contributions.&lt;/p&gt;

&lt;p&gt;Repository:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/vaheed/CDNLite" rel="noopener noreferrer"&gt;https://github.com/vaheed/CDNLite&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would love feedback from people working with CDN infrastructure, DNS automation, WAF rules, OpenResty, hosting platforms, or self-hosted edge systems.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>selfhosted</category>
      <category>devops</category>
      <category>cdn</category>
    </item>
  </channel>
</rss>
