How to Create a WordPress Staging Site on Hostinger

To create a WordPress staging site on Hostinger, open your website in the Hostinger dashboard, go to WordPress → Staging, click Create staging, enter a subdomain name and click Create. Hostinger copies your site to that subdomain (its pages say it takes from a few minutes up to 15). Test your changes there, then use the ⋮ menu and Publish to push them live. Be careful: Hostinger says publishing “replaces your live files and database”, so anything that changed on the live site in the meantime, such as new orders, comments or posts, is overwritten.

Hostinger’s support article says the tool needs a Business web hosting plan or higher. Below are the exact steps, what Hostinger’s own pages disagree about, how to keep the staging copy out of Google, and a safe publishing checklist.

Title card: WordPress staging site on Hostinger, create, test and publish safely, with the warning that publishing replaces the live files and database

Key takeaways

  • Staging is a separate copy of your site on a subdomain. Hostinger’s blog says the two “are not connected”.
  • Publishing replaces the whole live site, files and database, on standard plans.
  • Freeze content changes on live while you work on staging, or redo them after publishing.
  • Hostinger doesn’t say staging is hidden from Google. Password-protect it, and also turn on “Discourage search engines”.
  • Back up before you publish, even though Hostinger’s blog says the tool makes a backup for you.
Table of Contents
  1. 1What a Staging Site Is (and When You Need One)
  2. 2How to Create a Staging Site on Hostinger
  3. 3Keep the Staging Site Out of Google
  4. 4Mark It as Staging in WordPress (Optional)
  5. 5How to Publish Staging to Live
  6. Can you publish only files or only the database?
  7. 6WooCommerce and Busy Sites: Don’t Lose Orders
  8. 7No Staging Button? The Manual Option
  9. 8Delete the Staging Site When You’re Done
  10. 9Mistakes to Avoid
  11. How do I create a staging site on Hostinger?
  12. Which Hostinger plans include staging?
  13. Does publishing staging overwrite my live site?
  14. Is a Hostinger staging site hidden from Google?
  15. Can I use Hostinger staging with WooCommerce?
  16. Can I undo a staging publish?

What a Staging Site Is (and When You Need One)

Hostinger defines staging as “a copy of your website used for testing purposes.” You use it to try changes that could break a live site:

  • Major WordPress, theme or plugin updates.
  • A new PHP version (see how to update your PHP version).
  • A redesign, a new page builder or a theme switch.
  • Custom code or a checkout change on a store.

For small text edits, staging is overkill; WordPress’s own preview is enough. Staging earns its keep when a change could take the site down or break something visitors rely on.

How to Create a Staging Site on Hostinger

  1. Log in to Hostinger, go to Websites, hover over your WordPress site and click Manage site.
  2. In the left sidebar, choose WordPress → Staging.
  3. Click Create staging.
  4. Enter the subdomain name you want (for example staging) and click Create.
  5. Wait. The support article says “a few minutes”; Hostinger’s blog and docs say it can take up to 15 minutes, depending on the site’s size.
  6. Click Manage staging to open the staging site’s WordPress admin.

You end up with a copy at an address such as staging.yourdomain.com. Hostinger notes two limits: the tool creates staging for root domains, so staging for a site that already lives on a subdomain has to be set up by hand, and if your domain uses external nameservers you must add the DNS record for the staging subdomain yourself. Hostinger also says the tool “doesn’t support WordPress Multisite installations.”

Workflow: live site copied to a staging subdomain, changes tested on staging, then Publish replaces the live files and database
Note: Hostinger’s pages don’t all agree. Its documentation site calls the push button “Push to live” with files-only, database-only or full options, plus a “Pull from live” button, and shows URLs like staging-<hash>.yourdomain.com. The support article (updated more recently, per the page) describes a user-chosen subdomain and a single Publish option. I follow the support article; your screen may differ. I couldn’t capture hPanel screenshots for this guide, so check the labels you see.

HOSTINGER

Staging is built into higher Hostinger plans

  • Hostinger’s support article says staging needs a Business web hosting plan or higher
  • Create, publish, revert or delete staging from WordPress → Staging in the Hostinger dashboard
  • On lower plans you can still build a staging copy by hand (see the manual option below)

