If you happen to not have a hosting plan and you would like to redirect your domain to another domain, it can be easily done using Cloudflare.
Step 1 - Set up Cloudflare
First, create a free Cloudflare account and add the domain which you would like to create a redirection from.
If your domain is registered with Hostinger, all you will need to do is change your nameservers to Cloudflare ones. If your domain is purchased on a different provider and pointing elsewhere, you will need to update nameservers from their side. Keep in mind that the DNS zone can take up to 24 hours to propagate, so give it some time and it will work like a charm 😊
Step 2 - Set up a redirect
Once your domain is fully propagated, you can set up a redirect in your Cloudflare account. Scroll down on the left sidebar and open the Page Rules tab under Rules section:
And click on Create Page Rule:
Enter the required information:
The domain name or specific address which you wish to be redirecting
Select the setting: Forwarding URL
Set a status code: 301 for a permanent Redirect or 302 for temporary redirects
Destination URL: the address to which the redirection will lead
To finish, click Save and deploy Page Rule. That’s it! Now you know how to set up a redirect without a hosting plan.