Mar 11, 2025
51 Views

How to Migrate a Website Between Hostinger Accounts Without Moving the Domain

Written by

You can migrate a complete website from one Hostinger account to another without migrating the domain by following these steps:

Step 1: Backup Your Website from the First Account

  1. Download Website Files

    • Log in to your first Hostinger account.
    • Go to File Manager > public_html (or the folder where your website is stored).
    • Select all files and compress them into a ZIP file.
    • Download the ZIP file to your computer.
  2. Export the Database

    • Go to phpMyAdmin in hPanel.
    • Select your website’s database.
    • Click Export > Choose SQL format > Download the file.

Step 2: Upload Website Files to the Second Account

  1. Log in to your second Hostinger account.
  2. Go to File Manager > public_html.
  3. Upload the ZIP file and extract it.

Step 3: Import the Database to the Second Account

  1. Create a New Database

    • Go to hPanel > Databases > MySQL Databases.
    • Create a new database, username, and password.
  2. Import the Database

    • Open phpMyAdmin in the second Hostinger account.
    • Select the new database and click Import.
    • Upload the SQL file and import it.

Step 4: Update Configuration Files

  1. Open File Manager in the second Hostinger account.
  2. Locate and edit the wp-config.php file (for WordPress) or the database configuration file for other platforms.
  3. Update the database name, username, and password to match the new database credentials.

Step 5: Update the Domain (If Necessary)

  • If the domain is still pointing to the old account, update the A record in your domain’s DNS settings to point to the new Hostinger server’s IP address.

After these steps, your website should be fully migrated to the second Hostinger account without transferring the domain.

Article Categories:
Data Migration