Cloudflare is a must-have if you would like to ensure your website’s stable and fast work, and protect it from DDoS attacks. To connect your domain to Cloudflare, you need to point it first. The process will differ depending on if you purchased Cloudflare at Hostinger or activated it manually with Cloudflare.
If you have Cloudflare purchased at Hostinger
If your domain is purchased at Hostinger, and you activated Cloudflare after the 2nd of December 2021, your domain was pointed to Cloudflare automatically upon Cloudflare setup 🚀
There you will find your Cloudflare NS records (they are unique for each account, make sure to copy the records from hPanel):
All you need to do is access your domain’s DNS zone, and change nameservers to the mentioned ones.
If your domain is purchased elsewhere, you should do DNS changes from your provider’s side
Your domain will be pointed to Hostinger by A or AAAA record from Cloudflare’s side automatically
After you specify new DNS records, propagation will start which can take up to 24 hours to fully propagate
If you activated Cloudflare directly
In case you still wish to point your domain to Cloudflare directly, it can be easily done by following this procedure:
Create an account on Cloudflare.com
Enter your domain name
Select a plan
You will be presented with the required Nameservers. Copy the values and change nameservers at your domain’s DNS Zone
After you specify new DNS records, propagation will start, which can take up to 24 hours to fully propagate.
All DNS records (except for NS) which you had at Hostinger will be fetched, and you can keep them while activating Cloudflare. Either way, you will need to duplicate these records in your Cloudflare's DNS Zone manually later
In case you create new subdomains, you will need to add an A record with your account’s IP on Cloudflare’s side