All Collections
cPanel
Website
How to Move a Website to Another Domain Name on cPanel
How to Move a Website to Another Domain Name on cPanel

Upload a website backup to a different domain at Hostinger using cPanel

Updated over a week ago

You can easily move your website’s content to a different domain name in cPanel by following the steps below:

Step 1 - Preparations

First, you need to define your final goal, as the process is slightly different according to your case:

  • To have your website accessible by the new domain while leaving the original domain still working and both domains will lead to the same content, the best option for you is to park the new domain. Check the cPanel official documentation: Park a Domain

  • To change the domain name only, 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 websites, check this tutorial: How to Change WordPress Domain Name

  • To completely move the website’s content to a different domain name, make sure that the new domain name is added to your plan and go to the next step

Step 2 - Move the Content

To move the website content, generate and download backups of the website's files and database (when applicable) on your original domain.


Next, upload the files backup to the new domain’s public_html folder with File Manager or FileZilla

If you are completely moving the content, you can continue using the same database. For all other cases where a database is needed, make sure to complete these steps as well:

  1. Update the URLs in the imported database

  2. Update your website's configuration file

In case you get a database connection error after completing this procedure, follow this article: How to Fix "Error Establishing a Database Connection"

For websites where the configuration files include the domain name, such as OpenCart, Joomla, and others, ensure to update the domain name wherever it's mentioned. You might need to contact a developer or a forum specified on your CMS for additional guidance.


NOTE

  • To check the updated version of your website on the new domain, it is recommended to clear the cache

Did this answer your question?