If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

How to migrate from one webserver to another ( cPanel account)

Started by ACKET, Jun 30, 2022, 05:10 AM

Previous topic - Next topic

ACKETTopic starter

I currently have two servers - Server A, which I pay for hosting, and Server B, which is hosted locally in my office.
I am questioning the necessity of paying for a hosting provider when I have a server at my office. Is it possible to transfer my cPanel account from Server A to Server B and maintain the same email account passwords?
 I have over 300 GB of data on Server A and use WHM & cPanel. Thank you.
  •  


Sevad

In case of the worst-case scenario, you can always revert back to the previous setup. However, before proceeding, ensure that both SERVER A and SERVER B are running on the same CPanel and EasyApache versions. If you have multiple sites to transfer, 300 GB should not take long with a decent internet connection.

But, it is advisable to transfer the sites one by one and monitor the process carefully. Test each site prior to moving on to the next one. Additionally, verify the backup settings to ensure that they are still active and configured similarly to SERVER A. Do not worry, there are many resources available on the internet if you require assistance. Feel free to ask any questions, and we will be happy to assist you.
  •  
    The following users thanked this post: klara

klara

If you have cPanel installed on your local office server, the task of transferring is straightforward. You can use the cPanel transfer tool available in WHM. However, if you have advanced knowledge, you can use rsync to transfer your home directory.
Regardless of the method chosen, your data, emails, and settings will not be lost during the transfer process.
  •  

Klesk666

To transfer your site to a new hosting server, you need to download a backup copy of your site and databases. The first step is to access your hosting control panel and download the database and backup site, which can be exported or archived on the hosting platform itself.

You can also use an FTP client such as FileZilla to download site files by connecting to your server and downloading all content from the root directory to your local space.

After completing this first stage - creating a full backup of your website - the next step is to fix the database, particularly if you plan to change the site's domain name after the move. To replace the old domain with a new one in the database, open the downloaded .sql database in any text editor, find the name of the old site, enter the new domain, and click "Replace all." Save all changes and import the database via phpMyAdmin or another database management tool, making sure you select the correct WordPress database.

This is critical, as importing into the wrong database will corrupt another site on your host. If you have other WordPress installations on the destination server, create backups before migrating, ensure the prefix of the database tables in phpMyAdmin matches that specified in wp-config.php, and check the 'siteurl' and 'home' fields in the someprefixwp_options table - they should contain the name of the target domain.
  •  

AlteloIn

You need to ensure that Server B has the necessary hardware specifications and operating system compatibility to support cPanel and accommodate the 300 GB of data from Server A. This includes verifying the available storage space, CPU, RAM, and network connectivity.
Once the hardware compatibility is confirmed, you will need to initiate a comprehensive backup of your cPanel account on Server A using WHM. This backup should include all account data, configurations, databases, and email settings. It's crucial to use a secure and reliable backup method to prevent data loss during the transfer process.

After the backup is completed, you will transfer the backup file to Server B using a secure file transfer protocol such as SFTP or SCP. This ensures the safe and reliable transfer of the sensitive data without the risk of unauthorized access or data corruption.

On Server B, you will then proceed to restore the cPanel backup, effectively replicating your cPanel account from Server A onto Server B. During the restoration process, cPanel will preserve the email account passwords, ensuring continuity for your users without the need for password resets.

Following the restoration, it's essential to update the DNS records to point to the new server, effectively redirecting incoming traffic to Server B. This step involves updating the DNS settings with your domain registrar or DNS hosting provider to ensure seamless connectivity to the migrated cPanel account.

It's important to schedule the migration during off-peak hours to minimize downtime and user impact. During this period, you can verify the functionality of your cPanel account on Server B, testing its performance, email services, and overall operability.

Once the migration is confirmed successful and DNS changes have propagated, you can commence the decommissioning of Server A, effectively discontinuing the hosting service and reducing associated costs.
The process of transferring your cPanel account from Server A to Server B while maintaining the same email account passwords involves meticulous planning, execution, and verification. By following these steps diligently, you can ensure a smooth transition to consolidate your hosting infrastructure and optimize operational expenses.
  •  

Daiman

It's technically possible to transfer your cPanel account from Server A to Server B, but it's not a straightforward process, especially considering the large amount of data you have. You'll need to perform a full cPanel backup on Server A, then restore it on Server B, which can be a time-consuming and resource-intensive process.

Additionally, you'll need to update the DNS settings to point to your local server's IP address, which may cause some downtime. Maintaining the same email account passwords might be tricky, as you'll need to ensure that the password encryption and authentication mechanisms are compatible between the two servers. I'd recommend testing the transfer process on a small scale before attempting the full migration.
  •  


If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...