prajithp13

Member
Jun 12, 2012
20
0
1
India
cPanel Access Level
Root Administrator
This is a small perl script, for converting addon domain to main account.

[email protected] [~]# perl convert_addon.pl
Usage:
convert_addon.pl --addon_domain=<addon_domain_name> --main_user=<main cpanel username> --addon_user=<new domain username> --addon_pass=<new domain password>

requird options
--addon_domain: specify the addon domain name which you want to conver
--main_user : specify the usename of the addon domain
--addon_user : specify the new account username
--addon_pass : specify the password for new account

optional
-V : print script version
-h : print this help message and exit

Example sytax


perl convert_addon.pl --addon_domain=prajith.in --main_user=prajith --addon_user=website2 --addon_pass=test

Download it from the following url: /https://github.com/Prajithp/cp_addon_converter

Try this and EnJoY
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

Thank you for sharing this workaround. Please note that user-submitted workarounds are not tested or supported by cPanel. We encourage everyone to review all aspects of workarounds before implementing them on a production server.

Thank you.
 
Thread starter Similar threads Forum Replies Date
N Workarounds and Optimization 3
C Workarounds and Optimization 4