How does your purchase code work?
You should register the purchase code for your main domain firstly, then you can use as many sub-domain as you want. Please refer this article
Please note: Main domain should be simple such as: abc.com
Then if you want to change your main domain, you have a chance to do so by refering this article