[License] Activation on Staging and Local Environment, while Production isn't ready

I have somewhere read, that it is best to activate the license on the livesite, and copy the resulting .license-file to the subdomains, because all subdomains/environments are then activated too.
Is that true?

In my case, i can’t activate the license on the live site, because it is a relaunch, and i can’t install kirby on that domain now. So i have to activate it on staging.mydomain.com first, when i like my customer to not see the ‘registration-hint’ in the panel.
I guess the .license does not work then on the live-site afterwards, isn’t it?

How often can we activate a license?
How can we use that .license on mydomain.local too? (the .license from staging.mydomain.com does not work )
How are you doing that?

Thx!

It should work this way as well as Kirby ignores the subdomains staging and test when comparing the license domain. Other subdomains are however not ignored automatically.

You can activate a license a few times for the same project. At some point you will get an error, but then you could still get in touch to reset the counter. We won’t invalidate your license just for that reason as long as you don’t use the license for different projects.

Regarding the local domain: We recommend not to activate local development domains. A license is not needed for them anyway.

Thanks @lukasbestle for your fast response and the insights regarding staging subdomains!