Skip to content
Setup · spoke

How to install a self-hosted tracker

The install is the easy part and takes an hour. Sizing the disk correctly and setting one alert is what decides whether the next twelve months are quiet.

Reviewed and updated August 29, 2026 by the binom.courses editorial team · how we test

Self-hosted trackers ship one-command installers and several vendors will do the install for you at no charge. The software is not the hard part. The hard parts are sizing the machine correctly and setting up the two or three alerts that turn a silent outage into a notification.

Sizing the server

Disk speed and free space matter more than CPU, because the click table is the bottleneck for both writes and reports.

Monthly eventsSensible specRough monthly cost
Under 5M2 vCPU, 4 GB RAM, 80 GB SSD$20-40
5–20M4 vCPU, 8 GB RAM, 160 GB NVMe$40-80
20–60M8 vCPU, 16-32 GB RAM, 320 GB+ NVMe$80-150
60M+Dedicated, 32 GB+ RAM, fast NVMe, RAID$150-300

Two sizing rules that save money and pain:

  • Buy disk generously. Click tables grow monotonically and a full disk is the classic self-hosted outage. Doubling disk is cheap; migrating a full server under load is not.
  • Buy RAM before CPU. Report speed is dominated by how much of the working set fits in memory. A slow report is a report you stop running.

Location matters more than most people assume

Your redirect hop happens where your server is. If your traffic is concentrated in a few countries, put the server near them.

Primary trafficSensible region
US and CanadaUS East or Central
Western EuropeFrankfurt, Amsterdam or London
Southeast AsiaSingapore
India and South AsiaMumbai or Singapore
Genuinely worldwideUS East or Frankfurt as a compromise, or a CDN in front

On pop and push traffic, where users abandon in seconds, this is one of the few optimisations that improves every campaign at once. It is also the main practical advantage self-hosting has over cloud, so it is worth getting right.

The install sequence

1

Start from a clean supported OS

Whatever the vendor's documentation names. Do not install onto a box that is already running something else — a shared server means one application's problem becomes your redirects' problem.

2

Create a non-root user and disable password SSH

Key authentication only. This is a public-facing server with a database behind it.

3

Point your tracking subdomain at the IP first

DNS should resolve before you run the installer, because certificate issuance depends on it.

4

Run the vendor installer

Binom offers free installation assistance; Keitaro and CPV Lab document self-install. Take the assistance if it is offered — the first install is where a day gets lost.

5

Issue certificates with automatic renewal

Then verify from an external network, on a browser profile you have never used. An expired certificate breaks every tracking link at once.

6

Set the timezone to match your ad accounts

Before any data exists. Changing it later leaves a seam in your history that never fully resolves.

The four things that break first

Disk full during a traffic spike

The most common self-hosted outage by a wide margin. Writes stop, redirects fail, and nothing you are watching reports an error. Alert at 70% on the click-table partition.

Certificate expiry

Automatic renewal fails silently more often than people expect - a changed DNS record, a firewall rule, a renewal hook that stopped working. Alert 14 days before expiry.

Report slowdown as tables grow

Gradual, so you adapt to it rather than noticing. Six months in, the report you used daily takes four minutes and you stopped running it. Watch query times, not just uptime.

Untested backups

Backups that have never been restored are a belief, not a plan. Restore one to a scratch server once a quarter.

From testing:

Set the disk alert before you point any traffic at the server. It is a five-minute job that prevents the single most expensive failure mode in self-hosting, and it is the one thing every experienced self-hoster wishes they had done on day one rather than day ninety.

The maintenance you are signing up for

TaskFrequencyTime
OS and package updatesMonthly30 min
Check disk headroom and growth rateAutomated, reviewed monthly10 min
Verify certificate renewal ranAutomated, reviewed quarterly5 min
Restore a backup to prove it worksQuarterly1 hr
Database maintenance as tables growAs needed1-3 hrs occasionally
Unplanned incident responseA few times a yearWhatever it takes

Two to four hours a month in steady state, plus one bad afternoon a quarter. That is the real cost of self-hosting, and it belongs in the comparison against cloud pricing — see self-hosted vs cloud.

Before you point real traffic at it

  1. HTTPS verified from an external network on an unfamiliar browser.
  2. Timezone matching your ad accounts.
  3. Disk alert configured at 70%.
  4. Certificate renewal automated and its next run verified.
  5. Backups running, and one restore tested.
  6. One campaign built, one real click verified, one test conversion attributed end to end.

Frequently asked questions

What server do I need for a self-hosted tracker?
Roughly: 2 vCPU and 4 GB RAM with 80 GB SSD under five million events a month; 4 vCPU and 8 GB with NVMe up to twenty million; 8 vCPU and 16-32 GB above that. Prioritise disk speed and free space over CPU, because the click table is the bottleneck.
Where should I locate the server?
Near your primary traffic. US East or Central for North America, Frankfurt or Amsterdam for Western Europe, Singapore for Southeast Asia. On pop and push, where users abandon in seconds, server location is one of the few optimisations that helps every campaign at once.
What breaks first on a self-hosted tracker?
A full disk during a traffic spike. Writes stop, redirects fail, and no error appears anywhere you are watching. Set an alert at seventy per cent on the partition holding the click table before you send any traffic.
How much maintenance does a self-hosted tracker need?
Two to four hours a month in steady state - patching, checking disk headroom, verifying certificate renewal, quarterly backup restores - plus a few unplanned incidents a year. That cost belongs in any comparison against cloud pricing.
Do vendors help with installation?
Binom includes free installation assistance with its licence. Keitaro and CPV Lab Pro document self-install. Take the assistance where it is offered, because the first install is where most people lose a day.
Do I need to test my backups?
Yes, by actually restoring one to a scratch server. Backups that have never been restored are a belief rather than a plan, and the day you discover a broken backup is always the day you needed it.

Try the setup on your own traffic

Binom v2 ships a 30-day trial on the full self-hosted licence, which is long enough to run a real campaign end to end before you decide.

Start the 30-day trial →

Affiliate link. How this site is funded.