Questions tagged [cdn]

A Content Delivery Network is used to distribute data to end users of an Internet service. It is typically used for large scale distribution, and employs caching and numerous edge locations to speed up and reduce the bandwidth requirements of the process.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

TLS through CDN

I'm trying to understand how TLS is terminated between a client and an origin when a CDN is involved. I think it's pretty straightforward when a client connects directly to an origin, a handshake can ...
4m1r's user avatar
  • 133
0 votes
0 answers
72 views

How to Deploy React App and WordPress on the Same CloudFront Distribution Domain Name with Different Origins and Behaviors?

I'm encountering challenges deploying both a React app and a WordPress site on the same CloudFront Distribution domain name while utilizing different origins and behaviors. Here's my setup: I have a ...
Spiral's user avatar
  • 101
0 votes
0 answers
49 views

CDN routing sometimes sends me to overseas IPs, intermittent

I recently changed ISPs but also swapped out our hardware firewall. Since then I have noticed intermittent CDN issues, seemingly only with Akamai. I got clued into this when numerous sites wouldn't ...
jeremy's user avatar
  • 855
0 votes
1 answer
95 views

iptables string matching feasability; possible use with fail2ban

We have several Apache 2.4 web servers behind a load balancer and CDN front end - where HTTPS is terminated - we see the client IP in headers from the front end in the back end Apache logs. I'm ...
Special Monkey's user avatar
0 votes
0 answers
178 views

ERR_ADDRESS_UNREACHABLE on IPv6

