How to set rules for subdomain?


How can I set rules for subdomain?

Let say my domain is, how can I create rules for so it only allow traffic from specific domain (

Thank you.

Which rules? Page rules? Firewall rules?

Page rules. So I setup like this:

Select “forwarding URL”
301 - permanent redirect

Somehow when I visit ‘’ it still direct me to that URL instead of ‘

Am I missing something? Maybe I need wait a while before it’s working?

Thank you.

Apparently I turned off the cloudflare network. It works fine now.

Thank you.