Need www. for site to work

What is the name of the domain?

qolbrand.com

What is the issue you’re encountering

site wont work without www

What steps have you taken to resolve the issue?

it won’t let me post because of the 4 link thing so i left it all blank.

removed A names. created dummy A name. wrote rule for /* to /${1}. i’m new to this, using gemini to talk me through it. it gave up and told me to post here. i bought the domain at godaddy and built the site at google sites and now i’m trying to use Cloudflare to let me go to links without having to type www. please help. shop works but qolbrand.com/shop does not.

Hi,

It seems like your issue happened because Google Sites requires “www” for custom domains, but Cloudflare cannot automatically fix it with merely rules.

What you need to do is to Fix DNS to ensures qolbrand.com correctly points to www.qolbrand.com. After that, set up redirect so that visitors of qolbrand.com/shop (or any subpath) automatically go to shop.

To fix the DNS,

Keep the CNAME for www

Delete any existing A or CNAME records for qolbrand.com (non-www).

Add a CNAME record for qolbrand.com pointing to www.qolbrand.com, set it to DNS only (gray cloud).

For redirect rule,

  1. Log in to the Cloudflare dashboard and select your account and domain.
  2. Go to Rules > Overview.
  3. Select Create rule > Redirect Rule.
  4. Enter a descriptive name for the rule in Rule name.
  5. Set:

Save the rule.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.