b2proxy
qqg.net
okkproxy
qqgnet
bitbrowser
jkyunidc

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

11000人交流群欢迎你加入:https://telegram.me/gwvpsceping
jtti

As websites, applications, APIs, videos, software downloads, and other online services continue to grow, CDN has become an important infrastructure for improving access speed and stability.

Although traditional CDN services are easy to integrate, long-term usage also comes with some challenges:

  • Traffic costs continue to increase as business grows;
  • Nodes, routing strategies, and data paths cannot be fully controlled;
  • Some businesses have requirements related to compliance, data security, or customization;
  • Building your own CDN usually requires significant research and development investment.

Therefore, more and more enterprises, IDC providers, and technical teams are exploring self-built CDN solutions.

99CDN is a platform designed to help users quickly build their own CDN networks. It is not a traditional CDN traffic provider. Instead, it is a CDN infrastructure management system that allows users to deploy edge nodes using their own servers and build a private content delivery network.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

Official Website:
https://www.99cdn.com

Official Documentation:
https://docs.99cdn.com

What Is 99CDN?

Simply put, 99CDN provides a set of tools for building your own CDN infrastructure.

Traditional CDN model:

User purchases CDN service → CDN provider supplies nodes → Charges based on traffic usage or subscription plans

99CDN model:

User prepares server resources → Deploys CDN nodes → Manages routing and caching independently → Builds a private CDN network

For example:

If you have multiple servers located in the United States, Japan, Hong Kong, Singapore, and other regions, you can use 99CDN to centrally manage these nodes and distribute traffic based on user location, network quality, and other factors.

The final architecture becomes:

User request → Nearest node → Cached content → Faster access speed

For IDC providers, cloud service providers, or enterprises with large amounts of server resources, self-built CDN can provide greater control and improve resource utilization.

Main Features of 99CDN

1. CDN Node Management

99CDN allows users to add and manage their own edge nodes.

Node servers can be deployed in different regions, such as:

  • Hong Kong, China
  • Tokyo, Japan
  • Los Angeles, United States
  • Singapore
  • Europe and other regions

Users can expand the number of nodes according to their business requirements.

After adding nodes in the management panel, the system generates installation commands. Running these commands on the node servers completes the deployment process.

2. Intelligent Traffic Scheduling

99CDN provides DNS and GTM (Global Traffic Management) capabilities.

Based on node health status, geographic location, and other information, user requests can be distributed to different nodes.

For example:

  • Asian users access Asian nodes;
  • European and American users access nodes in their respective regions;
  • If one node fails, traffic can automatically switch to other available nodes.

Compared with simple DNS round-robin, self-built CDN provides more flexible traffic management capabilities.

3. Cache Acceleration Capability

99CDN supports caching features including:

  • Slice Cache
  • Multi-level cache back-to-origin

For large files, software downloads, videos, and other scenarios, caching mechanisms can reduce pressure on the origin server.

Typical architecture:

User

↓

Edge Node Cache

↓

Regional Node

↓

Origin Server

Through multi-level caching, the load on the origin server can be reduced while improving service stability.

4. Security Protection Features

CDN is not only responsible for acceleration but also provides certain security protection capabilities.

99CDN provides:

  • WAF Web Application Firewall
  • CC attack protection
  • DDoS protection
  • Hotlink protection
  • Access authentication configuration
  • Cross-origin resource sharing configuration

Different license versions may support different features. The free version is mainly suitable for testing and basic usage.

5. Commercial Operation Capabilities

For IDC providers and cloud service providers, 99CDN also provides features related to commercial operations, including:

  • Multi-tenant management
  • Package and plan configuration
  • Billing system

These features allow providers to quickly build their own CDN service platform based on their existing server resources.

Who Is 99CDN Suitable For?

1. Enterprises with Large Websites and High Traffic Applications

Examples include:

  • Video platforms
  • Download websites
  • Gaming services
  • Image hosting platforms
  • API services

For businesses with large traffic volumes, traditional CDN services may result in high costs. A self-built CDN can improve resource utilization and reduce long-term expenses.

2. IDC and Cloud Service Providers

If you own a large number of servers, you can use 99CDN to build your own CDN product.

For example:

Instead of only renting out server resources, you can add:

  • CDN acceleration services
  • Security protection services
  • Enterprise network optimization services

This helps create additional business opportunities and revenue streams.

3. Enterprises That Require Control Over Data and Network Paths

Some enterprises need:

  • Control over data transmission paths;
  • Independent node management;
  • Custom traffic scheduling strategies.

