Redirecting to subdomain

Good day.

I want to redirect my domain (and all its urls) to a subdomain, like, domain.com go to sub.domain.com. I added a Page Rule (URL Forwarding) to make that, and I configured it as follows:
domain.com/
Forwarding URL: Permanent Redirect to https://sub.domain.com

and that works fine, but if I try domain.com/something it won’t redirect me to sub.domain.com
So I tryed back in the Page Rule adding to the domain.com/ I used domain.com/ and then sub.domain.com has fallen.

How can I make it that domain.com and domain.com/* redirect me to sub.domain.com?

Thanks for your help

This topic was automatically closed after 14 days. New replies are no longer allowed.