Step-by-Step Cloudflare Setup Guide for AVIOX Cloud Websites

Step-by-Step Cloudflare Setup Guide for AVIOX Cloud Websites

Cloudflare is one of the most widely used security and performance platforms in the world. With its global CDN, DNS acceleration, DDoS protection, SSL automation, and firewall tools, Cloudflare dramatically improves any website hosted on AVIOX Cloud. Whether you’re running an eCommerce site, a corporate website, or a high-traffic web application, setting up Cloudflare adds powerful layers of speed and security at no cost.

This guide walks you through the complete setup process, explains how Cloudflare works with AVIOX Cloud hosting, and covers common issues and fixes.


Why Use Cloudflare With AVIOX Cloud?

Cloudflare enhances your AVIOX Cloud website by offering:

  • Global CDN (faster load times worldwide)

  • DDoS protection

  • Smart caching

  • Free SSL certificates

  • Bot filtering

  • DNS acceleration

  • Protection from malicious traffic

  • Reduced server load

Combined with AVIOX Cloud’s VPS and hosting infrastructure, Cloudflare ensures your website stays fast, secure, and stable.


Step 1: Create a Cloudflare Account and Add Your Site

  1. Go to Cloudflare.com → Sign Up

  2. Enter your domain

  3. Cloudflare scans your DNS records automatically

  4. Choose your plan (Free plan is enough for most websites)

Cloudflare will list all DNS records that exist on your current hosting.


Step 2: Review and Correct DNS Records

Make sure Cloudflare imported the correct:

  • A record (server IP)

  • CNAME records

  • MX (email)

  • TXT (SPF, verification codes)

Important:

Leave MX, SPF, DKIM, and email-related records on DNS-only mode (grey cloud).
Email should NOT be proxied.

Your main domain A record should be:

  • Proxied (orange cloud) for Cloudflare CDN & security

  • Or DNS-only if troubleshooting


Step 3: Update Nameservers at Your Domain Registrar

Cloudflare provides two nameservers:

  • Example: lola.ns.cloudflare.com

  • Example: miles.ns.cloudflare.com

Replace your current nameservers (AVIOX Cloud, cPanel, Plesk) with the Cloudflare ones.

Propagation may take 30 minutes to 24 hours.


Step 4: Configure SSL Settings for AVIOX Cloud

Go to SSL/TLS → Overview

Choose the correct SSL mode:

Full (Recommended)

If your AVIOX Cloud server already has SSL (Auto-SSL, Let’s Encrypt).

Full (Strict)

For strongest security — requires valid certificate on server.

⚠️ Flexible Mode – AVOID

This causes redirect loops and mixed content issues.


Step 5: Enable Essential Cloudflare Performance Settings

Go to Speed → Optimization

Enable:

  • Auto Minify (CSS, JS, HTML)

  • Brotli Compression

  • Caching Level: Standard

  • Rocket Loader (optional for JS-heavy sites)

These features reduce file size and improve loading speed.


Step 6: Enable Cloudflare Firewall Protections

Go to Security → WAF

Enable:

  • DDoS protection (automatic)

  • Basic Security Rules

  • Bot Fight Mode

  • Custom Firewall Rules (optional)

A common rule:

Block traffic from known malicious countries
Or
Challenge high-risk IPs


Step 7: Configure Page Rules (Highly Recommended)

Useful Page Rules:

1) Force HTTPS

*yourdomain.com/* → Always Use HTTPS

2) Cache Everything for Static Sites

*yourdomain.com/* → Cache Everything

3) Disable Performance for Admin Panels

*yourdomain.com/wp-admin*

These prevent caching issues.


Step 8: Fix Common Cloudflare Issues

1. ERR_TOO_MANY_REDIRECTS

  • SSL set to Flexible
    Fix: Set SSL to Full

2. Website Not Loading

  • Wrong A record

  • DNS still propagating

3. Mixed Content (HTTP images/scripts)

  • Set “Automatic HTTPS Rewrites” ON

  • Fix insecure links in source code

4. Email Not Working

  • Email records must be DNS-only (no Cloudflare proxy)


Step 9: Test Your Website

Check:

  • DNS propagation

  • HTTPS padlock

  • Speed test (GTmetrix, PageSpeed)

  • Firewall events

  • Caching status (cf-cache-status header)

Once everything works, your site is fully protected and optimized.


Share:


Leave a comment

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

Your experience on this site will be improved by allowing cookies Cookie Policy