In the Hostpoint Control Panel, you have the option to set up a redirection for your domain. This will automatically redirect visitors to the specified website when they enter your domain in the browser.
Redirects can be set up in two ways:
- In the “.htaccess” file: This option has the advantage that the redirect works, regardless of whether the source URL is called with HTTPS or HTTP. We therefore recommend setting up the redirect in this way.
- In the domain management: This option also works, but has the disadvantage that the redirect only works if the source URL is called with HTTP.
Both options are described below.
Set up redirection in .htaccess
- Log in to the Hostpoint Control Panel with your Hostpoint ID.
- Open the web hosting on which you manage the affected website.
- Click on “Websites” in the menu on the left.
- On the right-hand side of the page, click on the blue link to get to the document root of your website.
- Search for a file with the name .htaccess. If a file with this name does not yet exist, create it via “Create file”.
- Edit the file by clicking on the pencil symbol.
- Insert the following code and replace https://your-own-domain/ with the desired target URL:
.htaccess
redirect 301 / https://your-own-domain.ch/
- Save your settings.
→ The redirection has been set up.
Set up redirection in the domain management
- Log in to the Hostpoint Control Panel with your Hostpoint ID.
- Click on “Domains” in the menu at the top.
→ You will see an overview of your domains. - Click on “Edit” for the desired domain.
→ You will see the detail data of your domain. - Under “Domain state”, select the “Redirect domain (HTTP Redirect) to:” option
- Enter the desired URL and click on “Save”.
→ The redirection has been set up. After approx. 5 – 10 minutes, the redirection of the domain and all subdomains is active, unless the subdomains have their own records.
For support requests please use this form instead.