If i am using cloudflare for a domain , will it be work on dub domain as well ? to prevent DDOS attack ? ow we need to add anything ?
If your subdomain is proxied through Cloudflare then yes. All HTTP(s) traffic proxied through Cloudflare will have DDoS protection - more info here: Understanding Cloudflare DDoS protection – Cloudflare Help Center