1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Moving a domain to a different client

Discussion in 'Plesk for Linux - 8.x and Older' started by timbr8ks, Feb 9, 2005.

  1. timbr8ks

    timbr8ks Guest

    0
     
    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?
     
  2. smtalk

    smtalk Guest

    0
     
    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
     
  3. jprince

    jprince Guest

    0
     
    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
     
  4. SGeorgeAZ

    SGeorgeAZ Guest

    0
     
    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
     
  5. jprince

    jprince Guest

    0
     
    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.
     
  6. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    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,
     
  7. Snapdragon

    Snapdragon Guest

    0
     
    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.
     
  8. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    it has the ip on the Ip Pool. i already checked that
     
Loading...