Self-host Matomo on your own VPS
A full-featured Google Analytics alternative that keeps you in control of your visitor data.
Full-featured web analytics platform (+ MariaDB).
- Category
- Analytics
- What gets deployed
- 2 containers, including MariaDB
- HTTPS
- Automatic, as soon as your domain points at the server
- Plan
- Any paid plan (Solo, Pro or Agency)
- Often replaces
- Google Analytics and Mixpanel
Tested on 2026-11-24: started from this exact template and answered on its port.
How to deploy Matomo with DeployOS
- 1
Connect your server
Paste your VPS's IP address and SSH key. DeployOS installs Docker, a firewall and HTTPS routing in one pass.
- 2
Choose Matomo
Open Templates and pick Matomo. Give it a name and, if you have one, a domain. MariaDB is set up for you.
- 3
Press Deploy
DeployOS starts it, checks it answers, and gives you its address. Passwords it generates are kept in your computer's keychain.
Matomo on a VPS: common questions
How do I install Matomo on a VPS?
Connect your server in DeployOS by pasting its IP address, open Templates, choose Matomo, give it a name and a domain, and press Deploy. DeployOS also starts MariaDB for it and connects the two, so there is no database to set up. When it finishes you get its address over HTTPS.
What does it cost to self-host Matomo?
Matomo is included with every paid DeployOS plan, from $79 once for Solo. You also pay your VPS provider, typically about $5 a month for a small server, and the same server can run your other apps too.
Do I need to know Docker to run Matomo?
No. DeployOS writes the configuration, starts the 2 containers, routes your domain to it and gets the HTTPS certificate. You manage it from the app: restart, logs, backups and updates.
More analytics apps you can self-host
- AckeePrivacy-first analytics with a clean UI (+ MongoDB)
- CountlyMobile & web product analytics
- FathomSimple, GDPR-compliant site analytics
- MetabaseBusiness intelligence & dashboards
- UmamiPrivacy-friendly web analytics (+ Postgres)
- OpenPanelCookie-less web & product analytics (Google Analytics / Mixpanel alternative) with data export and MCP - needs ~4 GB RAM (+ Postgres, Redis, ClickHouse, Redpanda)