Last update at :2024-06-22,Edit by888u
The advantage of a CloudFlare Partner account is that there is no need to change the DNS of the domain name and the IP can be specified.
1. Application for CloudFlare Partner
CloudFlare official website application: https://www.cloudflare.com/partners/become-a-partner/
a. It is recommended to use domain name email; b. Build a hosting sales page based on domain name email.
Share a set of templates (html, slightly modified by yourself): cf_zhuji
In addition, krypt’s free wordpress space comes with CloudFlare Pro, which can only be applied to the bound domain name
2. Create a CDN usage platform
1. CloudFlare background acquisition API
Open: https://partners.cloudflare.com/api-management to get host-api.
2. Build CloudFlare CDN in a space that supports PHP
a. This function is powerful and simple
Cloudflare-CNAME-Setup-20190628
b. Recommendation CFPMP: https://github.com/Netrvin/CFPMP, the functions are: CNAME access reCAPTCHA Set the return-to-source address to IP (based on sslip.io) (this function is turned off by default)
Open config.php and set it according to the comments inside to use it.
3. Set up IP, CNAME and other resolutions on the self-built platform
Take setting up the haoffers.com domain name as an example. Domain name DNS resolution is JD Cloud DNS (it is recommended to use DNS resolution in mainland China, such as Huawei, Alibaba, JD.com, etc., which can be resolved by line). The real IP of the host is 1.1.1.1
1. Set a record at JD Cloud DNS (back-to-source resolution, that is, host IP): lucdn.haoffers.com, 1.1.1.1
2. On the self-built CF platform, set CNAME records: haoffers.com, lucdn.haoffers.com
3. Set up an A record at JD Cloud DNS and resolve IP by line according to the recommendations below
4. Here are some of CloudFlare’s faster IP segments in mainland China:
(China Unicom Mobile Recommended Node)
104.23.240.0-104.23.243.254
(Telecom recommends Baidu cloud cooperation IP)
162.159.208.4-162.159.208.103
162.159.209.4-162.159.209.103
162.159.210.4-162.159.210.103
162.159.211.4-162.159.211.103
Recommended list of each line: Telecom: It is recommended to go to San Jose, for example: 104.16.160.* or the Baidu Cloud cooperation IP above. Mobile: It is recommended to use Mobile Hong Kong, for example: 172.64.32.*, 141.101.115.* or 104.23.240.0-104.23.243.254. China Unicom: There are no good routes announced, but you can take San Jose. Example: 104.16.160.* or 104.23.240.0-104.23.243.254. You can also try Atlanta 108.162.236.* (not available today.).
Latency and speed are good, IP address: 162.159.211.3-162.159.211.103
Mobile is great: 198.41.214.162
162.158.26.1 172.68.144.1 172.69.152.1 104.19.195.151 104.18.177.69 104.25.176.1 Can be set up for mobile networks
108.162.227.1 162.158.4.1 172.69.152.1 Can be set up for China Unicom network
162.158.116.1 108.162.226.1 Can be set for default network
172.68.32.1 108.162.243.1 108.162.245.1 108.162.246.1 172.68.172.1 Can be set up for telecommunications networks
5. If you need SSL, you need to set the following string to the domain name prefix:
_9546626e1e79dfa2945fa56a4b9af07e.lu.us.com
_9546626e1e79dfa2945fa56a4b9af07e.lu.us.com.cdn.cloudflare.com
The CloudFlare analysis platform provided by this site for free: https://cfpcdn.com
Recommended site searches: Mainland China registration-free server, Ministry of Industry and Information Technology website registration system, US proxy ip, virtual host evaluation, US domain name, server, icp website registration, mainland China registration-free cdn, how to buy virtual host, Chinese domain name, < /p>
发表评论