I'm having an issue at some coffee shops that use comcast wifi. These shop only allow ipv6 and it's causing websites to not load with the error ERR_ADDRESS_UNREACHABLE. Some websites work (google.com, ...
DontCallMeLarry's user avatar
0 votes
1 answer
54 views

CDN CNAME resolves as the main host (how to restrict)

I recently created a CDN at StackPath. Everything works well, it serves files via a subdomain I created (cdn.mysite.com), which was created as a CNAME for the main site (CDN being the CNAME). However, ...
vexx's user avatar
  • 11
0 votes
0 answers
152 views

Apache2 with Virtualhosts and Cloudflare are not working

I have a Debian 11 Server with one public IPv4 Address and One Domain. The subdomain mail is defined in a virtual host with a reverse proxy for mailcow. The subdomain mail is also the reverse DNS for ...
M. Loe's user avatar
  • 1
1 vote
0 answers
293 views

Editing Content Security Policy in IIS to allow a CDN script to be loaded

I am currently trying to load an external plugin into an application that is deployed on IIS. I am getting this error: Refused to load the script 'https://cdn.babylonjs.com/loaders/babylon....
Samir Kassem's user avatar
0 votes
0 answers
152 views

Performance for static files (HTML, CSS and JS) of PHP Server - CDN vs NGINX

Without going too much into detail to avoid that this question becomes opinion-based; so talking from a purely technical perspective: When you currently have a PHP-Apache setup, both PHP and Apache ...
DevelJoe's user avatar
  • 187
0 votes
1 answer
620 views

Using Nginx reverse proxy with CloudFront

We have a domain served by CloudFront and now we need to add a reverse proxy using Nginx (unfortunately the reverse proxying capabilities of CloudFront are insufficient for our use case). My question ...
revy's user avatar
  • 101
0 votes
1 answer
471 views

How to set correct Content-Type HTTP header for all files uploaded on S3 bucket?

What is please the correct way to set Content-Type HTTP header for files uploaded on S3 bucket? We use S3 bucket as an origin server for hosting static websites. Bucket is accessed through the ...
STeN's user avatar
  • 1
0 votes
1 answer
98 views

Google Cloud CDN / DNS questions

Does google cloud dns support auto renewing wild cards and also, geographic location responses. How does google CDN map the request to the origin and is there a limit on the number of domains we can ...
Wayne Junior's user avatar
1 vote
0 answers
66 views

Cloudfront Origin Domain Name - should you include www

My nginx server is setup so that all URLs example.com/url are forwarded to www.example.com/url In the cloudfront origin domain when I create the distribution should I enter example.com or www.example....
JoaMika's user avatar
  • 509
0 votes
0 answers
157 views

Direct Server Return software and configuration for mesh network of raspbery pi servers

I don't know much about DSR technology but as I am aware both load balancer and servers need to be behind same router because of virtual IP addresses. I need solution to have cloud-based geo-based ...
Dejan Milosevic's user avatar
1 vote
0 answers
661 views

How do I fix CORS issues in Cloudfront CDN?

I run a WordPress website and recently configured a CDN using CloudFront. Most of the features are working fine, but I'm experiencing CORS issues with JS files I'm loading from Github. I have tried ...
cheonmu's user avatar
  • 35
2 votes
1 answer
457 views

Are HTTP Headers configured by the CDN or by the application?

This is kind of a theoretical question, and I guess it may be too broad or unclear. Foobar is an application serving users across the internet. It relies on a CDN to improve its resiliency, speed, etc ...
SpiceTortilla's user avatar
-1 votes
2 answers
114 views

hiding sensitive information from cdn provider

I have an app that I want to connect to cloudflare for cdn. However, Cloudflare handles the https encryption for me so I'm worried that user passwords may be logged. What are some good practices for ...
zcaudate's user avatar
  • 101
-1 votes
1 answer
219 views

Is it Possible to Bypass CDN to Access Source of Truth?

Developing an application to access information in race-like conditions - at a specifc time. Referring to Akamai. My understanding of CDN is that servers will cache data and may refresh this data ...
David C's user avatar
  • 103
1 vote
1 answer
234 views

Can't access Fastly CDN sites through NAT

My office network nodes access internet via NAT (iptables masquerading) and the gateway server access internet using a Wireguard VPN connection. Everything works OK, but I can't access websites that ...
Mez's user avatar
  • 11
0 votes
1 answer
91 views

Rails 6 - Understanding AWS Pricing for CDN video on demand application

I am working on an Rails 6 application, already on production which is heavily dependent on AWS Services like S3, Lambda, Cloudtrail, SNS and CDN to serve a video-on-demand app, where users can upload ...
Milind's user avatar
  • 101
0 votes
1 answer
778 views

Load balancing on multiple servers

first of all I am very new to the subject and the headline maybe wrong but here is what I would like to achieve: Currently I have web server as origin which all clients connect to but as you can guess ...
Sirwan Shams's user avatar
-1 votes
1 answer
35 views

can I re-add the original namesaver after adding cloudflare namesaver?

I have a webhosting website which will cause failure for clients who try creating sub-domain when I change my nameserver with cloudflare nameserver. I am thinking to re-add my original nameserver ...
Lordson Tome's user avatar
0 votes
0 answers
335 views

iptables: what's the best way to block hackers attacking our site via our CDN IP address

We are using fail2iban on Ubuntu 18 to detect bad login attempts and ban the IP addresses which try too many times. We use iptables for the IP blocking. After using it for a while we noticed that some ...
Foliovision's user avatar
0 votes
0 answers
42 views

Image Storage Options In AWS

In the case of my scenario, The loading issue seems to have been caused by making HTTP requests with no HTTP timeout set to our CDN. The synchronous requests held the page execution for many minutes ...
samtech 2021's user avatar
0 votes
0 answers
81 views

CDN video caching duration

Are there any standards about for how long (days, weeks) do CDNs cache video content? This other answer suggested that it is only for a short period of time (e.g. 1 day) but that information is almost ...
ahron's user avatar
  • 375
1 vote
1 answer
945 views

setting up debian bullseye repository WITHOUT a CDN

i have some debian boxes in a DMZ behind a restrictive firewall. The problem is that those boxes are mostly not able to reach the CDN backed org.debian.org-repositories as the IP of deb.debian.org ...
Chris9834's user avatar
  • 181
1 vote
1 answer
600 views

Rewriting to point to a CDN

I'm hoping to use a CDN to deliver all our image files. We call the images by simply using the CDN's domain instead of our own. I could easily change the domain reference in our content management ...
Al Qbeck's user avatar
1 vote
1 answer
1k views

Redirect url to the CDN storage

I have structure folders on my nginx server: Image URL https://example.com/wp-content/uploads/image.jpg https://example.com/wp-content/uploads/WP-data/data/employees/per-005/9032.jpg I want it ...
An Tran's user avatar
  • 11
0 votes
2 answers
703 views

Google Cloud CDN setup without subdomain?

After creating load balancer and backend service with Internet network endpoint group Can i use mydomain.com in google cdn or I have to use cdn.mydomain.com? Is there any way to use full domain like ...
Parvinder Singh Khalsa's user avatar
3 votes
1 answer
2k views

How to prevent DDOS attack impact on Netlify? (downtime + bandwith usage/cost)

Situation: React app that was initially running on a VPS A few days ago, we were the target of a DDOS attack that took the site down. During the attack, we decided to migrate to Netlify. Once ...
ludovico's user avatar
-2 votes
3 answers
362 views

I live in Australia, how is it that Stack Exchange is so fast without using any CDN?

I had a look at the Stack Exchange Servers: https://meta.stackexchange.com/questions/10369/which-tools-and-technologies-are-used-to-build-the-stack-exchange-network Seems they only have two data ...
user1034912's user avatar
  • 1,364
0 votes
1 answer
330 views

Will using reverse proxy negate the effect of CDN?

Goal: Serve a specific sub directory of a domain from a different CDN (cloudfront in our case). We are thinking of utilizing Nginx as a reverse proxy to achieve this. For example, the following ...
Suresh's user avatar
  • 101
0 votes
2 answers
461 views

Can CDN caching prevent DoS attacks?

Let's say I use Cloudflare to cache my images, CSS, and JS files. Requests for the HTML content itself still hit my server and an attacker could use that to his advantage. However, if I tell ...
dodov's user avatar
  • 151
0 votes
0 answers
393 views

Do CNAME mapping of my subdomain to Sendgrid for link branding using Amazon Cloudfront CDN

I want to have link branding with SSL on my domain example.com, so I created sub-domain abc.example.com, I want this abc.example.com to CNAME to sendgrid.net. I have done CNAME mapping but it seems ...
Shivam Sharma's user avatar
0 votes
2 answers
4k views

Are we still limited by TCP Window Size when we want to fully utilize bandwidth from far away servers? [closed]

According to this website, as soon as round-trip time is increased, we lose a bit of our real-time capacity throughput to distant servers using default TCP Window size of 64KB. My network bandwidth is ...
Matuji's user avatar
  • 1
2 votes
2 answers
317 views

How to get multiple DNS Geo balancing entry points

I am facing a problem. I will set up a CDN with multiple dedicated servers in multiple zones (Asia, US, Eu), and I will set up an entry point with Nginx proxy with geoip routing. But with this ...
balioxerta's user avatar
0 votes
0 answers
339 views

Can we use Indian Server as CDN for German Server?

My client is using Hetzner Cloud Hosting. But his most of the users are from India. So in order to improve the speed we are planning to use $5 Digital Ocean droplet (Indian Data Center) as Proxy with ...
Future King's user avatar
1 vote
1 answer
720 views

CloudFront "Compress Objects Automatically" and REST API

I have a cloudfront distribution in front of a REST API server. Just for now, I need to disable cache, so I'm using the Managed-CachingDisabled policy. I can't get any responses to return as gzipped. ...
rynop's user avatar
  • 239
0 votes
1 answer
122 views

Universal bucket in Google Cloud Platform for content, which would determine the user's location and serve content from the closest server?

I am a mobile application developer. I use Google Cloud bucket to store 10-second videos and photos that I use in the application. Thousands of users use the application every day, and I want to use a ...
Arsen Ibragimov's user avatar
2 votes
1 answer
3k views

AWS Cloud Front, how to request origin using correct url

I'm trying to cache a website that is on an EC2, it has an URL uncached.xyz.com, so i created an Cloud Front with the origin pointed to uncached.xyz.com and created a record xyz.com that points to the ...
Ollegn's user avatar
  • 73
0 votes
1 answer
802 views

Track outgoing bandwidth usage of single IIS website on my VPS

I want to track OUTGOING bandwidth consumption from a single website in IIS to my site visitors (no internal traffic), e.g. CSS, images, HTML. The reason is that I want to know which package would be ...
Adam's user avatar
  • 287
1 vote
1 answer
389 views

Does Azure CDN support stale-while-revalidate caching?

Does Azure CDN support the stale-while-revalidate and stale-while-error (and immutable, out of curiosity) directives of the Cache-Control HTTP header? These directives are not standardised and both ...
Blieque's user avatar
  • 131
0 votes
3 answers
3k views

How to use Cloudflare's CDN while we can not change nameservers on WIX

We have a website on WIX (www.example.com). The domain name and name servers are all on WIX. Using the same domain name we have another website (buy.example.com) which is NOT on WIX. The "A ...
Ray Yen's user avatar
  • 43
1 vote
1 answer
45 views

AWS ACL getting real ip behind third party CDN

We're using third parties CDN WAF from 3 suppliers. I would like to add another layer of protection to the ELB in AWS. How can i make sure the AWS ACLs is getting the real user IP instead of taking ...
Christine Ong's user avatar
0 votes
1 answer
175 views

CDN - SSL and a Wildcard Certificate

My organization has a wildcard certificate for our domain and its subdomains. Lets say *.serverfault.com. We want to use a 3rd party webhost to serve as a CDN for our image content, but we want to ...
K0D4's user avatar
  • 123
1 vote
1 answer
374 views

How to set up Google Cloud CDN?

Sorry for my bad english, i translate from russian. I can't figure out how to set up Cloud CDN. To use it I should set up the Load Balancer. I have an external server with web pages. I set up strictly ...
Александр Грибанов's user avatar
0 votes
1 answer
192 views

Does CDN defeat the purpose of server-level GeoIP blocking?

Looking for second opinions. Suppose a website is set up so that only IPs from country X are allowed read/write access. This server goes through a CDN such as Cloudflare. Because the GeoIP block is at ...
cvlo's user avatar
  • 1
1 vote
0 answers
213 views

different behaviour per filename and backend routing in NGINX

It's few days i'm bouncing my head on this problem but i cannot find a "elegant" solution. I would like to use a NGINX server as streaming origin for some live channel to be distributed ...
Alex Molon's user avatar
2 votes
1 answer
154 views

Could Cloudflare slow down writing process to database?

I have two identical WordPress sites - live and staging - both sitting in the same EC2 server. The live is using Cloudflare, the staging is not. I noticed that database writing processes are slower in ...
cilapo1541's user avatar
3 votes
0 answers
467 views

Optimizing IIS for serving static content over TLS

I am trying to fine tune an IIS 10 web server for the sole purpose of serving static files. I've disabled session state, disabled managed code, added all necessary public cache control headers with ...
Yousef Salimpour's user avatar

1
2 3 4 5
7