{"id":1172,"date":"2020-10-20T07:57:57","date_gmt":"2020-10-20T07:57:57","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/10\/20\/4552481-how-to-move-a-website-to-another-domain-name-on-cpanel\/"},"modified":"2026-03-16T12:12:13","modified_gmt":"2026-03-16T12:12:13","slug":"4552481-how-to-move-a-website-to-another-domain-name-on-cpanel","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4552481-how-to-move-a-website-to-another-domain-name-on-cpanel\/","title":{"rendered":"How to Move a Website to Another Domain Name on cPanel"},"content":{"rendered":"<p class=\"no-margin\">You can easily move your website&rsquo;s content to a different domain name in cPanel by following the steps below:<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_8401d17eb5\">Step 1 &ndash; Preparations<\/h2><p class=\"no-margin\">First, you need to define your final goal, as the process is slightly different according to your case:<\/p><ul>\n<li>\n<p class=\"no-margin\">To have your website accessible by the new domain while leaving the original domain still working and <b>both domains will lead to the same content<\/b>, the best option for you is to <b>park the new domain. <\/b>Check the cPanel official documentation: <b><a href=\"https:\/\/docs.cpanel.net\/whm\/dns-functions\/park-a-domain\/\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Park a Domain<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">To <b>change the domain name only<\/b>, leaving the same content, and both domains are in the same hosting plan, you can copy the website files from one domain to another. For WordPress<b> <\/b>websites, check this tutorial: <b><a href=\"https:\/\/www.hostinger.com\/tutorials\/change-wordpress-domain-name\" target=\"_blank\" class=\"intercom-content-link\">How to Change WordPress Domain Name<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">To <b>completely move the website&rsquo;s content to a different domain name<\/b>, make sure that the new domain name is <b><a href=\"\/support\/4548561-how-to-add-a-website-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">added to your plan<\/a><\/b> and <b>go to the next step<\/b><\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">\n<\/p><h2 id=\"h_fdc9889db1\">Step 2 &ndash; Move the Content<\/h2><p class=\"no-margin\">To move the website content, <b><a href=\"\/support\/4723268-how-to-download-backups-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">generate and download backups<\/a> <\/b>of the website&rsquo;s files and database (when applicable) on your original domain.<\/p><p class=\"no-margin\">Next, <b>upload the files backup <\/b>to the new domain&rsquo;s <b>public_html<\/b> folder with <b><a href=\"\/support\/4548506-how-to-upload-backup-with-file-manager-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">File Manager<\/a><\/b> or<b> <a href=\"\/support\/1869164-how-to-upload-backup-with-ftp\" target=\"_blank\" class=\"intercom-content-link\">FileZilla<\/a><\/b><\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you are <b>completely moving the content<\/b>, you can continue using the same database. For all other cases where a database is needed, make sure to complete these steps as well:<\/p><ol>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4548533-how-can-i-create-a-new-mysql-database-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">Create a new database<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4548519-how-to-import-a-database-with-phpmyadmin-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">Import the database backup<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Update the URLs in the imported database<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Update your website&rsquo;s <b><a href=\"\/support\/3313359-where-to-find-configuration-file-of-my-website\" target=\"_blank\" class=\"intercom-content-link\">configuration file<\/a><\/b><\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">In case you get a <b>database connection<\/b> error after completing this procedure, follow this article: <b><a href=\"\/support\/1583224-how-to-fix-error-establishing-a-database-connection\" target=\"_blank\" class=\"intercom-content-link\">How to Fix &ldquo;Error Establishing a Database Connection&rdquo;<\/a><\/b><\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">For websites where the <b>configuration files<\/b> include the domain name, such as OpenCart, Joomla, and others, ensure to <b>update the domain name<\/b> wherever it&rsquo;s mentioned. You might need to contact a developer or a forum specified on your CMS for additional guidance.<\/p><p class=\"no-margin\">&#8203;<b>NOTE<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">To check the updated version of your website on the new domain, it is recommended to <b><a href=\"\/support\/1583501-how-to-clear-cache\" target=\"_blank\" class=\"intercom-content-link\">clear the cache<\/a><\/b><\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Upload a website backup to a different domain at Hostinger using cPanel<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[196],"tags":[],"class_list":["post-1172","post","type-post","status-publish","format-standard","hentry","category-ftp-file-manager"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4552481-how-to-move-a-website-to-another-domain-name-on-cpanel\/","default":1},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4552481-comment-deplacer-une-sauvegarde-de-site-web-vers-un-autre-nom-de-domaine-sur-cpanel\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4552481-bagaimana-cara-memindahkan-backup-website-ke-nama-domain-lain-di-cpanel-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/4552481-como-mover-o-backup-de-um-site-para-um-outro-dominio-no-cpanel\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"predecessor-version":[{"id":8612,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1172\/revisions\/8612"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}