PDA

View Full Version : Move domain to other user account



Gert
02-17-2011, 06:31 AM
As a reseller I have for one customer two user accounts, both containing three domains. I like to move all domains into the same user account. Is this possible and, if so, how do I do this? Please advise

Thanks,

Gert:confused:

mr.applesauce
02-17-2011, 06:32 AM
there is a script in /usr/local/directadmin/scripts to move users.

marcovdahosting
03-09-2011, 08:41 AM
Yep this works perfectly.

[root@ scripts]# sh move_domain.sh
Move Domain to User - v. 0.1-beta

Usage:
move_domain.sh <domain> <olduser> <newuser>

hires
03-11-2011, 05:37 AM
To be sure, I want to do the same, but not only the domain needs to be transfered; also the website, SQL database, all settings (forward, autoresponders), FTP and e-mail accounts; all of it,the complete hosting account under that domain. Is this script doing that?

Thanks in advance.

scsi
03-11-2011, 08:24 AM
No you cant do that. There might be a rename user script but there is no way to clone a user like that.

zEitEr
03-14-2011, 03:24 AM
To be sure, I want to do the same, but not only the domain needs to be transfered; also the website, SQL database, all settings (forward, autoresponders), FTP and e-mail accounts; all of it,the complete hosting account under that domain. Is this script doing that?

Thanks in advance.

1. backups user from Admin/Reseller backups page
2. Re-name archive file: oldusername.tar.gz with newusername.tar.gz
3. Re-store user.

Be sure to change original domain name before backuping or restoring.