Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [cloudflare]

CloudFlare is a CDN marketed as improving website performance and speed and providing security.

Filter by
Sorted by
Tagged with
88 votes
5 answers
67k views

How can CloudFlare offer a free CDN with unlimited bandwidth?

The CloudFlare free tier service offers unlimited bandwith while other CDNs charge starting at about $.10/gb. CloudFlare does not have bandwidth limits. As long as the domains being added comply ...
Mike's user avatar
  • 1,185
35 votes
1 answer
30k views

How does CloudFlare's Rocket Loader actually work (and how can a developer ensure compatibility)?

CloudFlare has quite a ground-breaking technology called Rocket Loader (both on free and paid accounts). But how does it actually work? They have a couple of pages that describe the technology, but ...
Simon East's user avatar
26 votes
3 answers
11k views

How does a CDN like CloudFlare work?

What I understand so far: You keep your current web hosting, but you change the DNS servers for your site from the DNS servers of your current hosting to CloudFlare's DNS servers. CloudFlare serves ...
Šime Vidas's user avatar
18 votes
3 answers
17k views

Disable __cfduid cookie from Cloudflare

Is there a Cloudflare setting that corresponds to the creation of the __cfduid session cookie? I'm currently trying out CF; mostly for the neat DNS management and the implicit CDN. But the basic WAF ...
mario's user avatar
  • 291
16 votes
2 answers
14k views

Can I route only a subdomain through CloudFlare?

I'm currently using Amazon CloudFront as a CDN for my images on a subdomain img.example.com, from an origin origin.example.com. I recently saw that CloudFlare provide a CDN for a flat fee so I'm ...
DisgruntledGoat's user avatar
16 votes
5 answers
16k views

Analytics: CloudFlare vs Google - What discrepancy is too big?

