Move site and domain of admin to an other account

DionWales

Verified User
Joined
Mar 9, 2011
Messages
13
Hi,

I have a site that is running under the admin user. I want that moved to another user.
I know there is a move_domain script. Also I need the database moved to another user and also the files.

The domain under the admin user is also the domain where the server is running on (with server.mydomain.tld). When I move the domain with the move_domain script, all the DNS records are preserved and what about the mailboxes?

What is the best way to get this domain, mailboxes, DNS, databases over to another account?
 
Hello,

Use the move_domain script for this, it will take care of your email boxes, files on a disk, dns, etc. Then


1. create an empty DB in Directadmin for your new user
2. copy data from old DB to the new DB, using dump/import function in DA or phpMyAdmin
3. update settings in your PHP application/site to connect to the new DB
4. check the site
5. remove old DB
 
Hello Alex,

Thank you for your response. Will give it a try in the evening, sounds like a easy solution.
 
Back
Top