How To Forward www Domains to non-www Domains

Rabinder M

Last Update 4 years ago

*Note for those using GoDaddy, Namecheap, etc...

Redirecting with path is only possible with Cloudflare and Google Domains. It will not work with other domain registrars like GoDaddy, Namecheap, etc.

If you are using GoDaddy or Name Cheap or etc… you will need to transfer the domain over to Cloudflare, since the redirect option to forward the domain along with the path is not provided by GoDaddy.


Here are help articles which should help you with the transfer:

Transfer to Cloudflare: https://developers.cloudflare.com/registrar/domain-transfers/transfer-to-cloudflare

Transfer to Google Domains: https://support.google.com/domains/answer/9003139?hl=en

Steps For Cloudflare Redirect:


www to non-www:

  1. Add CNAME record for www pointing to flash.funnels.msgsndr.com and keep the Proxy Status "Proxied"
  2. Add A record for the non-www domain pointing to 34.68.234.4 and keep the Proxy Status "DNS Only"
  3. Add a Page Rule for the URL www.yourdomain.com/*
  4. Pick the setting Forwarding URL --> 301 - Permanent Redirect
  5. In the destination URL, add https://yourdomain.com/$1
  6. Go to Caffeine and connect non-www domain to the funnel


non-www to www:

  1. Add CNAME record for www pointing to flash.funnels.msgsndr.com and keep the Proxy Status "DNS Only"
  2. Add A record for the non-www domain pointing to 34.68.234.4 and keep the Proxy Status "Proxied"
  3. Add a Page Rule for the URL yourdomain.com/*
  4. Pick the setting Forwarding URL --> 301 - Permanent Redirect
  5. In the destination URL, add https://www.yourdomain.com/$1
  6. Go to Caffeine and connect www domain to the funnel

Steps For Google Domains

Was this article helpful?

0 out of 0 liked this article