If you have a hosting plan, you can easily create redirects from hPanel. In case you have purchased a domain name only, you can set up a redirect without a hosting plan by following this guide:
Go to the Domains section of your panel and select your domain. On the domain overview page, scroll down and select Forward Domain:
There, you will be able to create a redirect by filling in the following:
Protocol — HTTP or HTTPS. The recommended option is HTTPS
Website URL — enter the destination to where your domain will redirect; it can be a domain, subdomain, or URL
Advanced options — here, you can choose to create a temporary or permanent redirect
Once everything is ready, click on Create. As soon as it is created, the redirect will appear at the bottom of the page, where you will also be able to remove it if needed:
That's it! Your domain will now redirect to the specified destination.
What type of redirect to choose?
The main difference between the two types of redirection lies in their purpose and how search engines handle them:
Type | SEO | Use case |
301 — Permanent | Search engines will transfer the SEO value from the old page to the new one | A permanent change in the website name or due to a requirement from your hosting provider |
302 — Temporary | Search engines do not transfer the SEO value to the new page | When a website is undergoing maintenance or for testing a new page |
NOTE
Forwarding the domain sets it to Hostinger default nameservers.