<p>I think it would be enough to delete the license.key file under</p>

<pre><code>craft/config
</code></pre>

<p>and purchase a new license. The key file will be re-generated.</p>

<p>Some more info in this <a href="https://craftcms.stackexchange.com/questions/1844/how-to-replicate-a-craft-installation-as-a-starting-point?rq=1">answer</a>, and here is how Craft decides if it is running on a <a href="http://buildwithcraft.com/help/license-enforcement#how-do-we-determine-craft-is-running-on-a-public-domain" rel="nofollow">public domain</a></p>

CC BY-SA 3.0
2014-11-11T16:19:58.303Z
This is spot on, just delete your duplicate license key. Make sure your `config` folder is writable, so Craft can put a new license key file there.
Lindsey D
CC BY-SA 3.0
2014-11-11T13:48:07.540Z
2014-11-11T18:53:54.317Z
2014-11-11T18:53:54.317Z
megatrond
<p>I have two seperate clients on different domains but I'm developing very similar websites for each. If I duplicate the entire site and upload to new domain what is the best way of handling the license key for the duplicated site. </p>

<p>I'm assuming if I transfer the license, using the control panel message, then the other website's license will break.</p>

<p>Any help would be appreciated. </p>

<p>(edit: I want to pay for the license on the duplicated system without losing any data.)</p>

<license>
How to handle license when duplicating entire website
# How to handle license when duplicating entire website

(Asked by: username_0 on 2014-11-11)

I have two seperate clients on different domains but I'm developing very similar websites for each. If I duplicate the entire site and upload to new domain what is the best way of handling the license key for the duplicated site.

I'm assuming if I transfer the license, using the control panel message, then the other website's license will break.

Any help would be appreciated.

(edit: I want to pay for the license on the duplicated system without losing any data.)

**Tags:** license


---

## 1 answers

### Answer by username_1 on 2014-11-11. Score: 5

I think it would be enough to delete the license.key file under
craft/config

and purchase a new license. The key file will be re-generated.
Some more info in this answer, and here is how Craft decides if it is running on a public domain

> **Comments:**
> **username_2**: This is spot on, just delete your duplicate license key. Make sure your `config` folder is writable, so Craft can put a new license key file there.  

---

