Monday, August 26, 2019

Cloudflare.com設置域名URL轉發

1、登錄Cloudflare.com,選擇需要設置URL轉發的域名,點擊Page Rules

2、點擊Create Page Rule

3、輸入源域名如http://domain.com/*

4、點擊Add a Setting,選擇Forwarding URL,右側選擇301 – Permanent Redirect

5、然後輸入新域名如https://newdomain.com/$1

6、點擊Save and Deploy,使頁面規則生效即可。

提示:源域名需要設置一個A記錄,否則可能無法實現域名URL轉發/跳轉。

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.