Cloudflare is my domain name server and I’m
only using my domain for email, so I have MX records set up but nothing else.
I’d like to use Page Rules to do some redirect, but is this even possible?
If I go to myDomain.com, I should go “nowhere”, since there’s no web site set up.
But if I go to either subdomain.myDomain.com, or myDomain.com/anotherPlace, I’d like to redirect to someotherdomain.com
The idea is to set up an easy to remember url for my parents to use to take them to a Google Doc that’s a “here’s how to troubleshoot stuff” page.
Is there a way to do this? It seems like I have to set up a
CNAME and/or A record for the root domain, but what do I point that to?
Here’s a tutorial on that. Basically, you create a placeholder DNS entry that’s Proxied (
) and then add Page Rules (You only get three on the free plan) that forward the Matched URL to its destination.
This tutorial covers redirecting one domain to another. For this, we will be redirecting domainA.com to domainB.com.
The following settings need to be configured under the domain you are redirecting from, in this example, this is domainA.com
Step 1, The DNS Record:
The first thing you will need is a DNS record for @, www and any other subdomains you want to redirect, set to
. This can point to any IP address as the redirection page rule will execute first. I would recommend pointing…
Ah, that was easy. The 192.0.2.1 part was the part I couldn’t figure out. I originally tried 192.168.0.1 and 127.0.0.1 and Cloudflare wouldn’t accept that. Thanks!
For me, I’ll use CNAME record to point to a non-existent domain. But yeah, either way works.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.