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 - Create a Cloudflare account for your domain
First, set up Cloudflare on your 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 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 fully propagates, you can setup redirect in your Cloudflare account.
To configure it, open Page Rules section and click on Create Page Rule:
There enter your domain name (or a specific address which you wish to be redirecting), choose the setting Forwarding URL and its type: 301 (Permanent Redirect) or 302 (Temporary Redirect). After this add your destination URL:
To finish click Save and deploy:
That’s it! Now you know how to set up a redirect without hosting.