Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5715

Use Apache server alias to use the same Matomo installation for different web sites

$
0
0

Say I have two web sites hosted on the same Apache server:

I could install Matomo on the server and use stats.example.org for both web sites.

  • example.org tracking code points to: stats.example.org
  • example.com tracking code also points to: stats.example.org

But what if I want to use the .com domain for tracking, like this:

  • example.org tracking code points to: stats.example.org
  • example.com tracking code points to: stats.example.com

Is it possible on the Apache server to make an alias so that requests to stats.example.com actually get redirected to stats.example.org on the server?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5715

Trending Articles