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 forward. 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 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:
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
Forwarding the domain will set it to Hostinger default nameservers