Activating automatic subdomain, extended license:
Open the folder /public_html/script/
Edit the file below and add the lines at the end
.env
AUTO_APPROVED_DOMAIN=true
MOJODNS_AUTHORIZATION_TOKEN=
SERVER_IP=
CNAME_DOMAIN=
VERIFY_IP=
VERIFY_CNAME=
Save.
In application administration, go to the menu:
Config
System Environment
Domain Configuration
Register on the website:
https://mojodns.com. Configure the API. Be happy!
Adding automatic subdomain "wildcard subdomain or wildcard subdomain"
01 - In cPanel, click Subdomains
2-1 - When creating the subdomain, in the field to add the store name. Add the wildcard character "*" asterisk.
2-2 - Select the primary domain
2-3 - Document Root, manually add the name of the root folder of the application "public_html".

Ready. The new stores will already be approved automatically, without having to create a new subdomain every time you sell a store.
01 -
02 -