• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Moving a domain to a different client

T

timbr8ks

Guest
I have five clients on my server, two of whom have become one. I'd like to move the domains under one client to the other client and then delete the excess client. How do I do this?
 
Login to mysql with:

mysql -u admin -p`cat /etc/psa/.psa.shadow`

Type:

use psa;

Type:

UPDATE domains SET cl_id = ID WHERE name = 'domain.com';

Type:

exit
 
Hello,
You could try the creation utils..

/usr/local/psa/bin/domain.sh -u <domain.com> -clogin <user>
ie...
/usr/local/psa/bin/domain.sh -u thedomain.com -clogin newuser

Subsitute the domain and the new user accounts name...
That should do it for you.

--john
 
John,

Excuse my ignorance but I'm a newbie at this. Where do I find the Creation Utils? Or is there a way to do this within the Plesk 7 GUI?

Thanks,
Steve
 
Hello,
Have a look in /usr/local/psa/bin

The creation tools are documented in the handbook,
have a look here. :)
Handbook -> Creation Utilities

You will need to execute the command(s) as root.

Hope that helped.
Cheers.
 
Originally posted by jprince
Hello,
You could try the creation utils..

/usr/local/psa/bin/domain.sh -u <domain.com> -clogin <user>
ie...
/usr/local/psa/bin/domain.sh -u thedomain.com -clogin newuser

Subsitute the domain and the new user accounts name...
That should do it for you.

--john

I have been working with plesk for a year and a bit more, i have done a lot of moves of domains between clients with no problems, i have used both ways MySQL way and Plesk Creation utils way...

now where comes my questions???

just now i have been trying to change the password for the domain administrator of some domains i have moved from a client to another and only as admin i am allowed to perform such task, there must be a bug somewhere that doesnt allow you to change password when you move a domain between clients, any one have come with a solution yet?

Please dont tell me that "delete and recreate the domain" as for 5 domains is ok, but for more than 50 is not a solution at all, it is really a problem if i have to delete and recreate them.

Best regards,
 
If you've changed a domain to a new client and start getting errors I find it's because the new client doesn't have the IP of the domain in their IP pool. Check the IP pool.
 
Back
Top