Ensure www. Loads Your Site
By default, your domain is set to yourrafflesite.com. This means that if someone types www.yourrafflesite.com, they won’t land on your site. We need to make a few quick changes to fix this.
Last updated
By default, your domain is set to yourrafflesite.com. This means that if someone types www.yourrafflesite.com, they won’t land on your site. We need to make a few quick changes to fix this.
Last updated
Login to your Cloudflare account.
Click on your domain name (e.g. yourrafflesite.com).
Click on DNS in the left-hand menu.
Click Add Record.
Under Type, select CNAME
In Name, type www
In Target, enter customers.rafflex.io
Enable Proxy Status
Click Save.
Click on Rules in the left-hand menu.
You will see a list of templates – Select "Redirect from WWW to Root".
No need to change anything – click Deploy.
To make sure all traffic is secure and loads correctly, set up an HTTP to HTTPS redirect.
Go back to "Rules".
Find the "Redirect from HTTP to HTTPS" template.
Click Deploy.
That’s it! Your www domain will now correctly redirect to your main site, and all traffic will be securely routed through HTTPS.
Now, we need to set up a rule to redirect customers to from yourrafflesite.com.