Hi,
I have a domain (abc dot ca) and I want to redirect to abc dot com. It is working if we add (www.abc dot ca) to the domain but not working for if somebody just add (abc dot ca.) Please help
Thanks
fritex
July 22, 2022, 6:53pm
2
Greetings,
Thank you for asking.
I hope you’re are having both A www
and A domain.com
DNS records added and proxied under the DNS tab of Cloudflare dashboard for your domain name.
otherwise, you might be using a CNAME setup
If not, please double-check for their existance and in case if needed, use below article for step-by-step instructions how to add or edit DNS records at Cloudflare dashboard:
This tutorial covers adding general DNS records and specifically A, AAAA, CNAME, MX and TXT records.
Go to the DNS app of your Cloudflare dashboard.
Enter your credentials and click ‘Log In’
Click the domain in question
Click [image]
[Please note, the content of the records below are solely for example purposes and should be replaced by valid records with content provided by your web host]
Please select which record you need help adding:
A Record <a class="lightbox" href="…
This tutorial covers editing DNS records.
Go to the DNS app of your Cloudflare dashboard.
Enter your credentials and click ‘Log In’
Click the domain in question
On this page, you will see a list of the DNS records for your domain. This page is where you edit them.
You will see the list of records like this:
[DNS Page]
You can click the edit button to the right of any record to change it, then click ‘save’ when you’re done.
There is also a tutorial on Adding DNS Records
Tutorial Refer…
Nevertheless, can you share your Page Rule here with us?
Furthermore, sharing below tutorials which could help us here to achieve what we need:
This tutorial covers redirecting example.com to www.example.com when using Cloudflare, to do the opposite, please see Redirect www.example.com to example.com .
You should replace all instances of example.com in the screenshots with your domain.
Step 1, The DNS Record:
The first thing you will need is a DNS record for @, set to . This can point to any IP address as the redirection page rule will execute first. I would recommend pointing it to 192.0.2.1, a dummy IP.
[image]
Step 2, Th…
This tutorial covers redirecting www.example.com to example.com when using Cloudflare, to do the opposite, please see Redirect example.com to www.example.com .
You should replace all instances of example.com in the screenshots with your domain.
Step 1, The DNS Record:
The first thing you will need is a DNS record for www, set to . This can point to any IP address as the redirection page rule will execute first. I would recommend pointing it to 192.0.2.1, a dummy IP.
[image]
Step 2, …
The basic page rule
If we have a page rule set to match:
example.com
It will match both http://example.com and https://example.com. You do not need to specify http:// or https:// to match in the page rule, unless you want to limit it to only trigger on that protocol. You do not need a wildcard (*) to match both http and https.
Wildcards
In page rules, the asterisk (*) can be used as a wildcard, for instance, if we have a page rule set to match:
example.com/a*z
It will match example.com/a…
system
Closed
August 6, 2022, 6:54pm
3
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.