URL forwarding or redirection with cloudflare

March 14, 2020 Heat at 1787 2 people like it 2 comments

Due to historical reasons, some of the domain names in my hand have not been used or have been migrated to new addresses, and I don't want to spend extra servers to do page redirection (Qing!)
Then, there is only one solution: white whoring
As mentioned in the title, the goal of today's project is cloudflower, which is also very simple to use. Here is a simple diagram~

The first step

Log in to cloudflower to create page rules

 

Second, edit the page rules and save them

In the above figure, the request will be redirected to cdn.123vcn.123vcn.it means that the request will be redirected to the above figure of http://123vcn.123vcn
Img.cdn.vv1234.cn is the CDN domain name of the original map bed, and then wx1.vv1234.cn is used as the new domain name. However, I am not using this map bed alone
If the blind direct switch in the past, may use the map bed of other users over the site images can not be loaded, in line with the user responsible mentality, this jump is indispensable, very necessary.
According to the above configuration, access can be achieved https://img.cdn.vv1234.cn/o_ 1bkmi1agp1op56e11sul1b7g29a.jpg
Will jump to https://wx1.vv1234.cn/o_ 1bkmi1agp1op56e11sul1b7g29a.jpg
However, it should be noted that the page rule will only work if the traffic is transmitted through cloudflare. If you simply use the DNS function of cloudflare, the page rule will not take effect.

Gcod

Talking about the trivial matters of life and talking about the whole world, that's all

Article review

  • Lvr8

    Thank you for sharing, thank you!!

    November 17, 2020
  • Interesting book platform

    Thanks for sharing

    November 4, 2020