Been using CloudFlare for one of our sites for about a week now, and CloudFlare reports 450% more real visitor page views than Google Analytics (so that's not bots or blocked threats). I understand ...
CodeMonkey's user avatar
12 votes
2 answers
4k views

Can CloudFlare use different origins based on path pattern?

I'm trying to switch from AWS CloudFront to CloudFlare. Currently, my web site is hosted on EC2 and my large static files are placed in S3 separately. CloudFront let me serve the web pages and the ...
Andy Li's user avatar
  • 223
12 votes
3 answers
7k views

Are there any disadvantages to Cloudflare’s “Flexible SSL”?

Cloudflare lets you serve your site over SSL without having to purchase and install a security certificate, a product they call “Flexible SSL”. (They act as a proxy and serve your site over SSL from ...
Nick's user avatar
  • 20.5k
11 votes
2 answers
3k views

Cloudflare: Cache static HTML when URL has Query String

Quick CloudFlare 'new user' question for you: BACKGROUND: The HTML pages served up by my origin server never change. All dynamic content is download via JavaScript after the page is loaded in the ...
Festus Martingale's user avatar
8 votes
2 answers
4k views

Facebook crawler with no user agent spamming our site in possible DoS attack

Crawlers registered to Facebook (ipv6 ending in :face:b00c::1) were slamming our site, seeing 10s of thousands of hits in just 20 minutes. We noticed they didn't have a user agent in the header and ...
L Martin's user avatar
  • 4,003
8 votes
1 answer
2k views

How can SLAs guarantee over 100%

I was just looking through Cloudflares plans and noticed that their Enterprises plan offers a SLA with 2500% uptime. How is it therefore possible to offer anything above 100% uptime?
user2285909's user avatar
7 votes
2 answers
8k views

Untrusted Cloudflare SSL Certificate

I'm just dipping my toes into the water with SSL certificates and figured I'd try Cloudflare's free offering... I'm trying to secure a sub-domain that hosts map tiles locally within the country for ...
Gavin's user avatar
  • 348
6 votes
3 answers
2k views

Is an .htaccess edit necessary when enabling Cloudflare SSL?

I have recently changed 3-4 of my sites to Cloudflare SSL. After that, I went to General Settings on WordPress and changed URLs from HTTP to HTTPS. And it redirects from HTTP to HTTPS without any ...
V3King's user avatar
  • 131
6 votes
2 answers
12k views

Subdomain on another server cPanel A Record & Cloudflare

I have created an A record to point to another server for a subdomain to be hosted separately from the actual domain name. I created this on cPanel but I also have Cloudflare enabled. I subdomain ...
Abu Nooh's user avatar
  • 991
6 votes
2 answers
1k views

Tumblr disabled custom domain for using CloudFlare

I have a Tumblr blog which uses a custom domain. Yesterday I tried to add CloudFlare to it which was a terrible mistake. Apparently Tumblr does not support Cloudflare and will therefore disable ...
Tony Fire's user avatar
  • 273
5 votes
1 answer
24k views

Cloudflare DNS: How to 301 Redirect all traffic from Sub Domain to Main Domain with URL path?

I am using cloudflare to manage my domain, and I wanted to add a subdomain. I tried to do this: But it gives me an error. How would I add a subdomain like blog.example.com that sends to example.com/...
user4358892340's user avatar
5 votes
3 answers
5k views

CloudFlare Not Sending If-Modified-Since Headers

I'm trying to reduce my server load by providing 304 Not Modified responses for content where appropriate. CloudFlare is my middle man, so they should be sending If-Modified-Since headers whenever a ...
skibulk's user avatar
  • 253
5 votes
3 answers
9k views

Does CloudFlare cache videos, and would this wildcard Page Rule work for that?

I'm setting everything up in my website to use CloudFlare. This is my example: On videos.domain.com/Folder-A/Folder-B/ there are some HTML files that I would NOT like CloudFlare to cache. But inside ...
vagaerg's user avatar
  • 153
5 votes
2 answers
3k views

Cloudflare not redirecting to HTTPS

I set it up, and set "Automatic HTTPS Rewrites" to "ON", BUT this still not redirecting me to the https by default when the page is requested via http... accessing the page manually by putting https ...
prizzaloo's user avatar
5 votes
2 answers
2k views

Many "429" crawl errors in Google Webmaster Tools with GoDaddy Managed Wordpress Hosting and Cloudflare

Following setup: GoDaddy Managed Wordpress Hosting + SSL Cloudflare as CDN Google Webmaster Tools shows all pages with 429 crawl error. I tested manually and with tools like monitor.us and I couldn'...
sebastiansieber's user avatar
5 votes
2 answers
6k views

Clearing cache with CloudFlare?

Is it possible to clear or avoid CloudFlare cache while doing development? I'm developing a site that has caching on several levels - WordPress supercache, the caching done by the browser, and ...
cboettig's user avatar
  • 325
5 votes
1 answer
2k views

Does my origin's gzip compression level matter when it's behind CloudFlare?

Today I uploaded a sitemap.xml file to my site, then realised that my server wasn't set up to gzip .xml files. However, CloudFlare still gzipped it before sending to my browser. This got me wondering,...
John Cave's user avatar
  • 288
5 votes
2 answers
2k views

How to setup CloudFlare Origin CA with a wordpress server hosted on Amazon AWS?

Many might know that recently CloudFlare introduced something really amazing for everyone with a domain: CloudFlare Origin CA. I have a WordPress website hosted on Amazon AWS, and what I initially ...
Ashish Dung Dung's user avatar
5 votes
2 answers
544 views

Managing redirections of 2 domains at CloudFlare for the same site

Let's say I have these two domains: example.com.uy example.uy My goal is to set a proper domain's forward according to SEO best practices using a 301 Redirect, in order to enforce my users to be ...
Frondor's user avatar
  • 224
4 votes
3 answers
14k views

Cloudflare is it safe?

I am thinking of signing up with cloud flare, but since i'm not very familiar with the technical side of things, I wanted to ask here first. How safe is it to sign up with services, like cloud flare? ...
user1721135's user avatar
4 votes
1 answer
586 views

Should I worry about exposing my server's IP address?

I currently use Cloudflare for DNS, and they advertise that they will hide the IP address of my server if I proxy through them. Should I worry about this since the IP points to a dedicated server (not ...
Josiah Ogburn's user avatar
4 votes
1 answer
284 views

For a website behind a CDN, does it make sense to combine JavaScript into one file and host it on my server?

Currently, my website loads JavaScript libraries from several CDN providers (cloudflare, unpckg, etc.) and it is working through a CDN (cloudflare). Does it make sense to combine all third-party ...
Yuriy N.'s user avatar
  • 195
4 votes
2 answers
3k views

Configure 3 domains in CloudFlare, with 2 redirecting to the first one, for a wordpress installation in openshift

My friend has 3 domains: example.com example.com.cc example.com.co The website is hosted at OpenShift and it's already redirecting example.com to it (using the guide in this answer). So far, so good....
Somebody still uses you MS-DOS's user avatar
4 votes
1 answer
1k views

Cloudflare is blocking Bingbot

When I check BingWebmaster and use "Fetch as BingBot" then Bing is able to crawl that particular URL of my site. However, when I use SiteScan tool, then I am getting 4xx error. (SiteScan ...
Bhargav Joshi's user avatar
4 votes
1 answer
2k views

Use SSL on Heroku without paying Heroku for SSL?

In this post, the author suggest a way to get SSL on Heroku without paying Heroku for it: Pay Cloudflare for premium service, and get SSL support with it. Create a CNAME in cloudflare that points to ...
Ari's user avatar
  • 161
4 votes
2 answers
413 views

Create Subdomain on BigRock with Godaddy hosting

I have a domain on BigRock and hosting on GoDaddy. I am also using CloudFlare in between. Now I need to add a subdomain on BigRock which should also point to a subdomain on GoDaddy. I have created a ...
SurajS's user avatar
  • 141
4 votes
1 answer
885 views

Setting up Let's Encrypt with CloudFlare and dynamic IP

My setup is as follows: Dedicated server (Linux) with dynamic IP address NO-IP domain name domain name When I want to access my system (server), I access my domain, which redirects me to my NO-IP ...
CorellianAle's user avatar
4 votes
1 answer
320 views

Does CloudFlare's analytics support download statistics on individual files?

I'm planning on using CloudFlare with our website but I need to make sure that I can still provide download statistics for some of the files which will inevitably be cached. I couldn't find anything ...
Mike's user avatar
  • 143
4 votes
3 answers
401 views

Cloudflare in cPanel is it a no brainer?

I recently noticed a CloudFlare CDN service addon appear in my cPanel. I understand what a CDN is, but thought it was a more complicated process than the one-click solution that seems to be offered in ...
Drai's user avatar
  • 777
4 votes
1 answer
1k views

Prevent Duplicate content when using CloudFlare

I have a website which uses CloudFlare CDN. At the CDN setup, CloudFlare created a sub-domain like direct.example.com to my website, which can be used to override CloudFlare and access the site ...
Grainier's user avatar
  • 145
3 votes
1 answer
5k views

How to make CloudFlare cache everything?

I want CloudFlare to cache everything, PHP files too, every request from the domain, I want it to cache it. Is this possible? (There are PHP scripts on the domain that print out images, JS and CSS, ...
fiftyeight's user avatar
3 votes
1 answer
434 views

Can you hide a server IP address using Cloudflare?

I am in the UK and looking for a new server for my websites. Pricing in the UK is really expensive but I stuck with the UK as that is where my main audience is. I noticed that with providers like ...
Holo's user avatar
  • 133
3 votes
2 answers
680 views

Can Cloudflare workers be used for heavy traffic?

I tried to find the details about traffic limit on Cloudflare workers, the only limit I found is by the number of requests. Can I use it to provide extremely heavy traffic 10, 20, 30, 50, 100, or 1000 ...
user206904's user avatar
3 votes
2 answers
2k views

Configuring SMTP through Cloudflare

My domain registrar is Cloudflare and my site is hosted through A2 Hosting. My problem is that my email worked fine when A2 Hosting was my domain registrar and web host. Now, neither Thunderbird or ...
PrismaPixel Studios's user avatar
3 votes
1 answer
2k views

CloudFlare DNS: How to setup a GitHub Repository to a custom sub domain?

I have a github pages site, and I want to add it as a subdomain to my cloudflare domain without using a page rule
user4358892340's user avatar
3 votes
1 answer
207 views

Is there a CAPTCHA Challenge when using Cloudflare CDN?

I am considering using Cloudflare CDN for my own website, which has a user base of 10.000 people. It's used world-wide, and there is a lot of room for caching, thus I wanted to use a CDN. However, I ...
Adam's user avatar
  • 389
3 votes
1 answer
4k views

Receiving error 500 for WordPress when using CloudFlare as a CDN

My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php directly, it works fine. However, when I try to call wordpress/wp-admin/...
arachide's user avatar
  • 155
3 votes
1 answer
1k views

Is it possible to see my site's real IP address if I'm using a CDN like CloudFlare?

CloudFlare acts as a reverse proxy and caches site content. Is it possible to see my site's real IP address if I'm using a CDN like CloudFlare? When I check my site's IP address using a lookup ...
user avatar
3 votes
1 answer
6k views

Combine Amazon Cloudfront with Cloudflare?

Has anyone tried to combine Amazon Cloudfront with Cloudflare, as below: In Cloudflare, add example.com to Cloudflare and update the DNS to proxy the website. In Amazon, add a Cloudfront distribution ...
alancc's user avatar
  • 439
3 votes
1 answer
388 views

cloudflare free vs ModSecurity on Linux shared hosting

On my shared Linux hosting from Hostgator, I had ModSecurity enabled. My website is a Wordpress site, where the Google login redirection URL after successful authentication was being blocked by ...
Wiltordd's user avatar
3 votes
1 answer
195 views

What can I do when my Cloudflare SSL certificate isn't authorizing?

It's been over 24 hours since I activated SSL in the Crypto section of Cloudflare, but my Universal SSL Status still says "Authorizing Certificate". When I visit my site, Chrome says that the site ...
Pikamander2's user avatar
3 votes
2 answers
2k views

Forcing HTTPS and WWW with apache

Apache does not force HTTPS in a subfolder of a folder, but it works in the first level subfolders. Here are all the HTAccess snippets I have tried: RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"' ...
itteam's user avatar
  • 110
3 votes
1 answer
4k views

Registered domain on GoDaddy, pointed to Cloudflare - cannot Addon domain to my hosting

My goal: Buy domain on Godaddy, point it to Cloudflare nameservers, utilize Cloudflare functionality, and serve the content from my existing hosting provider. The Problem: Adding the domain in my ...
The Onin's user avatar
  • 145
3 votes
1 answer
80 views

SEO effect for Blocking entire site for a country and allowing only one page

Need your valuable guidance. Suppose via Cloudflare if we add a redirect rule for a specific country. Where if any traffic comes from that country, it will get redirected to a special subfolder ...
mimi's user avatar
  • 133
3 votes
1 answer
479 views

Nginx error 400 through Cloudflare

I recently added my site to Cloudflare and all of my subdomains like portainer and my file server are working however my main domain that points to my Nginx server returns "error 400 bad request ...
George Johnson's user avatar

1
2 3 4 5