You can add the www
as a custom name the same way, although it is more common to pick one of those two names to be the canonical name and redirect the other one to it.
Background:
Redirect www.example.com to example.com (www subdomain to root/apex) using Single Redirects (also called Dynamic Redirects).
Prerequisites Have an active and setup website in Cloudflare. Transfer your website to Cloudflare <a href="https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/">today</a>, or use the Cloudflare Registrar to register a <a href="https://developers.cloudflare.com/registrar/get-started/register-domain/">new domai…
Background:
Redirect example.com to www.example.com (root/apex to www subdomain) using Single Redirects (also called Dynamic Redirects).
Prerequisites Have an active and setup website in Cloudflare. Transfer your website to Cloudflare <a href="https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/">today</a>, or use the Cloudflare Registrar to register a <a href="https://developers.cloudflare.com/registrar/get-started/register-domain/">new domai…