KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-transfer-domains-in-directadmin

How To Transfer Domains in DirectAdmin

There are primarily two ways of transferring domains in DirectAdmin - the original way and the new "test" script way.


Transfer a Domain in DirectAdmin using the Control Panel


Step 1 - Make a backup of the user who has the domain currently

  • In the Reseller Panel, pick Manage User Backups


Step 2 - Rename the domain

  • Login as the user
  • In the User Panel, pick Domain Administration → Change Domain Name
  • Rename the domain to something else
  • Note: this is being done to avoid clashes as a duplicate when restoring the backup


Step 3 - do A or B, but not both, depending on whether the user already exists, or not


Step 3a - Create a New User (if they don't already exist)

  • In the Reseller Panel, pick Create User
  • Set the domain name to the original domain name (not the new fictitious name)


Step 3b - Create a Domain (if the user already exists)

  • In the User Panel, pick Domain Administration - Create Domain
  • Set the domain name to the original domain name (not the new fictitious name)


Step 4 - Rename the Backup from Step 1

  • Rename the downloaded backup file
  •   from: originaldomainownerusername.tar.gz
      to:  newdomainownerusername.tar.gz


Step 5 - Restore the Renamed Backup

  • In the Reseller Panel, pick Manage User Backups
  • Select the recently renamed file
  • Restore it onto the new user account


Step 6 - Login to New User Account and Confirm


Step 7 - Login to Old User Account and Remove Fictitious Domain


Transfer a Domain using the Test Script

Step 1 - Create a New User and Assign a Fictitious Domain (A or B but not both)


Step 1a - Create a New User (if they don't already exist)

  • In the Reseller Panel, pick Create User
  • Set the domain name to a fictitious domain name


Step 1b - Create a Domain (if the user already exists)

  • In the User Panel, pick Domain Administration - Create Domain
  • Set the domain name to a fictitious domain name


Step 2 - Run the script, replacinging domain.com with appropriate domain to transfer, olduser to the original domain owner and newuser to the newly created user

  cd /usr/local/directadmin/scripts
  ./move_domain.sh domain.com olduser newuser

Note: This is considered a TEST solution and is included since it looks to be the direction forward with domain transfers under DirectAdmin.


Need a Hand?

Contact KnownHost technical support for help with technical matters relating to your KnownHost managed hosting account.

control-panels/directadmin/how-to-transfer-domains-in-directadmin.txt · Last modified: 2020/11/27 10:05 by Karson N.