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

Transfering domains between clients.

Discussion in 'Plesk for Linux - 8.x and Older' started by Greg-J, Mar 6, 2005.

  1. Greg-J

    Greg-J Guest

    0
     
    I realize it might be a unique position to be in, but I am in one where I fund myself needing to move a site from one client to another. I have found no easy way to do this, but would be grateful if anyone could point me to a possibly solution.

    I'm using FC2 with Plesk 7.5.x Reloaded
     
  2. littlefrog

    littlefrog Regular Pleskian

    25
     
    Joined:
    Jul 30, 2008
    Messages:
    176
    Likes Received:
    0
    This might not be the easiest way but i been doing it this way for years.

    If you have phpmyadmin installed on server go there and sign into it as with your plesk admin info.

    Then.

    1) Navigate to the psa database
    2) Browse the ‘clients’ table and find the client you want to move TO and write down ID number.
    3) Browse the ‘domains’ table and find the domains you want to move and edit the records. Simply just update the ‘cl_id’ field to the ID you wrote down from last step
    4) Save the records you have edited and your done.
     
  3. smtalk

    smtalk Guest

    0
     
    Or another way: /usr/local/psa/bin/domain.sh -u domain.com -clogin client_login
     
  4. modom

    modom Guest

    0
     
    What is the url to do this?
     
  5. Greg-J

    Greg-J Guest

    0
     
    what does client_login stand for? the login name or loginname_password? Could you give an example using ficticous domain / login / pass? thank you very much.
     
  6. Matt.D

    Matt.D Guest

    0
     
    Lets say you have the client...

    Client Name: John Smith
    Client Company: Smith Industries
    Client Login: j_smith_ind
    domian to move: domain.com

    so...

    /usr/local/psa/bin/domain.sh -u domain.com -clogin j_smith_ind


    hope that helps ;)
     
  7. littlefrog

    littlefrog Regular Pleskian

    25
     
    Joined:
    Jul 30, 2008
    Messages:
    176
    Likes Received:
    0

    If you are going to run it as an SSH command, which is a good idea because it is a one line command, make sure you single quote or double quote both the domain and the client login name. This will help avoid errors especially if the login name has a space.

    so...

    /usr/local/psa/bin/domain.sh -u 'domain.com' -clogin 'j_smith_ind'
     
  8. Greg-J

    Greg-J Guest

    0
     
    I used the command line to make the change and it was successful, however there is an issue now.

    When the storage and bandwidth limits are calculated, the site that I moved counts towards the old clients limits and not towards the new clients limits.

    Any suggestions?
     
Loading...