Cloudflare Pages tutorial

Cloudflare Pages tutorial

Cloudflare Pages is a new service launched by Cloudflare. It can only use Github repositories. Compared with Github, it has many advantages, including global CDN, second-level domain name, unlimited traffic, custom domain name, etc. Below is a simple usage tutorial.

Demo : https://upp.pages.dev/

1. Setting up on Github and getting the API

The main purpose is to obtain the final API. If you have already obtained it, just use the obtained one. There is no need to correspond to the GitHub repository.

1. Create a new GitHub repository and go to https://github.com/ and click the green New

Fork this project: https://github.com/200022xyz/upp (keep index.html and static, delete the others)

2. Get token
Open https://github.com/settings/tokens, click Generate new token on the right, and the string of characters you get is the token (please save it)

2. Using Cloudflare Pages

After logging in to Cloudflare, select Chinese and there will be a navigation page on the right.

After entering, follow the installation instructions

The project name below is the second-level domain name prefix provided by CF. To check which ones are not registered, you can ping them. If they are different, they are not registered: http://ping.chinaz.com/

<<:  MineServer: 19.9 yuan/month/1GB memory/20GB NVME space/unlimited traffic/10Mbps-20Mbps bandwidth/KVM/Hong Kong CN2

>>:  ASVhost: $8/month/1GB RAM/10GB SSD space/1TB traffic/1Gbps port/KVM/Los Angeles/Germany/Switzerland/Russia

Recommend

TNAHosting: $15/year/1GB RAM/50GB storage/3TB bandwidth/OpenVZ/Chicago

TNAHosting, an American hosting provider, has a d...

NameBright: Domain Name Registrar at Reasonable Prices

NameBright is a foreign domain name registrar. It...

FasterVM: 90 yuan/year/128MB memory/3GB SSD/200GB traffic/KVM/Cera, Los Angeles

FasterVM is a Chinese host. Judging from the revi...

GoDaddy: $5/month/512MB/20GB SSD/1TB traffic/KVM/USA

GoDaddy, the largest domain name registrar, has a...

Install VeryNginx on CentOS 6 64-bit to defend against DDOS attacks

VeryNginx is a powerful and human-friendly Nginx ...

Recommend a website off-site backup software: Green Ring FTP Data Backup

Features of Green Ring FTP data backup software: ...

Xoom.it Italy's old stable free PHP space

Xoom.it is an old free hosting company from Italy...