Is it possible to have script pre-installed when User Create/Add new domain

I don’t know if it’s possible to have some files pre-installed on every domain name created on CyberPanel , I have the script already coded. but i will like the script to be automatically pre-installed when user create a new domain just like the same way we have the CyberPanel shown on newly created domain.

Please note that this script also make use of the database connection so i don’t know if it’s possible.

Any suggestion will be greatly appreciated.

It will even be much better if possible via the CyberPanel API or some sort of commands that i can probably run via maybe a php code.

Something like a script installer, but will be installed on the provided users account.
i want to create different accounts for each users with a subdomain as their domain, while hiding the panel from them. so all they can access is there website and they can also decide to point a custom domain at anytime

Any help on this is will be greatly appreciated please.

Unfortunately, that is not possible.

1 Like

Thanks Usman.