Using Cloudflare DNS for your tracker (and getting free SSL)
Your tracker needs a domain name pointed at your server. The install guide uses Cloudflare for this: Cloudflare manages your DNS and provides free SSL, so you don’t set up certificates on the server. The free plan is enough.
Keep your DNS with a separate provider such as Cloudflare. Do not run DNS on your tracker server. That puts too many critical services on one machine.
This page covers the full Cloudflare setup. For the short version inside the install steps, see Installing FunnelFlux.
Step 1: Create a Cloudflare account
Section titled “Step 1: Create a Cloudflare account”Sign up for Cloudflare. The free plan is enough.
Step 2: Add your domain in Cloudflare
Section titled “Step 2: Add your domain in Cloudflare”In the Cloudflare dashboard, click Onboard a domain. Enter your domain name and continue.
Cloudflare scans for existing DNS records. Review them; you only need the records described below for your tracker.
![]()
Choose the Free plan and continue to the page that shows your Cloudflare nameservers. Cloudflare also shows them later on your domain’s overview page, so you can come back to them.
![]()
Step 3: Change your domain’s nameservers at your registrar
Section titled “Step 3: Change your domain’s nameservers at your registrar”Go to your domain registrar (where you bought the domain) and find your domain’s nameserver settings. Your registrar’s documentation on “using custom nameservers” covers this. The example below uses Namecheap.
Go to your domains page and click Manage for your domain.
In the Nameservers section, choose Custom DNS.
![]()
Enter the two nameservers Cloudflare gave you, for example:
- etta.ns.cloudflare.com
- evan.ns.cloudflare.com
Remove any leading or trailing spaces left over from copying and pasting.
Click the checkmark to save.
Nameserver changes can take up to 24 hours. They are usually faster for a newly bought domain.
You can check the status with a tool such as DNSChecker: enter your domain, set the record type to NS, then search. You can also check A and CNAME records this way to confirm propagation after changes.
Cloudflare emails you when the domain is active. You can also check the status on your domain’s overview page in Cloudflare.
Step 4: Add the A record for your tracker
Section titled “Step 4: Add the A record for your tracker”Once your nameservers are configured, open DNS > Records in Cloudflare.
There are two main record types you will use:
- A records point a domain name to an IP address.
- CNAME records alias a domain name to another domain name.
For your tracker, add an A record that points your tracker domain at your server’s IP.
You can use your root domain, such as example.com, or a subdomain such as tracker.example.com.
Use @ as the name for the root domain:
![]()
Use the subdomain as the name for a subdomain:
![]()
The screenshots show the grey cloud (DNS only); click it so it turns orange. Leave the proxy status on Proxied (orange cloud). Requests then pass through Cloudflare, which provides SSL and hides your server’s IP. FunnelFlux reads the visitor IP that Cloudflare forwards, so your reports still show the real visitor.
The finished record looks like this:
tracker.example.com. A 203.0.113.10 ProxiedAutomatic TTL is fine.
Step 5: Choose the SSL mode
Section titled “Step 5: Choose the SSL mode”Go to SSL/TLS > Overview and choose an encryption mode:
- Flexible (recommended): visitors use HTTPS to Cloudflare, and Cloudflare talks to your server over plain HTTP. Nothing to set up on the server.
- Full: Cloudflare also uses HTTPS to your server, with the self-signed certificate
ff1.shinstalls. Also nothing to set up, and the traffic between Cloudflare and your server is encrypted.
Do not choose Full (strict). It rejects the self-signed certificate, and the tracker returns Cloudflare error 526.
With Flexible, your server sees plain HTTP requests.
Once HTTPS works in the browser, turn on Force HTTPS in FunnelFlux so the links it generates use https://.
See How to configure FunnelFlux to force usage of SSL.
![]()
Step 6: Turn off caching and bot checks for the tracker
Section titled “Step 6: Turn off caching and bot checks for the tracker”Cloudflare’s caching and browser checks can break tracking links and postbacks. Turn them off for your tracker domain. Page Rules are a legacy feature; use Cache Rules and Configuration Rules instead.
Both rules below use this filter (replace the domain with yours):
(http.host eq "example.com" or ends_with(http.host, ".example.com"))Cache rule
Section titled “Cache rule”- Go to Caching > Cache Rules and create a rule.
- Under When incoming requests match, choose Custom filter expression and enter the filter above.
- Under Cache eligibility, choose Bypass cache.
- Deploy the rule.
Configuration rule
Section titled “Configuration rule”- Go to Rules > Configuration Rules and create a rule.
- Use the same filter.
- Add the Browser Integrity Check setting and turn it Off.
- If your dashboard offers a Security Level setting, set it to Essentially Off.
- Deploy the rule.
Step 7: Check your server and test
Section titled “Step 7: Check your server and test”Our install scripts set up Nginx with a catch-all host that serves any domain pointed at the server. You don’t need to change anything on the server. Your license is attached to one domain, and you sign in on that domain.
If you set up the server yourself, make sure your Nginx or Apache config has a virtual host for your tracker domain. If you plan to alias other domains to the tracker with CNAME records, add them to the same virtual host.
Check that the domain reaches the server through Cloudflare:
curl -I https://tracker.example.comAny response with a server: cloudflare header and no Cloudflare 52x error means the connection works.
When FunnelFlux is installed, sign in at https://tracker.example.com/admin/login.php.
After login you land in the classic interface at /admin/.
Open https://tracker.example.com/v2-ui/, or click V2 UI in the classic header, to reach the V2 Dashboard.
If you have not run the installer yet, load https://tracker.example.com/install.php.
Load a test tracking link in an incognito window, over both HTTP and HTTPS. Then check your stats broken down by ISP, IP and country, and confirm FunnelFlux recorded your own details. If you see Cloudflare IPs, an unexpected country or a missing ISP, FunnelFlux is seeing Cloudflare instead of the visitor; contact support.
Using CNAME domains with SSL
Section titled “Using CNAME domains with SSL”Cloudflare provides SSL for every domain you add to your account. You can use SSL with extra tracking domains through Cloudflare, as long as both domains are in Cloudflare on the same account.
To set one up:
- Add the other domain to Cloudflare as in steps 2 and 3.
- Add a CNAME record that points it at your tracker domain. Use
@as the name for the root domain, and leave it Proxied. - Set its SSL mode and add the cache and configuration rules as in steps 5 and 6.
Test the domain afterwards over both HTTP and HTTPS. For more on alias domains, see Use multiple domains using CNAMEs.

