I think I’ve got kind of a special case here.
I try to redirect all root domain traffic to a subdomain with the help of page rules. Unfortunately that seems not to work.
The case in detail:
I’ve got a root domain thepractory.com
And we’ve got two applications running on the subdomains
community. and academy.
I want to do is to redirect all traffic from the root domain to the subdomain community.thepractory.com
What I did/tried so far:
DNS records for the subdomains are set and working properly
Dummy DNS record for the root domain is defined and points to 192.0.2.1
You’ll need to proxy these records (set the icon to orange for all DNS records). DNS-only records wont have any Cloudflare products run against them (we basically serve the browser with the IP and close the connection for these records (slightly simplified explanation!)).