How to access only subdomain from particular ip address range


I have domain hosted on Cloudflare and want to access sub domain of that domain to be accessible via particular IP address range or via on prem VPN firewall. Kindly suggest.

That looks a job for Cloudflare access. Put that sub domain behind Cloudflare access and than create a allow rule of your desired ip range and that should make things work


I have tried with WAF to block one subdomain URL to access only from specific ip address but it is not working. is anything i am doing wrong here?

Should be url full path and Cloudflare access is more manageable


I tried it worked but i have another problem some user are using on prem VPN. during that case site is not accessible.

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