Questions tagged [cloudflare]

Cloudflare is a content delivery network and distributed Domain Name Server service aimed at enhancing website performance and speed and providing security.

Cloudflare is a content delivery network Domain Name Server service aimed at enhancing website performance and speed and providing security. It is also known for the internet security services that it distributes.

Wiki article

3109 questions
112
votes
13 answers

CloudFlare and logging visitor IP addresses via in PHP

I'm trying to track and log users/visitors that are accessing my website using PHP's $_SERVER['REMOTE_ADDR'] to do so. A typical method for IP address tracking in PHP. However, I am using CloudFlare for caching and such and receiving their IP…
tfont
  • 10,891
  • 7
  • 56
  • 52
64
votes
2 answers

What is a Ray ID (Cloudflare)?

Every time I visit a website that is using Cloudflare's Under-Attack-Mode, it shows me the usual text telling me to wait a few seconds until Cloudflare verified I am not a bot. Every time I reload the page it changes my current Ray ID. What is the…
Kreativ
  • 641
  • 1
  • 5
  • 3
63
votes
12 answers

Firebase Hosting: Needs Setup For Cloudflare DNS

I am trying to set custom domain for my Firebase app. Firebase hosted url : https://inventory-app-726af.firebaseapp.com/ Custom Domain: inv.agsft.com I have followed all instructions as part of setting custom domain but after verification step when…
Pari
  • 1,443
  • 3
  • 19
  • 34
58
votes
5 answers

What are the best practice for domain names (dev, staging, production)?

With the rise of containers, Kuberenetes, 12 Factor etc, it has become easier to replicate an identical environment across dev, staging and production. However, what there appears to be no common standard to domain name conventions. As far as I can…
vpetersson
  • 1,630
  • 2
  • 17
  • 18
56
votes
10 answers

how to disable direct access to a web site by ip address

I have a website on a VPS. The issue I am having is that when I enter the IP of the server, it links to the website. Even when entering mail.domain.com, it does the same thing. How do I disable that, so a visitor would get a message or be directed…
Khaled A
  • 561
  • 1
  • 4
  • 4
51
votes
3 answers

Can one cache and secure a REST API with Cloudflare?

I am designing a RESTful API that is intended to be consumed by a single-page application and a native mobile app. Some calls of this API return public results that can be cached for a certain time. Moreover, there is a need for rate protection to…
flexponsive
  • 6,060
  • 8
  • 26
  • 41
49
votes
7 answers

Is it possible to increase CloudFlare time-out?

Is it possible to increase CloudFlare's time-out? If yes, how? My code takes a while to execute and I wasn't planning on Ajaxifying it the coming days.
the
  • 21,007
  • 11
  • 68
  • 101
44
votes
2 answers

How to make nginx redirect based on the value of a header?

I'm hosting a website behind a Cloudflare proxy, which means that all requests to my server are over port 80, even though Cloudflare handles HTTP (port 80) and HTTPS (port 443) traffic. To distinguish between the two, Cloudflare includes an…
Kevin Burke
  • 61,194
  • 76
  • 188
  • 305
38
votes
4 answers

How Do I Create Sub-Sub-Domain on Cloudflare DNS?

I've let cloudflare manage the DNS of my example.com I have created id.example.com for country's specific customer. I've done it by created cname id with alias example.com I need to create customer portal: my.id.example.com. How?
user4804299
31
votes
7 answers

Cloudflare and nginx: Too many redirects

I'm trying to set up NGINX and cloudflare. I've read about this on Google but nothing solved my problem. My cloudflare is active at the moment. I removed all page rules in cloudflare but before had domain.com and www.domain.com to use HTTPS. I…
Fane
  • 1,978
  • 8
  • 30
  • 58
27
votes
4 answers

Heroku + Cloudflare completely free SSL

Attempting to get completely free SSL on Heroku using Cloudflares new free Universal SSL Read this article: http://mikecoutermarsh.com/adding-ssl-to-heroku-with-cloudflare/ Which seems to suggest its possible now that Cloudflare offers SSL for…
Bill Johnston
  • 1,160
  • 1
  • 14
  • 31
26
votes
5 answers

Getting "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"

I have a Django app which returns a large JSON while calling an API. The problem is when I'm requesting the data, the data itself is truncated which is crashing the frontend. I'm using cloud front for DNS and SSL and other feature provided by them…
Devopsception
  • 397
  • 1
  • 4
  • 10
25
votes
3 answers

Does firebase hosting benefit from CloudFlare?

I was looking at https://material-ui-next.com who seem to be running on firebase hosting and use CloudFlare on top of it. This raised a question. Do firebase hosting websites need additional layers for things like DDoS protection? As as I am aware,…
Ilja
  • 44,142
  • 92
  • 275
  • 498
25
votes
4 answers

cURL - Load a site with CloudFlare protection

I have a site which I want to load using cURL. However, the site I'm talking about is using cloudflare protection. While on cURL request => it says 'checking your browser, you will be redirected in 5 seconds' and I'm getting redirected to the page…
Marcin
  • 994
  • 2
  • 11
  • 26
25
votes
2 answers

How to test CloudFlare without changing your domain's name server

How can you test CloudFlare without changing your domain's name server? I would not want to change my domain's name server and wait hours for propagation only to find out there is a issue with the DNS settings. Can you spoof a nameserver or…
cappuccino
  • 2,175
  • 5
  • 26
  • 48
1
2 3
99 100