Blocking /webmail and /cpanel url on shared hosting with a free Cloudflare account


#1

Hi,

Since it’s impossible to block those two on a shared hosting, I was thinking about adding page rules or dns settings to redirect or block it, can you guys give me some idea on how to do it?


#2

You could do a Forwarding URL page rule for */thingtoblock to https://www.yoursite.com to send them back to the main page.


#3

Thanks that works!

Also one more question, how to make when someone types http://domain or https://domain to redirect on https://www.domain ?


#4

Hi!

You do a page rule for domain.com to forward to https://www.domain.com and you enable the Always Use HTTPS for all the www.domain.com visitors.

You would need a page rule available of course…


#5

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