{"id":9108,"date":"2023-12-19T13:53:38","date_gmt":"2023-12-19T13:53:38","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=ht_kb&#038;p=9108"},"modified":"2024-06-21T08:30:42","modified_gmt":"2024-06-21T08:30:42","password":"","slug":"migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/","title":{"rendered":"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting"},"content":{"rendered":"\n<p>You have a WordPress e-commerce website on a shared hosting package. However, due to resource limitations, you opt to upgrade to the E-commerce Lite Hosting package. Great! In this guide, we will look at how to move your website to the e-commerce package.<\/p>\n\n\n\n<p>We will require two items:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Zipped website file<\/li><li>Database files (.sql)<\/li><\/ul>\n\n\n\n<p><strong>Compress Site Files and Export Databases<\/strong><\/p>\n\n\n\n<p>First, you will access your cPanel, then access your website files through File Manager.<\/p>\n\n\n\n<p>Copy WP-config (and any other custom files) to the WP-content folder, then compress (or zip) the folder. Then Download the zipped file.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"982\" style=\"aspect-ratio: 1686 \/ 982;\" width=\"1686\" controls muted src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screencast-from-2023-12-18-16-15-44.webm\" playsinline><\/video><\/figure>\n\n\n\n<p>Access phpMyAdmin of your cPanel dashboard. Then export your database.<\/p>\n\n\n\n<p><strong>Access CloudPanel Dashboard<\/strong> <strong>and Create WordPress site.<\/strong><\/p>\n\n\n\n<p>Access your e-commerce server dashboard through the link: https:\/\/ip_address:8443. Enter the username and password. To get the username and password, follow this guide: <a rel=\"noreferrer noopener\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-login-to-cloudpanel\/\" target=\"_blank\">https:\/\/truehost.com\/support\/knowledge-base\/how-to-login-to-cloudpanel\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"291\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png\" alt=\"\" class=\"wp-image-9155\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-300x85.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-768x218.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-50x14.png 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1536x436.png 1536w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-920x261.png 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-600x170.png 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-320x91.png 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Create a new site by clicking Add Sites. Then create a new WordPress Site. Guide to create WordPress site: <a rel=\"noreferrer noopener\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-wordpress-site-on-cloudpanel\/\" target=\"_blank\">https:\/\/truehost.com\/support\/knowledge-base\/how-to-create-a-wordpress-site-on-cloudpanel\/<\/a><\/p>\n\n\n\n<p><strong>Upload WP_Content Folder<\/strong><\/p>\n\n\n\n<p>We will then upload the zipped file we downloaded earlier. Click Files, then navigate through the domain folder, then open the htdocs folder. You will see the WordPress files and folders there. Right-click to upload the file there. Select the file then upload. A blue bar will appear on top of the table showing the progress of the upload.<\/p>\n\n\n\n<p>Rename or delete the wp-content folder created by WordPress. Then extract the wp-content folder from the zipped file. Move wp-config (and any other custom) file from the wp-content folder to the htdocs folder.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1014\" style=\"aspect-ratio: 1920 \/ 1014;\" width=\"1920\" controls muted src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/1e70180b-272f-49fc-9d62-84b52d817447.webm\" playsinline><\/video><\/figure>\n\n\n\n<p><strong>Create A Database<\/strong><\/p>\n\n\n\n<p>Then create a database for your website on the Cloudpanel. Click the Database tab on your site dashboard. Create a database and a database user. You can create the database with the same name as the database name on cPanel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-1024x455.jpg\" alt=\"\" class=\"wp-image-9161\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-1024x455.jpg 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-300x133.jpg 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-768x341.jpg 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-50x22.jpg 50w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-1536x683.jpg 1536w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-920x409.jpg 920w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-600x267.jpg 600w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12-320x142.jpg 320w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/Screenshot-from-2023-12-19-11-48-12.jpg 1564w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Note<\/strong>: If you make any changes in the database name, user and\/or password, you need to update wp-config file with the correct credentials.<\/p>\n\n\n\n<p><strong>Upload Database<\/strong><\/p>\n\n\n\n<p>Click File Manager tab on the site dashboard. Upload the database file there.<\/p>\n\n\n\n<p><strong>Import Database<\/strong><\/p>\n\n\n\n<p>Login to your VPS through SSH terminal. Then navigate to the directory where you uploaded your database files.<\/p>\n\n\n\n<p>Use the following command to import your database files:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><em>clpctl db:import --databaseName=my-database --file=dump.sql.<\/em>gz<\/pre>\n\n\n\n<p>Make sure to replace my-database with your database name and dump.sql.gz with your database file name.<\/p>\n\n\n\n<p><strong>Change DNS Records<\/strong><\/p>\n\n\n\n<p>You can now change the DNS records to point to your e-commerce hosting. Use this guide to point your DNS to the e-commerce hosting: <a rel=\"noreferrer noopener\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-register-on-olitt-and-manage-domain-dns\/\" target=\"_blank\">https:\/\/truehost.com\/support\/knowledge-base\/how-to-register-on-olitt-and-manage-domain-dns\/<\/a><\/p>\n\n\n\n<p><strong>Install SSL<\/strong><\/p>\n\n\n\n<p>Install SSL. You can install the SSL through this link: <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/installing-ssl-on-cloudpanel-site\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/truehost.com\/support\/knowledge-base\/installing-ssl-on-cloudpanel-site\/<\/a><\/p>\n\n\n\n<p>If the migration was successful, your WordPress site should load as it was on the cPanel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have a WordPress e-commerce website on a shared hosting package. However, due to resource limitations, you opt to upgrade to the E-commerce Lite Hosting package. Great! In this guide, we will look at how to move your website to the e-commerce package. We will require two items: Zipped website file Database files (.sql) Compress [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1838],"doc_tag":[],"class_list":["post-9108","docs","type-docs","status-publish","hentry","doc_category-wordpress"],"year_month":"2026-07","word_count":469,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Ian M","author_nicename":"ian","author_url":"https:\/\/truehost.com\/support\/author\/ian\/"},"doc_category_info":[{"term_name":"WordPress","term_url":"https:\/\/truehost.com\/support\/docs-category\/wordpress\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -\" \/>\n<meta property=\"og:description\" content=\"You have a WordPress e-commerce website on a shared hosting package. However, due to resource limitations, you opt to upgrade to the E-commerce Lite Hosting package. Great! In this guide, we will look at how to move your website to the e-commerce package. We will require two items: Zipped website file Database files (.sql) Compress [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-21T08:30:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/\",\"name\":\"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/image-8-1024x291.png\",\"datePublished\":\"2023-12-19T13:53:38+00:00\",\"dateModified\":\"2024-06-21T08:30:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/image-8-1024x291.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/image-8-1024x291.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/","og_locale":"en_US","og_type":"article","og_title":"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -","og_description":"You have a WordPress e-commerce website on a shared hosting package. However, due to resource limitations, you opt to upgrade to the E-commerce Lite Hosting package. Great! In this guide, we will look at how to move your website to the e-commerce package. We will require two items: Zipped website file Database files (.sql) Compress [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/","article_modified_time":"2024-06-21T08:30:42+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/","name":"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png","datePublished":"2023-12-19T13:53:38+00:00","dateModified":"2024-06-21T08:30:42+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2023\/12\/image-8-1024x291.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/migrate-wordpress-site-from-cpanel-to-e-commerce-lite-hosting\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Migrate WordPress site from cPanel to E-commerce Lite Hosting"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/9108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=9108"}],"version-history":[{"count":11,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/9108\/revisions"}],"predecessor-version":[{"id":9274,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/9108\/revisions\/9274"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=9108"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=9108"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=9108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}