Compare Hostinger Plans →

Affiliate link. Plan details from Hostinger’s support pages, checked 21 November 2026; check which plans include staging on Hostinger’s site before buying.

Keep the Staging Site Out of Google

A staging copy is a duplicate of your site on a public subdomain. None of Hostinger’s pages I checked say the tool hides it from search engines, so do it yourself as soon as it’s created:

  • Best: password-protect it. Hostinger’s docs list Password-Protected Directories and IP access rules among hPanel’s tools (I couldn’t check the exact path), or use a WordPress login-wall plugin. Google’s help says password protection keeps private content “from appearing in Google Search”, and it blocks every visitor, not only well-behaved crawlers. John Mueller of Google said in March 2023: “Locking a staging site away with a password is a common and a recommended practice.”
  • Also: tick “Discourage search engines from indexing this site” under Settings → Reading on the staging site. WordPress’s docs say it adds a noindex, nofollow meta tag, but “Neither of these options blocks access to your site”.
  • Not robots.txt alone. Google says robots.txt “is not a mechanism for keeping a web page out of Google”, and a noindex tag only works if robots.txt doesn’t block the page.

If a staging copy already shows up in Google, password-protect or noindex it first, then see how to remove a URL from Google.

Warning: On standard plans, Publish copies the staging database to live, and WordPress stores the “Discourage search engines” setting in the database. That means the tick box could follow you to the live site. This is my inference from how publishing works, not something Hostinger documents, so check Settings → Reading on the live site right after every publish.

Mark It as Staging in WordPress (Optional)

WordPress has a built-in setting for this. Its developer docs say the environment type “can be set via the WP_ENVIRONMENT_TYPE global system variable, or a constant of the same name”, with the values local, development, staging and production; production is the default. They also ask hosts that offer staging to set it to staging on those copies. Hostinger’s pages don’t say whether its tool does this.

define( 'WP_ENVIRONMENT_TYPE', 'staging' );

Add the line to wp-config.php on the staging copy if it isn’t there. Plugins can read it through wp_get_environment_type(), but don’t count on that alone to stop emails or payments. You can check the current value under Tools → Site Health → Info → WordPress: on this site’s live install it reads “Environment type: production”. My inference (Hostinger doesn’t document it): because Publish copies files and the database, a staging value in wp-config.php, a staging password rule in .htaccess or a maintenance-mode setting could carry over, so check all three on live after every publish.

How to Publish Staging to Live

  1. Back up the live site first (Hostinger’s tutorial points to Files → Backups).
  2. Pause content changes on live: no new posts, and on a store, plan for orders (see below).
  3. In the Hostinger dashboard, return to WordPress → Staging.
  4. Click the ⋮ button next to the staging site and choose Publish.
  5. Read the confirmation and click Publish.
  6. Check the live site logged out, then clear the cache on Hostinger if you still see the old version.

Hostinger’s support article spells out the risk: “Publishing replaces your live files and database with the staging copy. Any changes made to your live website after the staging environment was created will be overwritten and lost.” It also says the ⋮ menu lets you “revert changes”. Hostinger’s blog says the tool “creates a backup automatically before publishing”; the current article doesn’t repeat that, which is why I’d make your own.

Timeline showing that orders, comments and posts added to the live site after staging was created are overwritten when staging is published

Can you publish only files or only the database?

Hostinger documents a choice of “Files only, Database only, or both Files and Database” for its Agency plan. For standard plans, its support article describes one Publish action. If you only changed code (a theme or plugin), a files-only push would be safer, so check whether your screen offers it.

WooCommerce and Busy Sites: Don’t Lose Orders

WooCommerce stores orders, customers and subscriptions in the database. Because Hostinger’s Publish replaces the live database, orders placed on live after you created staging would be replaced by the staging copy. That is my inference from Hostinger’s overwrite warning; I found no WooCommerce page that describes this exact case.

