How to let specific IP's acces the site, other IP's redirect to subdomain

Hi guys,

I have a website where I want to let a couple of IP’s acces the main site, and if they not match that list of ip adresses they will be redirected to a subdomain.

Any idea how to set this up?

Hi,

Have you tried Redirect Rules (Beta)? You can easily create a redirect rule for requests matching your conditions. Please visit https://dash.cloudflare.com/?to=/:account/:zone/redirect-rules

1 Like

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