Control Web Panel

WebPanel => Information => Topic started by: mtjweb on October 25, 2020, 06:32:39 PM

Title: Moving domains between accounts
Post by: mtjweb on October 25, 2020, 06:32:39 PM
Is it possible to move a domain to another account?
Title: Re: Moving domains between accounts
Post by: Starburst on October 25, 2020, 07:24:07 PM
Is it possible to move a domain to another account?

If it's a parked/add-on domain it simple.

But if it's the main domain name, the only way I know of is to delete the user account, and recreate it.
Title: Re: Moving domains between accounts
Post by: mtjweb on October 25, 2020, 07:52:10 PM
Is it possible to move a domain to another account?

If it's a parked/add-on domain it simple.

But if it's the main domain name, the only way I know of is to delete the user account, and recreate it.

Good to hear it is simple, but the question is how...

I only see the option to move a domain to a new account.
Title: Re: Moving domains between accounts
Post by: Starburst on October 26, 2020, 04:03:02 AM
If it's parked, then it has no files.
So when you delete it and re-park it, you don't have to worry loosing data.

Now, there is another trick.

Under /home you will see the user directories that are the username under Accounts.
You can use CWP's File Manager and rename the user you want to try to save from like user123 to a non account like jdoe.

Create the new account and then use File Manager to delete that directory and then rename jdoe to the new user.
Then run fix permissions.

* DISCLAIMER: I make no warranty data may be lost. * :P
Title: Re: Moving domains between accounts
Post by: cinique on October 26, 2020, 08:29:24 AM
Plus, fix any database names/users and the associated applications.
Title: Re: Moving domains between accounts
Post by: Igor S. on October 28, 2020, 08:58:57 AM
The same procedure websites migration between servers. Easy.