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

How can I move 1 domainname from one client to another client?

Discussion in 'Plesk for Linux - 8.x and Older' started by editor, May 5, 2005.

  1. editor

    editor Guest

    0
     
    According to the big problems of PLESK-software produced
    by the misserable PLESK-politic,
    cp. http://forum.plesk.com/showthread.php?s=&threadid=23680
    cp. http://forum.plesk.com/showthread.php?s=&threadid=23626


    Plesk 7.5.2 Reloaded, Linux
    I have to move 1 domainname from one client to another client.
    How can I do this?
    (No, I do not want to delete the domainname from one client
    and then setup again the same domainname onto the other
    client's account.)

    BTW: Yes, I also have access with phpmyadmin to the
    PLESK-table "psa". I think, it has to do with the

    SELECT psa
    FROM `domains`
    LIMIT 0 , 30

    There is a row called "cl_id" and I think, if I change just only
    the number of "cl_id", then the domainname will automatically
    be moved, but I am not so very sure. I am not sure, if this will
    be enough...

    Thank you very much.
     
  2. smtalk

    smtalk Guest

    0
     
    Yes, you can just change cl_id, but there is one more way:

    /usr/local/psa/bin/domain.sh -u <domain> -clogin <client_login>
     
  3. editor

    editor Guest

    0
     
    Re: Re: How can I move 1 domainname from one client to another client?

    Wonderful. I was just updating this.

    For those who would like to more details how to change it.
    Install the phpmyadmin to your PLESK-server to any
    htaccess-protected directory, for example

    http://www.mydomainname.tld/mytopsecrectdir/phpmyadmin/

    Edit the config.inc of phpmyadmin:

    Username
    is the same username like you use for PLESK-login.

    Password
    is the same password like you use for PLESK-login.

    Now you can see (and edit) all of PLESK with your
    phpmyadmin.

    Here in my case to change the client-id "cl_id", look:

    Server: localhost
    Database: psa
    Table: domains

    If you have cl_id number 1 for you, and another client has
    cl_id number 3, just edit this in this table "domains" and
    save it. The info with your phpmyadmin will show you
    something like this here:

    SQL-command:
    UPDATE `domains` SET `cl_id` = '1' WHERE `id` =3 LIMIT 1 ;

    If you relogin to your https://www.mydomainname.tld:8443/
    then the edited domainname will appear under your client-id-
    account number 1.

    Background:
    We have only 1 IP-number. All the domainnames must be
    moved to only 1 client-account. Then the "anonymous
    ftp"-icon
    will be active to get your own "anonymous ftp". And the
    clients
    itself? Well, they can still login to Plesk by
    "domainname.tld"
    and its password. Just give them "domain-management"-access.

    :)

    Oh, thank you for this nice tip. Thats also a good idea. :)
     
  4. defencer

    defencer Guest

    0
     
    BTW, in plesk 7.5.3 you can do this from the control panel:

    5. [+] It is now possible to transfer domains from one client to another using the control panel.
     
Loading...