How to redirect a domain or page (301 or 302 redirect)
A redirect sends visitors (and search engines) from one address to another. Use it when a page has moved, or to send a whole domain to your new website.
Steps
- Log in to the control panel (
https://your-server:2083). - Open Redirects in the menu (section Domains).
- Website — choose the domain the visitors come to.
- Path (/ = whole website) —
/to redirect the whole website, or a path such as/old-page. - Redirect to — the full new address, starting with
https://orhttp://, for examplehttps://example.com/new-page. - Type — Permanent (301) when the move is final (search engines move the ranking), or Temporary (302).
- Tick Keep the rest of the path if deeper addresses should follow (see below).
- Click Add redirect. The message Redirect added. It works within a minute. appears.
Keep the rest of the path
| Redirect | Visitor opens | Without "Keep the rest of the path" | With it |
|---|---|---|---|
/ → https://new.example.com | /blog/post-1 | https://new.example.com | https://new.example.com/blog/post-1 |
/shop → https://example.com/store | /shop/item-7 | not redirected | https://example.com/store/item-7 |
Without the option, a path redirect only matches that exact path (with or without a final /).
Remove a redirect
Click Remove next to it in the list.
Good to know
- The longest path wins: a redirect for
/shop/saleis checked before one for/shop. /.well-known/is never redirected by a whole-website redirect, so free SSL certificates keep renewing.- The target cannot contain
%or$. - You cannot redirect a website to itself, and each path can have only one redirect.
- Aliases are not listed: they show the main website. Add the redirect on the main domain, or add the alias as an addon domain if it needs its own redirect.
- Redirects from HTTP to HTTPS happen automatically once a website has a certificate; you do not need to add one.
Common questions
How do I redirect an old domain to my new one?
Add the old domain as an addon domain, point it to this server, then add a redirect for it with path /, Redirect to your new address, Permanent (301) and Keep the rest of the path.
My redirect does not work.
Wait a minute and try in a private browser window: browsers remember 301 redirects. A .htaccess file in the website folder can also send visitors elsewhere first.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to add a domain alias (parked domain)
Make another domain show the same website as your main domain with an alias (parked domain), including its DNS zone, email and SSL certificate.
- How to set custom error pages (404, 403, 500, 503)
Show your own page instead of the plain error for 404 Not found, 403 Forbidden, 500 Server error and 503 Unavailable on each of your websites.
- How to force HTTPS (redirect HTTP to HTTPS) and enable HSTS
Websites with a certificate redirect HTTP to HTTPS automatically. Learn when it starts, what is excluded, and how to turn on HSTS so browsers always use HTTPS.