A self-built CDN provides greater control and flexibility.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers
99CDN Pricing Plans

99CDN Free Version Experience

According to actual testing, 99CDN currently provides a free license version.

The free version can be used to experience the self-built CDN architecture.

For example:

  • Supports CDN node deployment;
  • Supports adding custom server nodes;
  • The free version supports testing with up to 2 IP nodes.

For individual website owners and small projects, the free version allows users to understand the complete CDN architecture before investing in a larger deployment.

99CDN Deployment Tutorial

The following section introduces the complete deployment process.

The entire deployment consists of two main parts:

  1. Install the management server (control panel)
  2. Install CDN edge node servers

Architecture:

Management Server
      |
      |
Manage Multiple CDN Nodes
      |
-------------------------
|          |            |
Hong Kong  Japan     United States
Node       Node        Node

1. Prepare the Server Environment

Management Server Requirements

Item Minimum Requirement Recommended Configuration
CPU 1 Core 4 Cores or above
Memory 2GB 8GB or above
Storage 50GB SSD 200GB NVMe SSD

Supported Operating Systems

Supported systems:

  • CentOS 7.x
  • CentOS Stream 8/9
  • Ubuntu 18.04/20.04/22.04 LTS
  • Debian 10/11
  • Rocky Linux 8/9

Note:

ARM architecture is currently not supported.

2. Synchronize Server Time

Before installation, it is recommended to check the server time.

timedatectl

If the time is incorrect, synchronize the system clock.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

Ubuntu/Debian:

apt update
apt install -y chrony

systemctl enable --now chrony

chronyc makestep

CentOS/Rocky:

yum install -y chrony

systemctl enable --now chronyd

chronyc makestep

Incorrect system time may cause installation failures.

3. Install the 99CDN Management Server

1. Open Port 8060

The 99CDN management panel uses the following default port:

TCP 8060

Ubuntu:

ufw allow 8060

CentOS:

firewall-cmd --permanent --add-port=8060/tcp

firewall-cmd --reload

At the same time, make sure the cloud server security group allows access to this port.

2. Run the Installation Command

Connect to the management server via SSH.

Execute:

curl -fsSL https://install.99cdn.com | bash

The installation script will automatically deploy the required components.

Including:

  • Redis
  • PostgreSQL
  • Management services

Wait until the installation process is completed.

After successful installation, the system will display the management panel address:

http://Server-IP:8060

Actual installation output example:

root@ecs-TXd6s:~# curl -fsSL https://install.99cdn.com | bash

[2026-08-12 01:50:36] =================================================================
[2026-08-12 01:50:36] Installation script started
[2026-08-12 01:50:36] Command line parameters:
[2026-08-12 01:50:36] Installation configuration: DOWNLOAD_URL=https://www.99cdn.com/filebox/version/ab26e6d5ce47feb900fd98d2250f8979, INSTALL_DIR=/opt/srv-biz

[2026-08-12 01:50:36] System time: Wed Aug 12 01:50:36 CST 2026

[2026-08-12 01:50:36] =================================================================

[2026-08-12 01:50:36] === Starting service installation ===

[2026-08-12 01:50:36] Log file: /var/log/srv-biz-installer.log

[2026-08-12 01:50:36] Collecting system information

[2026-08-12 01:50:36] Operating system: Debian GNU/Linux 12

[2026-08-12 01:50:36] CPU: AMD EPYC 7K62 48-Core Processor

[2026-08-12 01:50:36] Memory: 967Mi

[2026-08-12 01:50:36] Disk usage:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/debian-root 20G 1.9G 18G 10% /

[2026-08-12 01:50:36] Checking system environment...

[2026-08-12 01:50:36] Checking available space in /opt directory

[2026-08-12 01:50:36] Available space: 18073MB, Required: 200MB

[2026-08-12 01:50:36] Environment check passed

[2026-08-12 01:50:36] Starting package download

[2026-08-12 01:50:36] Temporary directory: /tmp/tmp.mmRVkGO2wl

[2026-08-12 01:50:36] Installation package path: /tmp/tmp.mmRVkGO2wl/package.tar.gz

[2026-08-12 01:50:36] Downloading: https://www.99cdn.com/filebox/version/ab26e6d5ce47feb900fd98d2250f8979

[2026-08-12 01:50:39] Download completed

[2026-08-12 01:50:42] Package verification passed

[2026-08-12 01:50:43] Installing components...

[2026-08-12 01:50:43] Installing PostgreSQL

