Installing Matomo Web App and Matomo Database on seperate servers


(Steve Kinder) #1

Hi All,

I’m trying to find a way to fit Matomo into our company architecture principles from InfoSec.

Rather than have the app and db on the same Public facing web server as default, is there any way to setup Matomo so the web application is running on one server but the database is running on another?

Therefore, with some basic DMZ principles we can secure the data on private servers

Thanks,
Steve


(Fabian Dellwing) #2

You can setup any MySQL or MariaDB as Matomo SQL backend :slight_smile:


(Steve Kinder) #3

Thanks for the quick response Fabian!

Just to clarify though, can the MySQL database be on a different server to the Matomo Web application? In my head the piwik.js data collection function sits on a DMZ webserver, along with the web app code, but the data get channeled to a database sat on another server behind the firewall (with a bit of port configuration).


(Fabian Dellwing) #4

Yes, you can choose your database host while installing Matomo.


(Steve Kinder) #5

Fabian - you are an absolute dream !

Thanks