Choosing a custom IP for Cloudflare CDN is a compromise to optimize for free solutions. Of course, the best approach is still to use a paid cloud service package.

Why Enable Custom Nodes

Users experienced continuous loading issues, likely due to using Cloudflare’s free CDN plan. The default node assigned by the official is in San Francisco (172.67.216.174), causing slow loading times for first-time visitors from China.

Quality service comes at a cost, but this contradicts the initial intent of setting up the site for free, so the following workaround is used.

Using Cloudflare Partner to Choose Nodes

Apply for an official account at Cloudflare, create your own platform, or use third-party platforms like WZFou or MNN. After CNAME access to Cloudflare, select high-quality nodes and resolve according to the ISP. However, in November 2021, the official disabled the Host API key, which led to the decline of Cloudflare Partner as domains could no longer access through this method.

Choosing Nodes Using Cloudflare for SaaS

The principle is to use SSL/TLS Custom Hostnames to set a fallback source.

Here, the main domain is used to demonstrate the setup process, but actually, the following steps need to be configured for the fallback source domain.

It is advisable to register a cheap domain or use a free Freenom domain as a fallback source.

Enable Cloudflare for SaaS

I linked PayPal.

NS Access for the Fallback Source Domain

Add a Fallback Source

Add Custom Hostnames

TXT Verification

Main Domain Points to Custom Node

CNAME Points to Third-Party Node Collection

A Record Points to Selected Node

自测的IP

Website Access Speed Comparison

Without CDN Configuration

Cloudflare CDN Free Plan

Cloudflare for SaaS Custom Node

Updates

ipcf.tk ceased updates on March 28, 2023, at 01:21. Please self-test IPs and build your own or use alternative projects.

Again, this gray behavior is definitely not allowed by the official. Quality IPs near the mainland are intended for paying customers. This article is for record purposes only and will not be deleted. Any outrageous behavior based on this article is not associated with me. (Stack armor first, please forgive me.)