This guide shows you how to point a custom subdomain (like data.yourdomain.com) to BettrData using Cloudflare.
You don’t need to touch your website or email. We’ll only add one DNS record.
1. What You’ll Need
Before you start, make sure you have:
- Access to your domain registrar
- A free Cloudflare account
- The subdomain you want to use, for example:
data.yourdomain.com- The BettrData host we’ll give you, for example:
<environment>.bettrdata.io
(where you bought your domain – e.g., GoDaddy, Namecheap, Google Domains, etc.)
If you’re missing the BettrData host value, ask your BettrData contact before continuing.
2. Create or Log Into Your Cloudflare Account
- Go to cloudflare.com
- Click Sign Up (or Log In if you already have an account).
- Complete the sign-up process and log in to your dashboard.
3. Add Your Domain to Cloudflare
In this example, we’ll useyourdomain.com.Replace this with your own domain (e.g.,
yourdomain.com).
- In the Cloudflare dashboard, click Add a site.
- Enter your domain (for example:
yourdomain.com, notwww.yourdomain.com). - Click Add site.
- Choose the Free plan unless you know you need something else.
- Cloudflare will scan your existing DNS records.
- Click Continue when it’s done.
You’ll now see a list of existing DNS records (A, CNAME, MX, etc.). Leave those as-is for now.
4. Change Your Nameservers to Cloudflare
Cloudflare will show you two nameservers, something like:
alice.ns.cloudflare.combob.ns.cloudflare.com
- Log in to your domain registrar (where you bought the domain).
- Find the section called Nameservers or DNS Management.
- Change the nameservers to the two Cloudflare nameservers shown.
- Save your changes.
This step does not break your site or email if Cloudflare copied your existing DNS records correctly (which it normally does).
DNS changes can take anywhere from a few minutes up to a couple of hours to fully apply, but you can set up the rest now.
5. Add the CNAME Record for Your Data Subdomain
Now we’ll point your custom subdomain (e.g., data.yourdomain.com) to BettrData.
- In the Cloudflare dashboard, select your domain (e.g.,
yourdomain.com). - Go to the DNS tab.
- Click Add record.
- Fill in the form:
- Type:
CNAME - Name:
- Enter the subdomain part only, e.g.:
data(fordata.yourdomain.com)- Target (or Content):
- Enter the host provided by BettrData, e.g.:
<environment>.bettrdata.io- Proxy status:
- Make sure this is Proxied (orange cloud icon ON).
- Click Save.
You should now see a DNS record like this:
Type | Name | Target | Proxy |
CNAME | data | <environment>.bettrdata.io | Proxied (orange) |
6. Set the SSL/TLS Mode
Now we’ll make sure SSL is set correctly so your users see a secure lock icon in their browser.
- In Cloudflare, go to the SSL/TLS tab.
- Under Overview, set SSL/TLS encryption mode to:
- Full (strict) if available
- If not, choose Full
Do not use Flexible – it can cause redirect or certificate issues.
7. Turn On Helpful HTTPS Settings
Still in the SSL/TLS section:
- Go to Edge Certificates.
- Turn ON:
- Always Use HTTPS
- Automatic HTTPS Rewrites
This ensures users are always redirected to the secure https:// version of your site.
Cloudflare will automatically issue an SSL certificate for your subdomain (for example, data.yourdomain.com). This usually happens quickly.
8. Wait for DNS & SSL to Propagate
Most of the time this only takes a few minutes, but in some cases it can take up to an hour.
You don’t need to do anything during this step.
9. Test Your New Subdomain
In your browser, go to:
https://data.yourdomain.com(replace with your actual subdomain)
Check for:
- The page loads without errors
- The address bar shows a padlock icon (connection is secure)
- The content shown matches the BettrData application/page you expect
If everything looks good, you’re done.
10. If Something Doesn’t Work
Here are the most common issues and how to check them:
1. “Site can’t be reached” or DNS error
- Make sure the CNAME record exists in Cloudflare.
- Confirm Proxy status is Proxied (orange cloud).
- Confirm your domain’s nameservers have been changed to Cloudflare at your registrar.
2. SSL / certificate error
- In Cloudflare → SSL/TLS:
- Make sure SSL mode is set to Full or Full (strict) (not Flexible).
- Check that Always Use HTTPS is ON.
- Wait 10–15 minutes for Cloudflare to finish issuing the certificate, then try again.
3. Wrong site or old content
- Make sure the Target of your CNAME record matches exactly the value provided by BettrData (no typos).
- Clear your browser cache or try an incognito window.
If you’re stuck, grab a screenshot of:
- Your Cloudflare DNS records page
- The browser error message
…and send it to your BettrData contact. We can usually spot what’s wrong very quickly.
Quick Summary
- You add your domain to Cloudflare.
- You change your nameservers at your registrar to Cloudflare’s.
- You create a CNAME record like
data.yourdomain.com → <environment>.bettrdata.ioand keep it Proxied. - Cloudflare handles the SSL certificate and secure connection for your custom subdomain.
Once this is done, your users can access BettrData via your own branded URL.