How to migrate accounts from CWP to CWP

From LHYcloud Docs
Revision as of 10:03, 23 August 2025 by Shubh (talk | contribs) (Created page with "'''<big>Introduction</big>''' <big>In this article, you will learn how to migrate accounts from CWP to CWP.</big> '''<big>what is cwp?</big>''' <big>Control Web Panel – an AI powered Free Web Hosting control panel designed for quick and easy management of (Dedicated & VPS) as well as offering an intuitive and modern interface for users, as a web hosting panel.</big> '''<big>SOURCE SERVER</big>''' # <big>Go to “CWP Settings” > “API Manager” in the le...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

In this article, you will learn how to migrate accounts from CWP to CWP.

what is cwp?

Control Web Panel – an AI powered Free Web Hosting control panel designed for quick and easy management of (Dedicated & VPS) as well as offering an intuitive and modern interface for users, as a web hosting panel.

SOURCE SERVER

  1. Go to “CWP Settings” > “API Manager” in the left menu.
B1.png
  1. Generate and save the new API key by using the green button “Allow New Api Access”
B2.png


IP origin: IP destination

Click on Generate code

Format request: JSON

Enable function for: CWP to CWP Migration, then click on Create

  1. Go to Dashboard > Firewall and whitelist the Source IP and Destination IP
B3.png


Under Whitelist Configuration, Click on Add an entry: Source IP and DestinationIP

B4.png
  1. Search SSH Key Generator in the left search box, click on Generate an SSH key, from the Server “Settings” module -> “SSH Key Generator

Generate new key and Add a Public key to authorized

DESTINATION SERVER

  1. Login to CWP of destination server

2. Go in firewall then whitelisted the Source IP and Destination IP

B5.png


3. Generate an SSH key, from the Server “Settings” module -> “SSH Key Generator”

4. Generate new key and Add a Public key to authorized

5. Login destination server via putty, then

ssh-copy-id root@x.x.x.x > source IP

Password:yxyxyxyx

6. User accounts> CWP->CWP migration

B6.png


Server IP: source IP

7. Api Key cPanel: Paste key which is generated in source server

Maximum simultaneous transfers: according to you select maximum number of accounts transfer

Test and save

8. Click on the authentication method,and select what you want to migrate

9. And start migration

NOTE: you can check the migration log with the following command

# *tail -f /var/log/cwp/account_transfer.log*-

Conclusion

Hopefully, you have learned how to migrate accounts from CWP to CWP.