I read a a few guides but I seem to get something wrong.
I have added the subdomain as a CNAME to the DNS so it says:
CNAME xyz is an alias of mywebsite.com
Then I tried to add a page rule: forwarding url
xyz.mywebsite.com/*
301 redirect
otherwebsite.com
But it doesnt work. Just blank page. Did I do something wrong?