问题原文
原帖链接 · LjMario007 · CC BY-SA 3.0
I'm trying to set up a (.tk) website for a school project using 000WebHost, but at the same time I want to integrate CloudFlare DDoS protection into my website as well. The two ways to hook up a domain name to 000WebHost are to either 1) add a CNAME record that points to the free subdomain 000WebHost provides (your-domain.000webhostapp.com) or 2) change your DNS nameservers to 000WebHost's own.
But in order to use CloudFlare you need to either change your nameservers to Cloudflare's own or add a CNAME record to CloudFlare themselves. The thing is that the registrar for .tk domains (Freenom [sorry, can't post a third link because I have under 10 rep]) only allows you to use CNAME records or different nameservers, you can't have both different namservers and CNAME records at the same time.
Ideally, I would have a CNAME pointed at 000webhostapp.com and my nameservers pointed at Cloudflare, but I can't do that due to said restrictions. So my question is: is there some way to circumvent Freenom's restrictions and use a CNAME and different nameservers at the same time, or should I jump ship to a Cloudflare Partner's web hosting service i.e. Free Virtual Servers (sorry, again I can't post a link) so I can just activate CloudFlare through cPanel without changing the nameservers or adding CNAME records?
已采纳解答
原帖链接 · Oscar · CC BY-SA 3.0
For anyone else searching for this,
You can change your dns from Freenom to CloudFlare (or whatever DNS you want) by going to Manage domain > Management Tools > Nameservers and use CloudFlare's nameservers
and in CloudFlare, you can use the DNS system that they got to point to 000webhost [cname]
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
