Guides/Move your site/Migrate a site from Hostinger using SSH

Migrate a site from Hostinger using SSH

Last reviewed on November 26, 2025

This guide will show you how to securely share access to your site using SSH, so that you can migrate your site from Hostinger to WordPress.com.

📌

SSH access requires one of the following Hostinger plans: Web Premium, Web Business, and Cloud hosting

About SSH

Secure Shell (SSH) is a secure way for us to connect to your current host and copy your site safely. We use it to transfer a copy of your site’s content, media, plugins, themes, and database over an encrypted connection. Your existing site will stay online and unchanged during the migration, so visitors won’t notice any disruption until you’re ready to update your domain name to the newly-migrated site.

Enable exec function

First, make sure that exec is not listed among the disabled PHP functions. To do that:

  1. Go to Websites → Manage, search for PHP Configuration in the sidebar, and click it.

  2. In the PHP options tab, scroll down to the disableFunctions section.
  3. Look for exec in the comma-separated list. If it’s present, remove it, then save changes

Find your SSH server address

To find the SSH details for your site, take the following steps:

  1. In your Hostinger account, navigate to Websites.
  2. Click on the Dashboard button for the site you want to migrate.
  3. Navigate to Advanced → SSH Access:
SSH access in the Hostinger dashboard, under Advanced.
  1. If SSH Status is shown as inactive, click the Enable button to activate SSH for your site:
The enable SSH button shown, if SSH is inactive.
  1. Copy the following details from the SSH Details panel and paste onto WordPress.com:
    • IP into the Server address field.
    • Port into the Port field.
The server address box is highlighted.
  1. Click the “Verify server address” button.

In a few moments, we’ll validate if the details are correct for what we need to migrate a copy of your site to WordPress.com. If the details cannot be validated, please double check you have pasted the correct information or contact your host for support in obtaining the correct details.

Share SSH access

Next, you’ll need to share your SSH details to grant WordPress.com secure access to your site to begin the migration:

  1. Return to where you left off in your Hostinger account’s SSH Access page.
  2. Copy your username from the SSH Details panel and paste it into the SSH username field on WordPress.com.
  3. Click the Change button next to your password in Hostinger to set a new password, and then paste that into the SSH password field on WordPress.com.
  4. Click Continue:
The Share SSH access step shows username and password selected as the authentication method, with boxes to enter the credentials.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!