<p>There's a <a href="https://craftcms.com/guides/how-craft-license-enforcement-works#how-do-we-determine-craft-is-running-on-a-public-domain" rel="nofollow noreferrer">guide to how licensing is enforced</a> :)</p>

CC BY-SA 4.0
2019-03-14T09:38:05.383Z
2019-03-14T09:38:05.383Z
Oli
<p>It isn't currently clear how licences work with dev, staging and live environments or to be clearer how it works with different domains.</p>

<p>I have the following domains setup for different environments.</p>

<ol>
<li>Local: name.test</li>
<li>Staging: sub.domain.co.uk</li>
<li>Preproduction: domain.co.uk</li>
<li>Production: livedomain.com</li>
</ol>

<p>But this can't be configured on the Craft ID site as far as I'm aware? This also results in Licence Errors across staging and preproduction environments.</p>

<p>Is there a solution to what I'm describing?</p>

<craft3><license>
Craft Licensing and Multiple Environments on Different Domains
# Craft Licensing and Multiple Environments on Different Domains

(Asked by: username_0 on 2019-03-14)

It isn't currently clear how licences work with dev, staging and live environments or to be clearer how it works with different domains.

I have the following domains setup for different environments.

1. Local: name.test
2. Staging: sub.domain.co.uk
3. Preproduction: domain.co.uk
4. Production: livedomain.com

But this can't be configured on the Craft ID site as far as I'm aware? This also results in Licence Errors across staging and preproduction environments.

Is there a solution to what I'm describing?

**Tags:** craft3, license

---

## 1 answers

### Answer by username_1 on 2019-03-14. Score: 1

There's a [guide to how licensing is enforced](https://craftcms.com/guides/how-craft-license-enforcement-works#how-do-we-determine-craft-is-running-on-a-public-domain) :)


---

