Redirect from to

I need to redirect like to . How can I do that?

I tried inside Page Rules but didnt work!

Use redirect rules. Redirect when hostname equals to a dynamic rule, kind of like this…

concat("", substring(, 0, len( - len("") -1))

(That’s just off the top of my head, may not work, but gives you the basic idea of chopping up the request and reforming it to get what you want).


You will also need a DNS entry for every anything - if that is truly anything, you’ll need a wildcard * entry to match anything. Just use A or AAAA 100:: in the DNS as dummy values for the subdomains/wildcard.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.