Hello. Any suggestion on how to achieve the below setting? By DNS setting?
When visitor go to:
They will be redirected to:
So, basically the goal is to keep whatever sub-domain and whatever path while redirecting.
The DNS for
subdomain.domaina.com will need to be in the DNS tab at Cloudflare (pointing to anything) and . You’ll need to add a record for each subdomain you want to redirect, as wildcard records can’t be .
Then you can create a Page rule for
domaina at so:
Forwarding URL - 301 redirect
Enter the value as
You can see this rule in action:
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.