Matomo hosting
Privacy-friendly web analytics. Deploy to a dedicated VPS in seconds — database auto-created, SSL installed, firewall locked down from the first boot.
Latest
Versions
MySQL / MariaDB
Database
PHP
Category
What is Matomo?
Matomo is an open-source web analytics platform and a privacy-friendly alternative to Google Analytics. It reports visitors, pages, traffic sources, campaigns, goals, e-commerce and real-time activity.
With self-hosted Matomo, all analytics data stays on your own server. Nothing is shared with an advertising company and you decide how long raw visit data is kept.
SharkCluster downloads the latest Matomo release and runs its installer for you: it creates the tables, the admin account and your first website, so you can copy the tracking code as soon as the install finishes.
The install is also set up for real use: reports are processed by an hourly cron job instead of in the browser, visitor IPs are read correctly behind Cloudflare, IP anonymisation is enabled and raw visit logs older than 180 days are deleted automatically.
Quick facts
- Version
- Latest
- Database
- MySQL / MariaDB
- Category
- PHP
- SSL included
- Firewall locked
- DB auto-created
- Live in minutes
Why Matomo on SharkCluster?
Own your data
Analytics data is stored in your own MySQL or MariaDB database on your server.
Privacy by default
IP anonymisation is enabled and old raw logs are deleted after 180 days.
No setup wizard
The admin account and first website are created during install.
Fast dashboards
Reports are pre-processed every hour by cron, so the dashboard does not build them while you wait.
Correct visitor IPs
Matomo reads the real visitor IP from Cloudflare's header and treats the site as HTTPS behind the proxy.
Hardened web server rules
Matomo's official nginx rules block access to config, temp and code folders.
What you get with Matomo
Latest Matomo release
Admin account created automatically
First website (site ID 1) created
Hourly report processing (core:archive)
IP anonymisation
Raw log deletion after 180 days
GeoIP location setup
Cloudflare visitor IP support
Official nginx security rules
PHP limits raised for report processing
MySQL / MariaDB database
Custom domain support
Free SSL certificate
What Matomo is built for
Website analytics
Track visits, pages, referrers and campaigns for one or many websites.
Privacy-compliant tracking
Keep analytics data on your own server to support GDPR and other privacy requirements.
E-commerce analytics
Track orders, revenue and product performance for online stores.
Agency reporting
Host analytics for multiple client sites and send scheduled email reports.
Replacing Google Analytics
Move to an analytics tool you control, with familiar reports.
Server specs for
Matomo
Not sure which plan to pick? The panel warns you before you deploy so you can choose the right size the first time.
- Minimum specs shown before deploy
- Panel blocks deploy if server is undersized
- Upgrade path available inside the panel
- PHP
- PHP 8.1 or newer.
- PHP extensions
- pdo_mysql, mysqli, gd, xml, dom, curl, mbstring, zip, json.
- Database
- MySQL or MariaDB.
- Memory
- 1 GB RAM minimum; 2 GB+ for sites with high traffic.
- CPU
- 1 vCPU minimum; more for many tracked sites.
- Storage
- 10 GB+ SSD; the database grows with traffic.
How Matomo fits together
Tracked websites
Your websites load matomo.js and send visits to your Matomo domain.
Web server
nginx or Apache serves Matomo and passes only its entry points to PHP.
PHP-FPM
Runs Matomo with 512 MB memory and a 300-second time limit for report processing.
MySQL / MariaDB
Stores raw visits and processed reports.
Cron
Runs core:archive every hour to build reports.
After your Matomo deploy
- 1
Create a Matomo application
Select Matomo in the SharkCluster panel with PHP 8.1 or newer.
- 2
Connect your domain
Point an analytics subdomain to the server and enable SSL.
- 3
Log in
Sign in with the username admin and the password shown in the panel. The account uses your SharkCluster email.
- 4
Update your website
Rename "My website" and set its URL under Administration > Websites > Manage.
- 5
Add the tracking code
Copy the code from Administration > Websites > Tracking code into your site.
- 6
Check real-time visits
Open the Visitors > Real-time report to confirm tracking works.
Ship Matomo your way
Check PHP
The PHP version and required extensions are checked; missing extensions are installed.
Download Matomo
The latest release is downloaded from builds.matomo.org.
Run the installer
Matomo's own installer runs without a browser to create tables, the admin user and the first website.
Apply settings
HTTPS behind the proxy, Cloudflare visitor IP, trusted host, cron archiving and 180-day log deletion are configured.
Schedule reports
A cron job runs core:archive every hour.
Secure files
Permissions are set and Matomo's security files are created.
Keeping Matomo fast
Keep cron archiving
Leave browser-triggered archiving off so dashboards load from pre-processed reports.
Tune log retention
Lower raw log retention to keep the database smaller, or raise it if you need longer raw data.
Add memory for large sites
Sites with millions of monthly visits need more RAM and CPU for archiving.
Use a separate database server
For very large installs, move MySQL to its own server.
Before you go live
Matomo login works
Domain DNS points to the server
SSL is enabled
Website name and URL are updated
Tracking code is added to your site
Real-time report shows visits
Archive cron is running
Ready your Matomo for launch
Change the admin password after first login
Add other users with the lowest role they need
Configure outgoing email for reports and password resets
Review privacy settings and retention
Back up the database
Keep Matomo updated
Check System Check for warnings
Working with Matomo
Process reports now
Run in the Matomo folder to build reports immediately.
php console core:archive --url=https://your-matomo-domain/Show Matomo version
Print the installed version.
php console core:versionClear caches
Clear Matomo caches after changes.
php console cache:clearRun database updates
Apply database updates after upgrading Matomo.
php console core:updateCommon Matomo issues & fixes
No visits in reports
- Cause
- The tracking code is missing, blocked or points to the wrong URL, or reports have not been processed yet.
- Solution
- Check the Real-time report, confirm matomo.js loads from your domain and run core:archive to process reports.
All visitors have the same IP
- Cause
- Matomo is reading the proxy IP instead of the visitor IP.
- Solution
- Check that proxy_client_headers in config/config.ini.php includes HTTP_CF_CONNECTING_IP or your proxy's header.
Untrusted host warning
- Cause
- You opened Matomo on a domain that is not in trusted_hosts.
- Solution
- Add the domain to trusted_hosts in config/config.ini.php.
Archiving runs out of memory
- Cause
- Report processing for large sites needs more memory than allowed.
- Solution
- Increase the server RAM or the memory_limit used by the archive cron job.
Hardened before your first request
Every deploy is locked down from boot — closed firewall, valid SSL, and restricted access by default.
Change the generated admin password after first login.
Give users the lowest role they need.
Serve Matomo over HTTPS only.
Keep Matomo and plugins updated.
Keep the nginx rules that block config, tmp, core and code folders.
Back up the database regularly.
The data layer behind Matomo
MySQL or MariaDB
Matomo supports MySQL and MariaDB only; the database is created during install.
Raw visit logs
Raw visit data older than 180 days is deleted automatically; processed reports are kept.
Growth
Database size grows with traffic; plan storage for high-traffic sites.
Automations that run on schedule
Report processing
core:archive runs at five minutes past every hour as www-data.
Browser archiving off
Reports are not built when someone opens the dashboard, which keeps it fast.
A safe Matomo upgrade path
- 1
Back up
Back up files and the database before upgrading.
- 2
Update Matomo
Use the one-click update in the admin or replace the files with the new release.
- 3
Run database updates
Run php console core:update if prompted.
- 4
Check tracking
Confirm the Real-time report still receives visits.
Take a snapshot before every upgrade so a bad release can be rolled back in minutes.
We manage the server, you own the store
SharkCluster manages
- VPS infrastructure
- PHP-FPM
- MySQL / MariaDB
- Web server
- Archive cron
- SSL
- Firewall
- Backups where enabled
You manage
- Tracked websites
- Tracking code
- Users and access
- Goals and reports
- Privacy settings
- Matomo updates and plugins
Everything below the application line — from nginx to backups — is infrastructure. Your code, content and store configuration are always yours, and you keep full SSH and root access.
Frequently Asked Questions
The questions we hear most from people deploying Matomo on SharkCluster.
Contact supportMatomo is an open-source, privacy-friendly web analytics platform and an alternative to Google Analytics, with the data stored on your own server.
Use the username admin and the password shown in the SharkCluster panel. The account email is the one on your SharkCluster account.
In Matomo under Administration > Websites > Tracking code. The first website has site ID 1.
PHP 8.1 or newer. SharkCluster checks the version before installing.
Raw visit logs are deleted after 180 days. Processed reports are kept. You can change this under Administration > Privacy.
Yes. Add each website under Administration > Websites > Manage and use its own tracking code.
From deploy to live in minutes
Stack configured
Runtime, process manager and config files set up for you.
MySQL / MariaDB wired
Database created with a user and credentials in your config.
SSL + firewall
Free Let's Encrypt certificate and closed-by-default UFW rules.
Deploy anytime
Push with Git, or use the built-in file manager and ZIP upload.
How do you start
with SharkCluster?
To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.