Creating a URL Redirect
Redirects allows you to easily redirect a domain to another website. You can setup a redirect from a domain (e.g. example.com) or any subdomain (e.g. blog.example.com) to another URL. Redirects are managed through the Domains module under the Redirects section.
There are two types of redirects, 301 Moved Permanently and 302 Moved Temporarily. If you would like to redirect for example, a .co.nz domain to the new .nz domains, the correct type is 301 Moved Permanently.
The domain's name servers must be pointed at SiteHost's name servers, and the zone must not be using a zone template.
HTTPS source URLs are not currently supported.
We will walk through an example of creating a redirect from sitehost.example.co.nz to sitehost.nz/about/team.
- Visit the SiteHost Control Panel
- Go to the Domains module, and click Redirects.
- Click Create Redirect and fill out the form.
A redirect entry will now appear on the list.
Redirects will take effect once the DNS records have propagated. This time is dependent on the TTL set for the zone, which by default is 60 minutes.
Paths that don't match other rules will use this rule.
This rule only matches the url
example.co.nz/foo/bar respectively. Uses the most specific path first.
This rule redirects all URLs starting with
example.co.nz/baz and passes the remaining path to
Powered by the open sourced project, redirect.name.