Bobcares Logo
Search Call 1-800-383-5193 Emergency Contact
Bobcares Logo
Search Call 1-800-383-5193 Emergency Contact
Emergency Contact

All About Whitelisting IP addresses in Cloudflare

by Nikhath K | Mar 17, 2022 | Cloudflare, Latest, Server Management | 0 comments

Whitelisting IP addresses in Cloudflare is an easy affair with this quick guide by our experts. 

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

Let’s look at how our Support Team is ready to help customers with whitelisting IP addresses in Cloudflare.

All About Whitelisting IP addresses in Cloudflare

Cloudflare offers us the option of preventing malicious IP addresses from getting access to our website by granting access only to trusted IP addresses. In fact, this process is known as whitelisting. Furthermore, it offers an additional layer of protection to our website.

Whitelisting IP addresses in Cloudflare

We can whitelist IP addresses with these steps:

  1. First, open the /home/username/public_html/.htaccess file via the cPanel File Manager or SSH command prompt. In case, the file does not exist, we have to create it.
  2. Next, copy the text below and paste it into the file from the previous step:
    order deny,allow
    deny from all
  3. Then head to this link and copy-paste the list of IP addresses to the .htaccess file right after the deny from all line. Remember to ensure the IP addresses are on separate lines.
  4. Next, add the text seen below to the start of each line with an IP address:
     allow from
  5. Furthermore, we can add additional IP addresses to the whitelist by using the allow from IP_address format.
  6. Finally, we will have a .htaccess file that looks similar to the one below:
    order deny,allow
    deny from all
    allow from 103.21.152.0/12
    [Additional Cloudflare IP addresses to allow]
    [Any other IP addresses you want to allow]

How to Whitelisting IP addresses from Cloudflare account

  1. First, log in to the Cloudflare account.
  2. Then, choose the Firewall icon and click the Tools tab.
  3. Next, we have to list out the IP addresses to be whitelisted below the IP Access Rules with these steps:
    • First, enter the IP address
    • Then, select Whitelist
    • Next, select the website to which we want to apply these whitelisting rules to
  4. After that, click Add.

According to our Support Techs, we have to repeat the above steps for each IP address we wish to whitelist.

[Looking for a solution to another query? We are just a click away.]

Conclusion

To conclude, our skilled Support Engineers at Bobcares demonstrated how to whitelist IP addresses in Cloudflare.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

Related posts:

    1. How to Disable CloudFlare Rocket loader?
    2. DNS Points to Prohibited IP Cloudflare: Explained
    3. block xmlrpc in cloudflare
    4. Cloudflare error 522 connection timed out – How we make your site live

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • What Is Proactive Monitoring? A Complete Guide
  • AI Use Cases: How Artificial Intelligence Is Used Across Industries
  • Turn Manual Business Processes into Automation-Driven Growth
  • Digitalization of Business to Speed Up Operations and Support Faster Scaling
  • Cloud Cost Optimization Best Practices: Everything You Need to Know in 2026

Categories

  • Advanced Vulnerability
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Filezilla
  • FTP
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • Software Testing
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email sales@bobcares.com | Phone 1-800-383-5193

Product Engineering

  • MVP Build
  • MVP to Scale
  • Product Maintenance

Digital Transformation

  • Process Digitization & Automation
  • Systems Integration & Workflow Orchestration
  • Data Enablement & Decision Support
  • Application & Platform Modernization
  • Transformation Execution & Delivery Enablement

AI Services

  • AI Readiness & Use-Case Discovery
  • AI Integration & Application Enablement
  • Intelligent Automation & AI Workflows

Infrastructure Management

  • Always-On Infrastructure Management
  • Proactive Monitoring & Incident Prevention
  • Cloud Cost Control & Optimization (FinOps)
  • Outsourced IT & End-User Support
  • Managed Infrastructure Execution Support

DevOps & Automation Services

  • CI/CD & Release Automation
  • Infrastructure as Code & Platform Standardization
  • Reliability Engineering & Observability
  • DevSecOps Enablement
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Careers
  • |
  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms and Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right