If that other domain is also on Cloudflare you can do this with regular page rules and the search will have more on that, just like it said in your posting. The tutorials section has more on it too.
Otherwise you’d need to do this via standard means but that would be something for your web developer or host to clarify.