I have my domain setup with Cloudflare, and it is using Cloudflare’s nameservers.
I have setup a Rule that will take any traffic coming to my domain and send it to another (using the *). However, it is not working.
Looking at the DNS settings in the Cloudflare panel, it imported all of my existing DNS records, including the A record. I’m guessing this is why the forwarding is not working? Should I remove all the DNS settings that were imported so that forwarding will work?
Nope. You need a
Proxied record for a Page Rule to take effect.
There’s also this tutorial that might help:
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…
If you need more specific help, please post a screenshot of your Page Rule.
@sdayman Thanks for your help. I have changed the A record to 192.0.2.1. There is a second A record that points to the old host however.
I tried to add another A record for www as the tutorial suggests, but I got an error because www is already set a CNAME. Should I remove that? Here is the DNS settings I have currently:
I will post my rule in another reply, since the system won’t let me do 2 media includes in 1 post.
Thank you again for your assistance.
And here is the rule I have in place:
You really don’t need both “A” records. As long as they’re
, then the Page Rule will kick in.
Your Page Rule does not match the one in the tutorial. It should be
Thanks again. I have made those changes… and it works!
Thank you so much for your help. I really do appreciate it!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.