Web Hosting Talk







View Full Version : PLESK: Moving a Domain from one Client to Another Client


daThomas
07-21-2006, 02:21 PM
Is there an easy way to move a Domain from ClientA to ClientB in Plesk? It's not standing out to me if there is.

This is on Win2k3.

sgarbus
07-24-2006, 08:16 PM
I realize this is a bit late, but maybe you'll still have use for this. If not, maybe someone else will.

1) Click on the Client's name.
2) Select the domain from their main account overview (checkbox), and click on the 'Change Owner' link.
3) Find the new client to transfer the domain to (radio button), and click 'Next'.
4) Follow the rest of the steps, and the owner should be changed.

HTH,
Steve

submenu
07-24-2006, 10:39 PM
I run 7.5.6 and this is not an option. Possibly they added it in version 8 for linux. I haven't seen it yet though.

sgarbus
07-24-2006, 11:18 PM
I run 7.5.6 and this is not an option. Possibly they added it in version 8 for linux. I haven't seen it yet though.I run Plesk 8 for Linux, and yes, it is there. I looked at the Plesk 7.6 for Windows demo on Plesk's site to make sure it was the same procedure, it is. It's also the same for Plesk 7.5 Reloaded. Perhaps you're not seeing it?

crystalz
07-25-2006, 12:50 AM
This option is available in Plesk 7.6 while it isn't there in Plesk 7.5.6 (I checked on Windows Plesk)

PaulC-ehosting
07-26-2006, 06:20 AM
If you are comfortable editing the data in MySQL you can update the client id for the domain name from the old client to a new one. If not, you can use the creation utilities to change the owner:

kb.swsoft.com/article_138_991_en.html

(I cannot post links yet, you will need to copy/paste with http at the front)

tweed
09-06-2006, 05:36 AM
SITUATION
We're using Plesk 7.5.4 on a Windows machine. The option move to antoher client is not yet present in our Plesk environment (Plesk 7.6 does).

QUESTION
We're trying to move domains from one client to another. Therefore we use the command line utility as earlier suggested. But, every client is using another set of IP adresses. So the IP addresses used in the domain DNS config also needs to be updated. This is where the problem rises. Moving the domain to another client is working, but the ipaddress is not updated.

INFORMATION
As suggested in an earlier post and in the KB article of SWSoft (ID# 991) we use a specific command line rule to move a domain, including the ipaddress option. See the code below

"%plesk_bin%\domain.exe" -u [domain without www] -clogin [name of new client] -ip [new ipaddress]

During the execution of this line it returns an error. It is an HTML error with a lot of non-info. One line is usefull in specific;

PHostingManager() constructor failed: Unable to set current ip address: IP address is missing.

The domain has been moved to the new client, but the ipaddresses in the DNS of this domain is not updated. The ipaddress is in use on the server by the new client, so thats not the problem. A domain in Plesk with nothing setup (no hosting, no forwarding etc.) is moved without eny erros, even the ipaddresses are updated. But when a domein has hosting set up (like mysql db, emailaddresses etc.) it moves, but the ipaddresses of the DNS config of that domain is not updated.

THE ANSWER I WOULD LIKE
We can upgrade from Plesk 7.5.4 to 7.6.*, so the options becomes available in Plesk, but we'd rather not update (because of al the update issues).

Maybe we can change it directly in the MySQL database? If so, what are the changes to be made?

Or is there a setting in Plesk that we need to change before running the command line code?

Other suggestions?



Any help is appreciated!
Thanks in advance.

PaulC-ehosting
09-06-2006, 05:45 AM
The error may be due to the IP address not being in the new client's IP Pool.

You can update it through the MySQL DB if you need to, however if you are not sure you should not do this! From a command prompt:

cd \progra~1\swsoft\plesk\mysql\bin\
mysql -u admin -P 8306 -p

After hitting the enter key it will ask you for the plesk admin password, upon entering this you should be connecting to the plesk mysql db.

You will need to switch to the psa database:
use psa;

Then update the domains table:
update domains set cl_id=NEW_CLIENT_ID where name='DOMAIN_NAME';

You should replace the NEW_CLIENT_ID with the numeric ID of the client you are transferring the domain to, you can see this by hovering over the link to the client on the main client screen.

Once its transferred you may need to set up the IP in that clients pool and reset the DNS to the default.