For the complete documentation index, see llms.txt. This page is also available as Markdown.

Preview Domain

The Hostinger Preview Domain must-use plugin makes a WordPress site work on its temporary hostingersite.com address before your domain points to Hostinger, without saving that address into your conten

Hostinger Preview Domain is a must-use plugin that lets you open and edit your WordPress site on its temporary *.hostingersite.com address while your own domain doesn't point to Hostinger yet. When the domain starts pointing to Hostinger, the site works on it straight away, with nothing to clean up.

  • Shown in WordPress as: Hostinger Preview Domain, under Plugins → Installed Plugins → Must-Use

  • File: wp-content/mu-plugins/hostinger-preview-domain.php

  • Requires: WordPress 5.0 or later

When it's on your site

Hostinger adds the plugin when it gives your website a preview domain, a temporary *.hostingersite.com address for a site set up on your own domain. You can use it to build and test the site before you point your domain to Hostinger.

If your site's own address is a free subdomain such as yourname.hostingersite.com, there's nothing to rewrite, and the plugin stays idle.

The plugin only does something on visits to the preview domain. Visits to your real domain are untouched, so it has no effect once your domain points to Hostinger.

What it does

WordPress stores your real domain as the site address. Without the plugin, a site opened on its preview domain would link to the real domain, which doesn't reach Hostinger yet, and its pages, images, and admin would break. On the preview domain, the plugin:

  • Rewrites links on the fly. Page links, images, stylesheets, scripts, admin links, and redirects use the preview domain, so you can browse and edit normally.

  • Keeps your content clean. When you save a post, page, menu, setting, or page builder layout on the preview domain, the plugin saves it with your real domain instead. There's no search-and-replace to run after the domain starts pointing to Hostinger.

There's nothing to configure.

Troubleshooting

The plugin rewrites the page HTML and CSS WordPress sends. Some addresses are built later by JavaScript in the browser, and those can still use your real domain. They work as soon as your domain points to Hostinger.

Should I change the site address to the preview domain?

No. Keep your real domain under Settings → General. The plugin needs it to know what to rewrite, and your content would otherwise be saved with the temporary address.


Last updated: October 12, 2026

Last updated

Was this helpful?