Page Rule - How to redirect from port 2043 to 80

Let's say I have this URL https://hello.mywebsite.com:2043/blah. How can I create a page rule to redirect it to a standard HTTP (80) port (or HTTPS on 443 in my example) so it becomes https://hello.mywebsite.com/blah? Basically I want to obfuscate that Cloudflare port out of the URL.
3 Replies
Chaika
Chaika5mo ago
You can make an origin rule hostname equals hello.mywebsite.com and rewrite dest. port to 2043. People will connect normally (on 443) and CF will connect to your origin on the overwrriten dest. port under Rules -> Origin Rules (you can't overwrite port w/ page rules))
Matt
MattOP5mo ago
I don't want to redirect people to port 2043. I want to take them away from it.
Chaika
Chaika5mo ago
oh, you could just include the port as part of the page rule url then
Want results from more Discord servers?
Add your server