Rules
I would like for example:
mydomain.com/login
To point to app.mydomain.com
How can I achieve that?
2 Replies
Hi, you could use Page Rules for that https://developers.cloudflare.com/rules/page-rules/how-to/url-forwarding/
URL forwarding | Page Rules · Cloudflare Rules docs
Page Rules allow you to forward or redirect traffic to a different URL, though they are just one of the options provided by Cloudflare.
But there are also many other ways to do url redirects. Seems like actually the default way would be single redirects, but the option you choose is going to depend on the type of project you have: https://developers.cloudflare.com/fundamentals/concepts/redirects/
Redirects · Cloudflare Fundamentals docs
Cloudflare offers a variety of ways to perform URL redirects, which tell a visitor’s browser that the location of a page has been changed.