[2026-08-12 01:50:43] Installing Redis

[2026-08-12 01:50:43] Creating database: srv-biz-v3

[2026-08-12 01:50:43] Copying files to /opt/srv-biz

[2026-08-12 01:52:49] Service installation completed successfully

Please open port 8060 in your cloud server security group.

Access the service through:

http://ip:8060

Password reset command:

cd /opt/srv-biz && ./srv-biz reset-password

[2026-08-12 01:52:49] Installation completed successfully

[2026-08-12 01:52:49] Service started successfully

4. Initialize the Management Panel

Open the following address in your browser:

http://your-server-IP:8060

The first visit will open the initialization page.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

You need to configure:

Management Server Communication Address

Enter the current management panel address, for example:

http://154.36.*.***:8060

This address must be accessible by CDN node servers.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

Set Administrator Account and Password

Fill in:

  • Administrator username
  • Administrator password

Complete the initialization process.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

5. Activate License

After logging into the management panel, you need to bind a license.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

Free users can use the official free license key provided by 99CDN.

After registering and logging into your account, visit:
https://www.99cdn.com/workbench
to view the free version key.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

After activation, you can enter the management dashboard.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

6. Add CDN Edge Node Servers

After the management server is deployed, you can start adding edge nodes.

99CDN Self-Built CDN Tutorial: Build Your Own Global Acceleration Network with Your Own Servers

Go to:

Node Management → Node List

Click:

Add Node

Fill in:

  • Node name
  • Data center information
  • Carrier information
  • IP address location information

After saving, the system will generate a node installation command.

The remaining configuration steps are relatively simple and can be completed by following the instructions. If you are unsure how to proceed, 99CDN also provides a demo site:
https://www.52cdn.com/
for reference.

7. Install Node Software

Log in to the node server.

Execute the installation command generated by the management panel.

Example:

curl -fSL http://Management-Server-IP:8060/.../node_install.sh -o install.sh && bash install.sh

Wait for the installation to complete.

Return to the management panel.

The node status will change to:

Running

This indicates that the node deployment has been completed successfully.

8. Configure CDN Acceleration Website

Go to:

Site Management

Add the website that needs acceleration.

Configure:

  • Origin server address
  • Cache rules
  • Security policies

99CDN will generate a CNAME record for integration.

9. Configure DNS Resolution

Use your own DNS provider.

For example:
Cloudflare DNS.

Add a CNAME record:

Your website domain

↓

CNAME address provided by 99CDN

After DNS propagation is completed, user requests will be routed through CDN nodes.

10. Test CDN Performance

You can use:

  • Ping tests
  • HTTP access tests
  • Node logs

to verify whether requests are being processed by CDN nodes.

If multiple nodes are configured, users may access different edge nodes depending on their geographic location.

Common Maintenance Commands

Management Server

Check service status:

systemctl status srv-biz

Start service:

systemctl start srv-biz

Restart service:

systemctl restart srv-biz

View logs:

tail -f /opt/srv-biz/storage/logs/server.log

Reset password:

cd /opt/srv-biz && ./srv-biz reset-password

CDN Node

Check status:

99ctl status

Start:

99ctl start

Restart:

99ctl restart

View logs:

99ctl logs

Enable startup at boot:

99ctl enable

Frequently Asked Questions

1. What Should I Do If the Management Panel Cannot Be Opened?

Check the following:

  • Whether port 8060 is open;
  • Whether the cloud server security group allows access;
  • Whether the management service is running.

Check the service status:

systemctl status srv-biz

2. What Should I Do If Node Installation Fails?

Check the following:

  • Whether the node server can access the management server;
  • Whether the management server address is configured correctly;
  • Whether the firewall is blocking access.

Test connectivity:

curl http://Management-Server-Address:8060

3. Dependency Installation Failure

In many cases, installation failures are caused by incorrect system time.

Synchronize the server time and try the installation again.

Conclusion

99CDN provides a new approach to CDN deployment:

Instead of purchasing CDN traffic from third-party providers, users can utilize their own server resources to build a private CDN network.

For individual website owners, the free version provides an opportunity to experience and learn the architecture of a self-built CDN.

For IDC providers, cloud service providers, and enterprise users, 99CDN can help quickly build a global acceleration platform based on their own infrastructure.

Of course, building your own CDN also means taking responsibility for server resources, node quality, and network optimization.

If your business has large-scale traffic requirements, you want to reduce long-term CDN costs, or you need greater control over your network infrastructure, 99CDN provides a solution worth exploring.

标签:
racknerd