Search Our Database
Reassign domain to a different user in DirectAdmin
Introduction
This guide will walk you through the process of transferring a domain from one user to another within the DirectAdmin control panel using a script. This method requires SSH access to the server. Follow the steps below to perform the transfer efficiently and ensure the domain is successfully moved.
Steps to Transfer a Domain in DirectAdmin
1. Access DirectAdmin Scripts Directory
DirectAdmin comes with a built-in script for transferring a domain between users. To start, SSH into the server using root access and navigate to the scripts directory as shown below:
[root@testserver ~]# cd /usr/local/DirectAdmin/scripts/
2. Run the Transfer Script
Next, use the provided script to initiate the transfer. Replace the placeholders with the appropriate domain and user information:
[root@testserver ~]# ./move_domain.sh domain.com olduser newuser
- Replace domain.com with the actual domain name.
- Replace olduser with the current user’s username.
- Replace newuser with the target user’s username.
3. Create a Temporary User
Before transferring the domain, create a new user with a temporary or “fake” domain. After the domain has been successfully transferred to the new user, you can delete the fake domain.
Closing Summary
By following these steps, you can easily transfer a domain between users in DirectAdmin. This method simplifies the process, allowing for a smooth transition while ensuring the domain remains active under the new user. If you encounter any issues, feel free to contact our support team for assistance.
Article posted on Feb 24, 2020 by IPSEVERONE.