Skip to main content
All CollectionsWebsiteWebsite Development
How to Move a Website’s Content to Another Domain Name
How to Move a Website’s Content to Another Domain Name

Changing the domain of a website and transferring the content at Hostinger

Updated over a year ago

If you wish to move your website’s content to a different hosting account, you can do so with the help of backups.

In case you only want to change the domain of your website while leaving the content as it is (for example, if you were using domain.tld and now want to use newdomain.tld instead), and both domains are in the same hosting account, you just need to move the website files from one domain to another.

For WordPress-based websites, if you have a Premium hosting plan or greater, you can use the Copy Website feature.

If you are using any other CMS, have a Single hosting plan, your website is custom-coded, or you are moving a WordPress website from a subdomain to a domain or subdomain, here are the steps you can follow:

Step 1 - Preparations

First, you need to define your final goal and check your hosting account, 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 your new domain on the original

  • If you want 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 – you can check if your domain is added in the Websites section in hPanel

Step 2 - Move the Content

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

Next, upload the backup to the new domain’s public_html folder.

If your website requires configuration files and the domain name is mentioned in those files (like OpenCart, Joomla, and many more), make sure 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.

If you are also using a database, make sure to complete these steps as well:

  1. Create a new database for your new domain

  2. Update the URLs in the new database along with the configuration file on your website

That’s it - your content is now located on the new domain 😊

NOTE

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

Did this answer your question?