Best for · Web hosting
How to redirect a URL to a different domain on Hostinger
- Last checked
- 5 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- 301 (permanent) for anything that is moving for good; Hostinger's docs recommend 301 for most cases, and Google treats it as a signal that the new address should be the one shown in search.
Compared here
- 01hPanel Redirects tool
- 02Domain forwarding (no hosting)
- 03.htaccess redirect
- 04Cloudflare (for AI Builder sites)
- 05HTML meta refresh
Short answer
The quickest way to redirect a URL to a different domain on Hostinger is the Redirects tool in hPanel: open Websites, Manage site, search Redirects in the sidebar, pick the source domain, add a /path if you only want one page moved, choose URL as the destination type, type the new address and click Create. If the domain has no hosting plan, use domain forwarding instead: Domains, Domain portfolio, Manage, "Redirect your domain", set Custom, enter the destination, pick the redirect type and click Create redirect.
Use 301 (permanent) for anything that is moving for good; Hostinger's docs recommend 301 for most cases, and Google treats it as a signal that the new address should be the one shown in search. For whole-site moves that keep every path, add a rewrite rule in .htaccess. Two catches from Hostinger's help center: the Redirects tool does not work for domains connected to a Hostinger AI Builder site (use Cloudflare there), and redirecting to HTTPS needs SSL installed on the domain first.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Method | Where | Redirect type | Best for | Watch out |
|---|---|---|---|---|
| hPanel Redirects tool | Websites, Manage site, Redirects | Choose 301 or 302 (per Hostinger docs and tutorial) | One page or a whole domain on a hosting plan | Not available for AI Builder sites |
| Domain forwarding | Domains, Domain portfolio, Manage, Redirect your domain | Choose 301 or 302 | Domains with no hosting plan | Wrong type? Delete and recreate |
| .htaccess rules | File Manager, public_html, .htaccess | R=301 or R=302 in the rule | Whole-site moves keeping every path, www and HTTPS rules | A typo can take the site down |
| Cloudflare redirect | Cloudflare dashboard | Per Cloudflare's settings | Domains on Hostinger AI Builder | Domain must use Cloudflare DNS |
| HTML meta refresh | In the page's HTML | Delayed refresh is read as temporary by Google | Last resort only | Hostinger warns about SEO problems |
Money talk first. The Hostinger button may earn us a commission; Hostinger's affiliate program pays "from 40%" per its partner page as we noted on 1 December 2026. This page is a how-to. You do not need to buy anything to follow it if you are already on Hostinger.
Everything below comes from Hostinger's own help center, docs and tutorial, plus Google's redirect guide, read on 3 December 2026. Hostinger's pages use slightly different menu names in different places (Websites, Manage site versus Domains, Redirects). Both lead to the same tool. If your screen looks different, search "Redirects" in the hPanel sidebar.
Before you start: two questions
1. Is the move permanent? Almost always yes: a new brand, a new domain, a merged page. Then you want a 301. Hostinger's docs recommend 301 "for most cases", like site restructures and domain migrations. Google says permanent redirects (301 and 308) tell it the target should be the canonical page shown in search, while temporary ones (302, 303, 307) keep the old page in results.
2. One page, or the whole domain? A single page needs a path redirect. A whole domain where every old link should land on the matching new page needs a rule that keeps the path, which usually means .htaccess.
Method 1: the hPanel Redirects tool
From Hostinger's help article:
- Go to Websites, then Manage site to open the dashboard.
- Search for Redirects in the sidebar and open it.
- Redirect: pick the source domain from the dropdown.
- /path: optional. Leave empty to redirect the whole domain, or enter a path like /old-page to move only that page.
- Redirect to URL or IP: choose URL for a different domain.
- Redirect to: type the destination, for example https://new-domain.com.
- Click Create.
Hostinger's docs and tutorial show a redirect type choice of 301 or 302 in this flow; pick 301 for permanent moves. To redirect to HTTPS, Hostinger says to install SSL on the domain first.
To delete a redirect: open Redirects again, find it under List of Redirects and click the trash bin icon. Hostinger says the domain then "will stop redirecting and point to its original destination record according to its DNS zone." Hostinger's docs say you can also click a redirect in the panel to edit it; its tutorial says that if you picked the wrong type, delete it and create a new one.
Method 2: domain forwarding, no hosting needed
If you only own the domain at Hostinger and have no hosting plan on it, use forwarding. From Hostinger's tutorial:
- Go to Domains, then Domain portfolio, and click Manage next to the domain.
- In Domain Overview, scroll down and select Redirect your domain.
- Set the form to Custom and enter the destination URL.
- Select the redirect type (301 for permanent).
- Click Create redirect.
This is the cheapest setup for extra domains: typo domains, old brand names, country endings pointing at your main site. More on that in buying domains to redirect.
Method 3: .htaccess, for whole-site moves
The hPanel tool is great for simple cases. For a full domain move where every old URL should land on the same path at the new domain, Hostinger's docs give .htaccess examples:
- Entire domain: a rewrite rule that matches the old hostname and sends every path to the same path on the new domain with a 301.
- Single page: a simple Redirect line sending one old path to a full new URL with 301.
- Whole section: a RedirectMatch pattern, so everything under /blog/ moves to a new section while keeping the rest of the path.
- HTTP to HTTPS and www to non-www: rewrite rules with 301.
Where, per Hostinger's tutorial: open File Manager, go to public_html, edit .htaccess, add the rules below the "RewriteEngine On" line, and save. In the rule, the R value sets the type: R=301 permanent, R=302 temporary.
Two habits that save a bad afternoon, as general advice:
- Download a copy of .htaccess before you edit. A typo can show visitors a server error.
- Test one old URL, then several. Homepage, a deep page, a page with a query string.
Method 4: Cloudflare, if your domain is on AI Builder
Hostinger's help center is clear: "The Redirects tool isn't available for domains connected to a Hostinger AI Builder website." Its two ways out:
- Set up the redirect in Cloudflare, following Hostinger's separate Cloudflare guide.
- Or delete the AI Builder website and add the domain to a hosting plan as an empty site or with another CMS, such as WordPress, then use the Redirects tool.
If you are weighing AI Builder in the first place, our Hostinger website builder review covers what it does and what it costs.
The method to avoid: HTML meta refresh
Hostinger has a help article for redirecting with an HTML tag. Its example uses a refresh with a delay of 1 second. Hostinger itself warns that "unexpected redirections can raise suspicions among users" and that search engines may misread it.
Google's guide explains why the delay matters: Google treats an instant meta refresh (0 seconds) as permanent, but a delayed one (more than 0 seconds) as temporary. So Hostinger's 1-second example would count as a temporary redirect. Google recommends a permanent server-side redirect whenever possible. Use meta refresh only if you truly cannot use Methods 1 to 4.
A CNAME is not a redirect
Hostinger's tutorial also describes pointing a domain with a CNAME record in the DNS Zone Editor (host @, keep TTL 14400, remove conflicting @ records) and says DNS propagation can take up to 24 hours. That changes where the domain resolves; it does not send visitors to a new address with a 301. For "redirect a URL to a different domain", stick to Methods 1 to 3.
SEO checklist for a domain move
From Hostinger's tutorial and Google's guide, plus common sense:
- Use 301 (or 308) for permanent moves. Hostinger notes a 302 does not pass SEO value to the target.
- Map old pages to their closest new pages, not everything to the homepage.
- Avoid chains. Old to new, in one hop. Hostinger warns too many redirects slow the site and confuse search engines.
- Avoid masked redirects. Hostinger says they can be flagged as duplicate content.
- Keep redirects in place as long as the move is permanent. Google says to use permanent redirects when you are sure they will not be reverted.
- Update your own links, sitemap and profiles to the new domain, so you rely less on the redirect.
If your site is on Webflow instead, the steps are different: see Webflow redirect URL.
Which method should you use?
| Your situation | Use | Why |
|---|---|---|
| One old page to a new page on another domain | hPanel Redirects with a /path | Two minutes, no code |
| Whole domain, homepage only matters | hPanel Redirects, no path | Simple |
| Whole domain, every path must match | .htaccess rewrite rule | Keeps deep links working |
| Extra domain with no hosting | Domain forwarding | No hosting plan needed |
| Domain connected to Hostinger AI Builder | Cloudflare | Redirects tool not available |
| Nothing else possible | Instant meta refresh | Last resort |
Troubleshooting
General cautions, not test results:
- The redirect works for http but not https. Install SSL on the source domain first, as Hostinger's article says.
- Your browser keeps going to the old target. Browsers cache 301s hard. Test in a private window or clear the cache.
- "Too many redirects" error. Two rules are sending traffic in a loop, often an .htaccess rule fighting an hPanel redirect. Remove one.
- The Redirects option is missing. Check whether the domain is on an AI Builder site.
What we could not check
- Hostinger's help article for the Redirects tool does not mention the 301 or 302 choice, while its docs and tutorial do; menus may differ by account.
- Hostinger does not state how long an hPanel redirect takes to go live.
- We did not set up a live redirect for this page.
More hosting how-tos live in our web hosting hub.
Questions people ask
How do I redirect my domain to another URL in Hostinger?
In hPanel go to Websites, Manage site, then search Redirects in the sidebar. Pick the domain, optionally add a path, choose URL as the destination type, enter the new address and click Create. If the domain has no hosting plan, use Domains, Domain portfolio, Manage, then Redirect your domain. Install SSL first if you redirect to HTTPS.
Should I use a 301 or 302 redirect on Hostinger?
Use 301 when the move is permanent, which is most cases: a new domain, a merged page, a rebrand. Hostinger's docs recommend 301 for site restructures and domain migrations. Use 302 only for short-term moves where the original URL will come back. Hostinger's tutorial says that if you chose the wrong type, delete the redirect and create it again.
Why can't I find the Redirects tool for my Hostinger website?
If the domain is connected to a Hostinger AI Builder website, Hostinger's help center says the Redirects tool is not available. Its suggested fixes are to set the redirect up in Cloudflare, or to remove the AI Builder site and add the domain to a hosting plan as an empty site or with another CMS such as WordPress.
How do I redirect a whole domain to a new domain and keep the paths?
Use a rewrite rule in the .htaccess file in public_html. Hostinger's docs show an entire-domain example that matches the old hostname and sends every path to the same path on the new domain with a 301. That way old-domain.com/blog/post goes to new-domain.com/blog/post, not just the homepage.
How long does a Hostinger redirect take to work?
Hostinger's redirect help article does not give a time. Its tutorial says a DNS-based change with a CNAME record can take up to 24 hours to propagate. In practice, test in a private browser window, and remember your browser may cache an old 301, so clear the cache if a change seems not to work.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Hostinger help: How to set up a redirect in hPanel, checked 3 Dec 2026
- Hostinger docs: Redirects, checked 3 Dec 2026
- Hostinger tutorial: How to redirect a domain, checked 3 Dec 2026
- Hostinger help: How to create a redirection via HTML, checked 3 Dec 2026
- Google Search Central: Redirects and Google Search, checked 3 Dec 2026