---
title: "Migrating Accounts from cPanel to CWP"
description: "Migrating from cPanel to Control Web Panel (CWP) can offer numerous benefits, including cost savings and enhanced server management capabilities. This guide will provide a comprehensive step-by-step..."
url: https://www.inmotionhosting.com/support/edu/control-web-panel/cwp-admin/user-and-account-management/migrating-accounts-from-cpanel-to-cwp/
date: 2024-07-09
modified: 2024-07-17
author: "Derrell"
image: https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/cpanel-cwp-migration.png
categories: ["User and Account Management"]
type: post
lang: en
---

# Migrating Accounts from cPanel to CWP

![Migrating Accounts from cPanel to CWP](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/cpanel-cwp-migration-1024x538.png)

Migrating from cPanel to Control Web Panel (CWP) can offer numerous benefits, including cost savings and enhanced server management capabilities. This guide will provide a comprehensive step-by-step process to ensure a smooth migration from cPanel to CWP.

- [Prerequisites](#prerequisites)
- [Step-by-Step Migration Guide](#steps)
- [Troubleshooting Common Issues](#troubleshooting)
- [Post-Migration Best Practices](#post)

## Prerequisites

Before beginning the migration process, ensure that you have the following:

- [Root access](https://www.inmotionhosting.com/support/amp/obtain-root-access/) to both cPanel and CWP servers
- A [complete backup](https://www.inmotionhosting.com/support/website/backup-and-restore/backup-manager-whm-vps-dedicated/) of all data on the cPanel server
- CWP installed on the new destination server

## Step-by-Step Migration Guide

### Step 1: Allow Server IPs Through Firewall

#### Allow Destination CWP Server’s IP in cPanel Server’s Firewall

1. **Log into WHM as Root**.
2. Navigate to **Plugins **-> **ConfigServer Security & Firewall**. ![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/plugins-csf.png)
3. Scroll down to the **csf- Quick Actions** section and locate the **Quick Allow** section.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/csf-quick-actions.png)
4. Type the destination CWP server’s IP in the green Allow IP address input box.
5. Click **Quick Allow**.

#### Allow cPanel Server’s IP in CWP Server’s Firewall

1. **Log into CWP Admin as Root**.
2. Navigate to **Security** -> **CSF Firewall**.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/cwp-csf.png)
3. Type the cPanel server’s IP in the green Allow IP input box.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/csf-page.png)
4. Click **Quick Allow**.

### Step 2: Create Connection

#### Generate API Token in WHM

1. **Log into WHM as Root** if you are not already logged in.
2. Navigate to **Development** -> **Manage API Tokens**.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/api-button.png)
3. Click on **Generate Token**.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/generate-token.png)
4. Name your token and set Privileges to **Everything**.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/root-api.png)
5. **Click Save** and copy the generated token.

#### Create Connection in CWP

1. **Log in to your CWP Admin Panel**.
2. Navigate to **User Accounts** -> **cPanel->CWP Migration**.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/cwp-migration-button.png)
3. Enter the remote cPanel server’s IP address, username (root), root password, SSH port, and API token you previously copied. ![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/migrate-all-cpanel.png)
4. **Click Test & Save** to save the connection details.

### Step 3: Select Accounts to Migrate

#### View Remote Server Details

1. In CWP, click on the configured remote server from the Remote Server List.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/step_dos.png)
2. View the available packages and accounts on the cPanel server.![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/step_four.png)

#### Choose Accounts for Migration

1. Check the boxes next to the accounts and packages you wish to migrate.
2. Review the selected accounts and packages to ensure accuracy. ![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/pre-migration-screen.png)

### Step 4: Start Migration

#### Initiate Migration Process

1. Click the Start Migration button.
2. Monitor the migration progress in real-time via the progress bar and status messages. ![](https://www.inmotionhosting.com/support/wp-content/uploads/2024/07/cwp-migration-status.png)

#### Verify Migration

1. Once the migration is complete, log into the CWP server and check the migrated accounts.
2. Verify that all websites, emails, and databases are functional.

## Troubleshooting Common Issues

### Connection Errors

- Ensure the API token and server details are correct
- Verify that both servers are running.
- Ensure the servers’ IPs are added to each other’s firewall as described in Step 1.

### Incomplete Migrations

- Double-check the selected accounts for migration
- Re-run the migration process for any accounts that failed.

## Post-Migration Best Practices

- **Verify DNS Settings:** If necessary, update DNS records to point to the new CWP.
- **Test Thoroughly:** Check all websites, email accounts, and databases to ensure everything is functioning correctly.
- **Regular Backups:** Implement a regular backup schedule on the new CWP server to prevent data loss.

**Scalable VPS Infrastructure, Fully Managed**

When shared hosting can’t handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business.

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)NVMe Storage    ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)High-Availability    ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Ironclad Security    ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Premium Support

[VPS Hosting](https://www.inmotionhosting.com/vps-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=vps-cta2)
