Hi , we printed leaflets with an old QR code that points to a non existing subdomain of ours. And I need to create a permanent foward to our new page. I’ve set up the forwarding rule on “Rules” but I am missing something. Do I need to create a dummy page and use that IP to create a dns rule for the forwarding to work?
You will need a proxied DNS record on the subdomain for rules to apply. You can simply create a proxied AAAA record pointing to 100:: (IPv6 discard prefix).
The address that you use in the DNS record does not matter, since Cloudflare will redirect all requests anyways, but it’s good practice to use the IPv6 discard prefix, as it clearly signals that there’s no origin server. It also ensures that, if the redirect rule is ever deleted, requests are not sent to some random server.
Lets say the parent domain is Astalavista.com , the redirect rule is hello.astalavista - Forwarding URL (Status Code: 301 - Permanent Redirect- to the new site which is a new domain , astalavista.hello