Hostnirvana Support
Control Panel →

Hostnirvana Support Docs

Here you can find all the help documents and tutorials

Manual migration tutorial for moving a WordPress website from any hosting provider to Hostnirvana

March 18, 2026 — hnsupport

Here is a complete, manual WordPress migration tutorial using abc.com as the example. This process works for moving a site from any hosting control panel directly to Hostnirvana.


Phase 1: Download abc.com Data from Your Old Host

Regardless of the old host’s interface, you need to extract your files and database.

  1. Download your WordPress files:
    • Log in to your old host’s File Manager or use an FTP client (like FileZilla).
    • Navigate to the root folder where abc.com is installed (usually public_html).
    • Compress/zip all files and folders inside that directory.
    • Download the resulting .zip file to your computer.
  2. Export your MySQL Database:
    • Log in to your old host’s database management tool (usually phpMyAdmin).
    • Select the database associated with abc.com from the left sidebar.
    • Click the Export tab at the top.
    • Keep the Export Method as Quick and the Format as SQL, then click Go to download the database file to your computer.

Phase 2: Prepare the Destination on Hostnirvana

  1. Log in to your Hostnirvana account and access the StackCP dashboard for abc.com.
  2. Create a new database:
    • Scroll down to the Web Tools section and click on MySQL Databases.
    • Create a new database and user.
    • Important: Copy down the exact credentials generated. For this demo, let’s assume Hostnirvana gives you:
      • Database Name: abc_wp_db
      • Username: abc_db_user
      • Password: StrongPassword123!
      • Hostname: shareddb-1.hosting.stackcp.net

Phase 3: Upload and Import to Hostnirvana

  1. Upload the files for abc.com:
    • In your Hostnirvana StackCP dashboard, open the File Manager.
    • Navigate inside the public_html directory.
    • Click Upload File, select the .zip file you downloaded in Phase 1, and click Extract once it uploads. (You can delete the .zip file afterward).
  2. Import your database:
    • Return to the main StackCP dashboard and open phpMyAdmin.
    • Select your newly created empty database (abc_wp_db) from the left sidebar.
    • Click the Import tab.
    • Click Choose File, select the .sql database file you downloaded from your old host, and click Go to import it.

Phase 4: Update the WordPress Configuration File

Your files and database are now on Hostnirvana, but you must update wp-config.php so they can communicate using the new credentials.

In the Hostnirvana File Manager, locate wp-config.php inside the public_html folder for abc.com. Select it and click Edit. Replace the entire contents of the file with the code below, which includes the updated database information.

PHP

<?php
/**
 * The base configuration for WordPress
 *
 * The wp-config.php creation script uses this file during the installation.
 * You don't have to use the web site, you can copy this file to "wp-config.php"
 * and fill in the values.
 *
 * This file contains the following configurations:
 *
 * * Database settings
 * * Secret keys
 * * Database table prefix
 * * ABSPATH
 *
 * @link https://wordpress.org/support/article/editing-wp-config-php/
 *
 * @package WordPress
 */

// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'abc_wp_db' );

/** Database username */
define( 'DB_USER', 'abc_db_user' );

/** Database password */
define( 'DB_PASSWORD', 'StrongPassword123!' );

/** Database hostname */
define( 'DB_HOST', 'shareddb-1.hosting.stackcp.net' );

/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

/**#@+
 * Authentication unique keys and salts.
 *
 * Change these to different unique phrases! You can generate these using
 * the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
 *
 * You can change these at any point in time to invalidate all existing cookies.
 * This will force all users to have to log in again.
 *
 * @since 2.6.0
 */
define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );

/**#@-*/

/**
 * WordPress database table prefix.
 *
 * You can have multiple installations in one database if you give each
 * a unique prefix. Only numbers, letters, and underscores please!
 */
$table_prefix = 'wp_';

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 *
 * For information on other constants that can be used for debugging,
 * visit the documentation.
 *
 * @link https://wordpress.org/support/article/debugging-in-wordpress/
 */
define( 'WP_DEBUG', false );

/* Add any custom values between this line and the "stop editing" line. */



/* That's all, stop editing! Happy publishing. */

/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', __DIR__ . '/' );
}

/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';

(Save the file and close the editor).


Phase 5: Point abc.com to Hostnirvana

To make abc.com load from Hostnirvana, update your domain’s nameservers.

  1. Log in to the registrar where you purchased abc.com (e.g., Namecheap, GoDaddy, Cloudflare).
  2. Navigate to the DNS Management or Nameserver section for the domain.
  3. Select the option to use Custom Nameservers.
  4. Enter the Hostnirvana nameservers:
    • ns1.stackdns.com
    • ns2.stackdns.com
    • ns3.stackdns.com
    • ns4.stackdns.com
  5. Save your changes.