Hostnirvana Support
Control Panel →

Hostnirvana Support Docs

Here you can find all the help documents and tutorials

How do I take my temporary test site / Staging site live?

January 29, 2026 — hnsupport

You may be using the temporary URL within Stag whilst you develop your site. To take the site live you’ll need to do either of the following:

1. You can either point the domain to our nameservers which are:
ns1.stackdns.com
ns2.stackdns.com
ns3.stackdns.com
ns4.stackdns.com

2. Point the domain to the A Record that is located within StackCP > Manage DNS. 

WordPress Sites:

If you are using the temporary URL within StackCP and you have a WordPress site, you may need to do either, or both of the following:

Update the temporary URL within WordPress Admin: 

  1. Log in to the WordPress admin.
  2. Click on Settings on the left hand side.
  3. Change the WordPress Address (URL) to your actual domain name.
  4. Change the Site Address (URL) to your actual domain name.
  5. Update the database.
  6. Backup your database and save the copy off-site.

And/or:

  1. Log in to phpMyAdmin.
  2. Select the link to your database and choose the one that is your WordPress database.
  3. All the tables in your database will appear on the screen. You will then see all the tables in your database, locate wp_options and select Browse.
  4. A screen will open with a list of the fields within the wp_options table. Under the field option_name, locate ‘siteurl’.
  5. Click the Edit Field icon which usually is found at the far left at the beginning of the row.
  6. The Edit Field window will appear.
  7. In the input box for option_value, change the URL information to the new site address.
  8. Verify this is correct and click Go to save the information. You should be returned to your wp_options table.
  9. Look for the home field in the table and click Edit Field. Note: there are several pages of tables inside wp_options. Look for the > symbol to page through them.
  10. In the input box for option_value, carefully change the URL information to the new address.
  11. Verify this is correct and select ‘Go’ to save the information.

There is further information about this from WordPress.org: Changing the Site URL.

————————————————————-

You can try this as well: Run a Search and Replace (Crucial)

Even after changing the main URL, your database might still have “hardcoded” links to the temporary URL (like images or internal links).

I recommend using the Better Search Replace plugin:

  1. Install and activate the plugin in your WordPress dashboard.
  2. Go to Tools > Better Search Replace.
  3. Search for: abc.us.stackstaging.com
  4. Replace with: abc.com
  5. Select all tables and run a Dry Run first to see how many changes it will make. If it looks correct, uncheck “Dry Run” and run it for real.

BUT….

The Better Search Replace plugin specifically scans and updates your WordPress database. It is much more efficient and safer than manual editing because it handles “serialized data”—which is how WordPress stores complex settings and widget data. If you were to manually edit the database file and change a URL of a different length, it could break those settings.

However, while the plugin handles the heavy lifting, there are a few places it cannot reach. Here is exactly what it covers and what you may still need to check manually:

What the Plugin Updates (The Database)

  • Posts and Pages: All internal links and image URLs within your content.
  • Metadata: SEO titles, descriptions, and custom field data.
  • Settings: Your Site URL, Home URL, and plugin-specific settings.
  • Widgets: Links or text within sidebar and footer widgets.

What You Might Need to Change Manually (Files)

The plugin does not touch files on your server. You should double-check these areas:

  • wp-config.php: Check if you or a developer hardcoded the WP_HOME or WP_SITEURL constants. If they are there, you must update them manually via FTP or File Manager.
  • Hardcoded Theme Files: If you wrote custom code in your header.php, footer.php, or CSS files using the temporary URL instead of dynamic PHP functions (like get_template_directory_uri()), you will need to edit those files manually.
  • .htaccess: If you added custom redirect rules or security paths that use the stackstaging.com URL, you’ll need to update that file in your root folder.

To check if your URLs are hardcoded, you’ll need to look at the wp-config.php file, which is the “brain” of your WordPress installation.

How to Access and Check wp-config.php

  1. Open File Manager: In your Hostnirvana dashboard, go to Manage Hosting > File Manager.
  2. Locate the File: Go to the public_html folder and find the file named wp-config.php.
  3. Edit: Right-click the file and select Edit.
  4. Search for “WP_HOME”: Press Ctrl + F (or Cmd + F) and search for these two lines:
    • define('WP_HOME', 'https://abc.us.stackstaging.com');
    • define('WP_SITEURL', 'https://abc.us.stackstaging.com');

If you find them: Change the URL to your new domain. If you don’t see them: That’s actually better! It means WordPress is getting the URL from the database (which the plugin already updated).