Redirect www to non-www not working
I am trying to redirect www.reland.com.br to reland.com.br.
But it is not working
3 Replies
Hmm, I checked and looks like you have no DNS record for www.reland.com.br.
If the sole purpose of www is to be redirected, you can create a proxied (orange clouded) AAAA record with the value
100::
which signals to Cloudflare that there is no real origin. All your requests would be redirected anyways (make sure to include http:// in this rule, or enable always https)It worked, thanks!
I did not know I needed to create a DNS for the www. It should be documented somewhere.
I am noob in DNS, is there someplace to learn?
Hmm, besides the Cloudflare Fundamentals docs (https://developers.cloudflare.com/fundamentals/), there's the DNS docs (https://developers.cloudflare.com/dns/concepts/) and it has a link to the learning center. Especially the learning center has descriptions for a lot of the technical terms and abbreviations you'll see used everywhere (like what's a CNAME or AAAA record, or what is DNSSEC, and more complex stuff as well)
Cloudflare Docs
DNS concepts · Cloudflare DNS docs
This page defines and articulates key concepts that are relevant to the Cloudflare DNS service and are used in this documentation. For more concepts and broader descriptions, check out the Cloudflare Learning Center ↗.