{"id":16152,"date":"2025-09-20T11:00:40","date_gmt":"2025-09-20T03:00:40","guid":{"rendered":"https:\/\/www.quape.com\/?p=16152"},"modified":"2025-09-23T16:35:19","modified_gmt":"2025-09-23T08:35:19","slug":"how-to-migrate-cwp-server-from-old-vps-to-new-vps","status":"publish","type":"post","link":"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/","title":{"rendered":"Cara Migrasi Server CWP dari VPS Lama ke VPS Baru"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><span class=\"selected\">Migrating your website and data from an old Virtual Private Server (VPS) to a new one can be a nerve-wracking process. The risk of data loss, downtime, and performance issues is high, especially if you&#8217;re managing a complex environment with a control panel like CentOS Web Panel (CWP).<\/span><\/p>\n<p><span class=\"selected\">The good news is that with a structured plan and the right tools, you can perform a smooth and seamless migration. This guide will walk you through the entire process, ensuring a safe transfer of all your sites, databases, and configurations without a single hiccup.<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Phase_1_Pre-Migration_Checklist_%E2%80%93_Your_Preparation_is_Key\" >Phase 1: Pre-Migration Checklist &#8211; Your Preparation is Key<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#1_Back_Up_Everything\" >1. Back Up Everything<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#2_Ensure_Server_Consistency\" >2. Ensure Server Consistency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#3_Gather_All_Necessary_Credentials\" >3. Gather All Necessary Credentials<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Phase_2_Setting_Up_the_New_VPS\" >Phase 2: Setting Up the New VPS<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Step_1_Provision_and_Install_CWP\" >Step 1: Provision and Install CWP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Step_2_Configure_Basic_Settings\" >Step 2: Configure Basic Settings<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Phase_3_The_Migration_Process\" >Phase 3: The Migration Process<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Step_3_Initiate_the_CWP-to-CWP_Migration\" >Step 3: Initiate the CWP-to-CWP Migration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Step_4_Manually_Migrating_Data_If_Needed\" >Step 4: Manually Migrating Data (If Needed)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Phase_4_Post-Migration_Tasks\" >Phase 4: Post-Migration Tasks<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Step_5_Test_and_Update_DNS\" >Step 5: Test and Update DNS<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.quape.com\/id\/how-to-migrate-cwp-server-from-old-vps-to-new-vps\/#Why_a_High-Quality_VPS_is_Essential_for_a_Smooth_Migration\" >Why a High-Quality VPS is Essential for a Smooth Migration<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Phase_1_Pre-Migration_Checklist_%E2%80%93_Your_Preparation_is_Key\"><\/span><span class=\"selected\">Phase 1: Pre-Migration Checklist &#8211; Your Preparation is Key<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">Before you even log into your servers, a little preparation will save you a lot of headaches. Don&#8217;t skip these crucial steps.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_Back_Up_Everything\"><\/span><span class=\"selected\">1. <\/span><strong><span class=\"selected\">Back Up Everything<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">This is the most important step. A full backup is your safety net. Use CWP\u2019s built-in backup feature to create a full system backup. This includes all account files, databases, and email configurations. Download this backup to your local machine or a separate storage location.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Ensure_Server_Consistency\"><\/span><span class=\"selected\">2. <\/span><strong><span class=\"selected\">Ensure Server Consistency<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">For a smooth migration, your old and new servers should be as similar as possible.<\/span><\/p>\n<ul>\n<li><strong><span class=\"selected\">Operating System (OS):<\/span><\/strong><span class=\"selected\"> The new VPS should have the same OS version (e.g., CentOS 7 or CentOS 8) as your old server.<\/span><\/li>\n<li><strong><span class=\"selected\">Control Panel Version:<\/span><\/strong><span class=\"selected\"> Ensure you install the same or a very recent version of CWP on the new server.<\/span><\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"3_Gather_All_Necessary_Credentials\"><\/span><span class=\"selected\">3. <\/span><strong><span class=\"selected\">Gather All Necessary Credentials<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">You will need the following information for both your old and new VPS:<\/span><\/p>\n<ul>\n<li><span class=\"selected\">Root user password or SSH key access.<\/span><\/li>\n<li><span class=\"selected\">Hostname and IP addresses.<\/span><\/li>\n<li><span class=\"selected\">CWP Admin username and password for both servers.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Phase_2_Setting_Up_the_New_VPS\"><\/span><span class=\"selected\">Phase 2: Setting Up the New VPS<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">Now that you&#8217;ve prepared, it&#8217;s time to build the new home for your websites.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Provision_and_Install_CWP\"><\/span><span class=\"selected\">Step 1: Provision and Install CWP<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">After provisioning your new VPS, log in via SSH as the root user. The CWP installation is straightforward. Execute the following commands to get started:<\/span><\/p>\n<pre><code><span class=\"selected\">cd \/usr\/local\/src\r\nwget [http:\/\/centos-webpanel.com\/cwp-el7-latest](http:\/\/centos-webpanel.com\/cwp-el7-latest)\r\nsh cwp-el7-latest<\/span><\/code><\/pre>\n<p><span class=\"selected\">This will begin the CWP installation. The process takes some time. Once complete, you will receive a congratulatory message with your CWP login URL and credentials.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Configure_Basic_Settings\"><\/span><span class=\"selected\">Step 2: Configure Basic Settings<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">Log in to the CWP admin panel on your new server.<\/span><\/p>\n<ul>\n<li><span class=\"selected\">Navigate to <\/span><strong><span class=\"selected\">CWP Settings &gt; Edit Settings<\/span><\/strong><span class=\"selected\"> and configure your hostname and other basic server details.<\/span><\/li>\n<li><span class=\"selected\">Set up your primary nameservers if you are managing them via CWP.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Phase_3_The_Migration_Process\"><\/span><span class=\"selected\">Phase 3: The Migration Process<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">The easiest and most reliable way to migrate is using CWP\u2019s built-in migration tool. It automates the transfer of user accounts, files, databases, and more.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Initiate_the_CWP-to-CWP_Migration\"><\/span><span class=\"selected\">Step 3: Initiate the CWP-to-CWP Migration<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li><span class=\"selected\">Log in to the <\/span><strong><span class=\"selected\">CWP admin panel of your new server<\/span><\/strong><span class=\"selected\">.<\/span><\/li>\n<li><span class=\"selected\">Go to the left-hand menu and navigate to <\/span><strong><span class=\"selected\">CWP Settings &gt; CWP to CWP Migration<\/span><\/strong><span class=\"selected\">.<\/span><\/li>\n<li><span class=\"selected\">Enter the required details for your <\/span><strong><span class=\"selected\">old VPS<\/span><\/strong><span class=\"selected\">:<\/span>\n<ul>\n<li><strong><span class=\"selected\">Old Server IP Address:<\/span><\/strong><span class=\"selected\"> The public IP of your old VPS.<\/span><\/li>\n<li><strong><span class=\"selected\">Old Server Root Password:<\/span><\/strong><span class=\"selected\"> The root password for the old VPS.<\/span><\/li>\n<li><strong><span class=\"selected\">CWP Admin Port:<\/span><\/strong><span class=\"selected\"> Usually <\/span><code><span class=\"selected\">2031<\/span><\/code><span class=\"selected\">.<\/span><\/li>\n<\/ul>\n<\/li>\n<li><span class=\"selected\">Click the <\/span><strong><span class=\"selected\">&#8220;Get Accounts&#8221;<\/span><\/strong><span class=\"selected\"> button. The new server will connect to the old one and pull a list of all user accounts.<\/span><\/li>\n<li><span class=\"selected\">Select the accounts you want to migrate and click <\/span><strong><span class=\"selected\">&#8220;Start Migration&#8221;<\/span><\/strong><span class=\"selected\">. CWP will now handle the entire data transfer, including all files, databases, and configurations for each selected account.<\/span><\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Manually_Migrating_Data_If_Needed\"><\/span><span class=\"selected\">Step 4: Manually Migrating Data (If Needed)<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><span class=\"selected\">In rare cases, the automatic tool may face issues. Here\u2019s a brief overview of how to manually transfer the most critical data.<\/span><\/p>\n<ul>\n<li><strong><span class=\"selected\">Files and Folders:<\/span><\/strong><span class=\"selected\"> Use the <\/span><code><span class=\"selected\">rsync<\/span><\/code><span class=\"selected\"> command for an efficient and robust file transfer.<\/span>\n<pre><code><span class=\"selected\">rsync -avzP -e 'ssh -p 22' root@old_server_ip:\/home\/ \/home\/<\/span><\/code><\/pre>\n<p><span class=\"selected\">This command will sync the entire <\/span><code><span class=\"selected\">\/home<\/span><\/code><span class=\"selected\"> directory from the old server to the new one, preserving permissions and ownership.<\/span><\/li>\n<li><strong><span class=\"selected\">MySQL Databases:<\/span><\/strong><span class=\"selected\"> Use <\/span><code><span class=\"selected\">mysqldump<\/span><\/code><span class=\"selected\"> to export databases from the old server and import them into the new one.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Phase_4_Post-Migration_Tasks\"><\/span><span class=\"selected\">Phase 4: Post-Migration Tasks<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">The migration isn&#8217;t complete until you&#8217;ve verified everything is working correctly.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Test_and_Update_DNS\"><\/span><span class=\"selected\">Step 5: Test and Update DNS<\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong><span class=\"selected\">Verify Functionality:<\/span><\/strong><span class=\"selected\"> Log into the CWP on the new server and check a few accounts. Can you access the files? Are the databases there?<\/span><\/li>\n<li><strong><span class=\"selected\">Update DNS Records:<\/span><\/strong><span class=\"selected\"> The final and most critical step is to point your domain\u2019s DNS records to the new VPS\u2019s IP address. This is usually done through your domain registrar or DNS provider.<\/span><\/li>\n<li><strong><span class=\"selected\">Test Websites:<\/span><\/strong><span class=\"selected\"> Use a DNS propagation checker to see if the changes have been applied globally. Then, visit your websites to ensure they are loading correctly and securely on the new server.<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Why_a_High-Quality_VPS_is_Essential_for_a_Smooth_Migration\"><\/span><span class=\"selected\">Why a High-Quality VPS is Essential for a Smooth Migration<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span class=\"selected\">A successful CWP migration starts with choosing the right hosting partner. The process is only as reliable as the infrastructure it&#8217;s running on. Your new VPS needs to be powerful enough to handle your workload and offer the stability and speed your websites demand.<\/span><\/p>\n<p><span class=\"selected\">This is where an expert provider like Quape Pte Ltd makes a difference. With a strong presence in Singapore and Vietnam, Quape offers a range of high-performance hosting solutions designed for businesses. Our <\/span><a href=\"https:\/\/www.quape.com\/hosting\/vps-hosting\/\"><strong><span class=\"selected\">VPS Hosting<\/span><\/strong><\/a><span class=\"selected\"> plans provide dedicated resources and powerful features to ensure your CWP environment runs at peak performance. If your needs are even greater, our <\/span><a href=\"https:\/\/www.quape.com\/hosting\/dedicated-server\/\"><strong><span class=\"selected\">Dedicated Servers<\/span><\/strong><\/a><span class=\"selected\"> offer unparalleled power and control. Don&#8217;t risk data loss or downtime\u2014choose a reliable hosting provider that understands your needs.<\/span><\/p>\n<p><span class=\"selected\">Migrate with confidence and power your digital presence with a solid foundation from Quape.<\/span><\/p>\n<p><a href=\"https:\/\/order.quape.com\/order\/dedicated-servers\/ds-byos-intel\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" id=\"blogbannervps\" class=\"aligncenter wp-image-15947 size-full\" src=\"https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03.png\" alt=\"VPS Hosting plans\" width=\"2222\" height=\"649\" srcset=\"https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03.png 2222w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-300x88.png 300w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-1024x299.png 1024w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-768x224.png 768w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-1536x449.png 1536w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-2048x598.png 2048w, https:\/\/www.quape.com\/wp-content\/uploads\/2025\/09\/banner-03-18x5.png 18w\" sizes=\"(max-width: 2222px) 100vw, 2222px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Migrating your website and data from an old Virtual Private Server (VPS) to a new one can be a nerve-wracking process. The risk of data loss, downtime, and performance issues is high, especially if you&#8217;re managing a complex environment with a control panel like CentOS Web Panel (CWP). The good news is that with a [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":16153,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[383],"class_list":["post-16152","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-cwp"],"_links":{"self":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/comments?post=16152"}],"version-history":[{"count":1,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16152\/revisions"}],"predecessor-version":[{"id":16154,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/posts\/16152\/revisions\/16154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/media\/16153"}],"wp:attachment":[{"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/media?parent=16152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/categories?post=16152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quape.com\/id\/wp-json\/wp\/v2\/tags?post=16152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}