Skip to content

setting up Matomo

Solved General
48 2 18.6k 1
  • wrote on last edited by
    #1

    I’m looking to set up Matomo again on a sub domain, I need to add a sub domain and then make the sub domain not visible to search engines and put a login on the domain.

    https://matomo.org/free-software/

    Is this still easy to do even with different hosting now?

    many thanks

  • JAC JAC

    @phenomlab said in setting up Matomo:

    If you choose the second, it’s the easiest (and probably laziest ), but it will work. We just then need to set a redirect so that all traffic lands up at https://site.domain.com even if we try with or without the www prefix.

    Will try this now mate 🙂

    wrote on last edited by
    #31

    @jac As per PM, this has been completed.

  • JAC JAC

    I’m looking to set up Matomo again on a sub domain, I need to add a sub domain and then make the sub domain not visible to search engines and put a login on the domain.

    https://matomo.org/free-software/

    Is this still easy to do even with different hosting now?

    many thanks

    wrote on last edited by
    #2

    @jac basically looking to see how accurate the NodeBB in house stats are…

    Screenshot 2021-12-08 at 13-14-41 Stockport County FC Fans Forum.png

  • JAC JAC

    I’m looking to set up Matomo again on a sub domain, I need to add a sub domain and then make the sub domain not visible to search engines and put a login on the domain.

    https://matomo.org/free-software/

    Is this still easy to do even with different hosting now?

    many thanks

    wrote on last edited by
    #3

    @jac Yes, this is relatively simple, but you’ll need to create the subdomain in Porkbun and have it point to the same IP address as your root site. Web protection simple, as Matomo will require a login to access anyway.

    There’s some configuration work to be done in terms of the actual installation, and getting everything working, but happy to help with that.

  • JAC JAC

    @jac basically looking to see how accurate the NodeBB in house stats are…

    Screenshot 2021-12-08 at 13-14-41 Stockport County FC Fans Forum.png

    wrote on last edited by
    #4

    @jac Fairly accurate I believe - you need to remember that both NodeBB and Matomo will collect stats differently.

  • @jac Yes, this is relatively simple, but you’ll need to create the subdomain in Porkbun and have it point to the same IP address as your root site. Web protection simple, as Matomo will require a login to access anyway.

    There’s some configuration work to be done in terms of the actual installation, and getting everything working, but happy to help with that.

    wrote on last edited by
    #5

    @phenomlab said in setting up Matomo:

    @jac Yes, this is relatively simple, but you’ll need to create the subdomain in Porkbun and have it point to the same IP address as your root site. Web protection simple, as Matomo will require a login to access anyway.

    There’s some configuration work to be done in terms of the actual installation, and getting everything working, but happy to help with that.

    Many thanks for the advice mate.

    I was just wondering as I’ve actually not needed to add a sub domain since moving to Porkbun.

    I seem to remember having to lock the domain to public viewing when with Ionos?

    Many thanks.

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac Yes, this is relatively simple, but you’ll need to create the subdomain in Porkbun and have it point to the same IP address as your root site. Web protection simple, as Matomo will require a login to access anyway.

    There’s some configuration work to be done in terms of the actual installation, and getting everything working, but happy to help with that.

    Many thanks for the advice mate.

    I was just wondering as I’ve actually not needed to add a sub domain since moving to Porkbun.

    I seem to remember having to lock the domain to public viewing when with Ionos?

    Many thanks.

    wrote on last edited by
    #6

    @jac I think maybe something along the lines of stats.domain.com is suitable?

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac Yes, this is relatively simple, but you’ll need to create the subdomain in Porkbun and have it point to the same IP address as your root site. Web protection simple, as Matomo will require a login to access anyway.

    There’s some configuration work to be done in terms of the actual installation, and getting everything working, but happy to help with that.

    Many thanks for the advice mate.

    I was just wondering as I’ve actually not needed to add a sub domain since moving to Porkbun.

    I seem to remember having to lock the domain to public viewing when with Ionos?

    Many thanks.

    wrote on last edited by
    #7

    @jac said in setting up Matomo:

    I seem to remember having to lock the domain to public viewing when with Ionos?

    That was only for the development environment to prevent it from duplicating content that already existed in production.

    @jac said in setting up Matomo:

    I think maybe something along the lines of stats.domain.com is suitable?

    Yes, that’s fine. You just need to create an A record for that first, then you can create the virtual domain in Virtualmin

  • @jac said in setting up Matomo:

    I seem to remember having to lock the domain to public viewing when with Ionos?

    That was only for the development environment to prevent it from duplicating content that already existed in production.

    @jac said in setting up Matomo:

    I think maybe something along the lines of stats.domain.com is suitable?

    Yes, that’s fine. You just need to create an A record for that first, then you can create the virtual domain in Virtualmin

    wrote on last edited by
    #8

    @phenomlab said in setting up Matomo:

    @jac said in setting up Matomo:

    I seem to remember having to lock the domain to public viewing when with Ionos?

    That was only for the development environment to prevent it from duplicating content that already existed in production.

    @jac said in setting up Matomo:

    I think maybe something along the lines of stats.domain.com is suitable?

    Yes, that’s fine. You just need to create an A record for that first, then you can create the virtual domain in Virtualmin

    It was yes I remember now, fantastic Mark thank for the further instructions. I will do this later if I get on the laptop.

  • JAC JAC

    @phenomlab said in setting up Matomo:

    @jac said in setting up Matomo:

    I seem to remember having to lock the domain to public viewing when with Ionos?

    That was only for the development environment to prevent it from duplicating content that already existed in production.

    @jac said in setting up Matomo:

    I think maybe something along the lines of stats.domain.com is suitable?

    Yes, that’s fine. You just need to create an A record for that first, then you can create the virtual domain in Virtualmin

    It was yes I remember now, fantastic Mark thank for the further instructions. I will do this later if I get on the laptop.

    wrote on last edited by
    #9

    @jac just setting up now…

  • JAC JAC

    @jac just setting up now…

    wrote on last edited by
    #10

    @jac said in setting up Matomo:

    @jac just setting up now…

    I’ve added the A record…

  • JAC JAC

    @jac said in setting up Matomo:

    @jac just setting up now…

    I’ve added the A record…

    wrote on last edited by
    #11

    @jac I see it - you’ll need to create the new subdomain in your Virtualmin instance

  • @jac I see it - you’ll need to create the new subdomain in your Virtualmin instance

    wrote on last edited by
    #12

    @phenomlab logged in to Virtualmin now.

    Just looking how to do this.

  • JAC JAC

    @phenomlab logged in to Virtualmin now.

    Just looking how to do this.

    wrote on last edited by
    #13

    @jac looks tricky if you don’t know what you’re doing 😉

  • JAC JAC

    @jac looks tricky if you don’t know what you’re doing 😉

    wrote on last edited by
    #14

    @jac Create virtual server > sub server?

  • JAC JAC

    @jac Create virtual server > sub server?

    wrote on last edited by
    #15

    @jac I don’t want to post sensitive information but is this correct?

    Screenshot 2021-12-09 at 12-53-14 (1) stockportcounty fans - Create Virtual Sub-Server — Webmin 1 981 (Ubuntu Linux 20 04 3).png

  • JAC JAC

    @jac I don’t want to post sensitive information but is this correct?

    Screenshot 2021-12-09 at 12-53-14 (1) stockportcounty fans - Create Virtual Sub-Server — Webmin 1 981 (Ubuntu Linux 20 04 3).png

    wrote on last edited by
    #16

    @jac Yep, that’s it.

  • @jac Yep, that’s it.

    wrote on last edited by
    #17

    @phenomlab thanks, now to proceed 🙂

  • JAC JAC

    @phenomlab thanks, now to proceed 🙂

    wrote on last edited by
    #18

    @jac said in setting up Matomo:

    @phenomlab thanks, now to proceed 🙂

    rookie error 😉

    “Failed to create virtual server : A sub-server cannot have MySQL enabled unless the parent server does”

  • JAC JAC

    @jac said in setting up Matomo:

    @phenomlab thanks, now to proceed 🙂

    rookie error 😉

    “Failed to create virtual server : A sub-server cannot have MySQL enabled unless the parent server does”

    wrote on last edited by
    #19

    @jac Yes, that means that MySQL isn’t enabled at the root domain. You’ll need to go to the root domain, and enable that feature for it to work on subdomains.

    The reason for it being missing is that you do not require MySQL for NodeBB as it uses MongoDB instead.

  • @jac Yes, that means that MySQL isn’t enabled at the root domain. You’ll need to go to the root domain, and enable that feature for it to work on subdomains.

    The reason for it being missing is that you do not require MySQL for NodeBB as it uses MongoDB instead.

    wrote on last edited by
    #20

    @phenomlab Thanks Mark,

    I’ll go and locate this now.


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Cloud Storage

    General zeitkapsl europe cloud proton storage
    2
    0 Votes
    2 Posts
    901 Views
    DownPW
    For EU-based, end-to-end encrypted cloud storage, here are the strongest options beyond what you’re already using: Tresorit (Switzerland) : Probably the gold standard for E2EE. Zero-knowledge, Swiss/EU data residency, excellent for both file sync and secure sharing. More expensive than competitors but very polished and audited. Filen (Germany) : Zero-knowledge E2EE by default, generous free tier (10GB), very competitive pricing on paid plans, and lifetime plans available. Open-source clients. Popular on the privacy subreddits as a Proton Drive alternative. Internxt (Spain) : Open-source, zero-knowledge E2EE, GDPR-based. Offers storage plus a few extra privacy tools. Lifetime plans available. Younger company, so weigh that against the price. pCloud (Switzerland, registered in EU) : Massive caveat: E2EE is not default. It’s a paid add-on called “pCloud Crypto.” Without it your files are encrypted at rest but not zero-knowledge. The draw is genuine lifetime plans, which can be cost-effective over years if you trust their longevity.
  • Nodebb vs Wordpress vs Other

    General wordpress nodebb woocomerce business
    4
    5 Votes
    4 Posts
    2k Views
    DownPW
    PrestaShop + modules IA https://www.prestashop.com Magento https://developer.adobe.com/open/magento
  • Torturing My Father & Mother In Law

    General linux story kde plasma fedora
    15
    15 Votes
    15 Posts
    4k Views
    phenomlab
    @DownPW once you leave windows for Linux, you don’t ever go back.
  • Email Provider

    General email gmail proton
    9
    5 Votes
    9 Posts
    3k Views
    Madchatthew
    @phenomlab lol it is a great excuse and sometimes a combination of both haha
  • Virgin Media Pricing

    General virgin media sky
    11
    9 Votes
    11 Posts
    5k Views
    JAC
    @phenomlab some good savings there Mark. I’ll post mine once my new deal changes over.
  • Windows 10 End of Life

    General windows linux arch end of life
    10
    2 Votes
    10 Posts
    3k Views
    Madchatthew
    @phenomlab this looks very nice as well. It is nice that they keep the KDE Neon a rolling release so you will get those updated apps even though Ubuntu isn’t a rolling release. Is it a rolling distro? KDE neon is rolling for KDE software. The Ubuntu base OS is not, but certain packages will be updated as needed to support KDE software requiring newer library versions than what is provided by Ubuntu. Apps from the main repositories are not rolling either, and therefore can be up to two years old. Users are encouraged not to use them, and to instead get apps from Snap or Flatpak using KDE’s Discover app store. In neon, Discover is set up to only show apps from these sources, filtering out apps from the repositories.
  • OKTA offering personal password manager

    General okta password manager
    31
    18 Votes
    31 Posts
    11k Views
    phenomlab
    @Madchatthew yes, works well for us.
  • Best antivirus software? (Looking to switch)

    General
    35
    19 Votes
    35 Posts
    13k Views
    Madchatthew
    @phenomlab or Challenge Accepted haha