Publishing at a quiet time doesn’t save those orders: everything added on live since staging was created is replaced, whatever hour you publish. WooCommerce’s developer docs give the safer rule of thumb: “code goes up, content goes down”. Move code from staging to live, and copy content only from live to staging. In practice:

  • Safest: use staging to test code, then repeat the same plugin or theme update on live instead of publishing the database.
  • If you must publish everything: create a fresh staging copy, keep the shop closed (maintenance mode) from the moment you create it until you publish, back up first, and check recent orders afterwards.
  • Take test payments only on staging, as WooCommerce’s testing guide advises, and never with live keys.
  • A cloned shop is a full copy: it may email real customers or run scheduled tasks such as subscription renewals. Check its email and payment settings before you test.

This site’s Hostinger plugin (in wp-admin → Hostinger) has a Maintenance mode switch that “Disable[s] public access to the site (WordPress admins will still be able to access)”, which you can use to keep the shop closed from the moment you create staging until you publish:

Hostinger plugin Tools page in WordPress admin showing the Maintenance mode switch, which disables public access while admins can still log in
The Hostinger plugin’s Tools page on this site, 21 November 2026.

No Staging Button? The Manual Option

On plans without the tool, Hostinger’s tutorial describes two other routes. The manual one: create a subdomain under Domains → Subdomains, copy the site’s files to it with File Manager, and clone the database in phpMyAdmin. The plugin one: the WP Staging plugin, where the tutorial notes that pushing staging to live is a paid (Pro) feature. Either way, password-protect the copy and set it to noindex straight away. Moving a whole site between hosts is a different job; for that see how to migrate WordPress to Hostinger. (If you’re comparing control panels, see hPanel vs cPanel.)

Delete the Staging Site When You’re Done

Open WordPress → Staging, click ⋮ next to the staging site and choose Delete, then confirm. Hostinger says this permanently deletes the staging environment. Hostinger’s docs say “Production is unaffected.” Deleting old copies stops them going out of date (with old plugins) and keeps them out of search.

Mistakes to Avoid

  • Publishing after days of live edits. Everything since staging was created is overwritten.
  • Publishing a store’s database. Recent orders and customer accounts can be lost.
  • Leaving staging public and indexable. It’s a duplicate copy of your site.
  • Forgetting Settings → Reading on live after publishing. The noindex tick box may have come across.
  • Skipping your own backup. Don’t rely only on revert.
  • Testing payments with live keys. Use test mode on staging.
Hostinger staging checklist: password-protect and noindex staging, back up and freeze live, publish, then check live settings and clear the cache

Checklist in text: check your plan includes staging; create it under WordPress → Staging; password-protect it and tick Discourage search engines; optionally set WP_ENVIRONMENT_TYPE to staging; test; back up live; freeze live changes; Publish; check live logged out, Settings → Reading and wp-config.php; clear the cache; delete staging when done. More about the host in my Hostinger review.

How do I create a staging site on Hostinger?

In the Hostinger dashboard open your website, go to WordPress → Staging, click Create staging, enter a subdomain name and click Create. It takes from a few minutes up to 15.

Which Hostinger plans include staging?

Hostinger’s support article says you need a Business web hosting plan or higher. Plan names change, so check Hostinger’s current plan list.

Does publishing staging overwrite my live site?

Yes. Hostinger says publishing replaces your live files and database, and changes made on live after staging was created are lost.

Is a Hostinger staging site hidden from Google?

Hostinger’s pages don’t say so. Password-protect the staging subdomain and turn on Discourage search engines in Settings → Reading.

Can I use Hostinger staging with WooCommerce?

Yes, but publishing the database replaces live orders placed since staging was made, whatever time you publish. Test code on staging and repeat the change on live, or keep the shop closed from creating staging to publishing.

Can I undo a staging publish?

Hostinger’s support article says the options menu lets you revert changes. Make your own backup before publishing as well.

Harshil Barot
About the author
Digital Marketing Strategist & SEO Specialist

Harshil Barot is a digital marketing strategist focused on SEO, website growth and lead generation. He has built websites since 2012 and provided digital marketing services since 2016. His reviews of web hosting, WordPress, SEO and AI tools state whether they draw on personal use, hands-on testing or editorial research.

Share

Affiliate disclosure: some links on this page are affiliate links, so I may earn a commission if you buy, at no extra cost to you.

Leave a Comment