Questions tagged [amazon-cloudfront]

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

Official page

398 questions
0
votes
1 answer

NS1 and CloudFront, ALIAS vs CNAME

I have my entire website behind a CloudFront distribution, and I used to have a Route53 zone, where the zone apex record for my website pointed to an ALIAS record for the CloudFront distribution. However, now I'm switching to NS1 as a DNS provider.…
Jeroen Jacobs
  • 1,386
  • 3
  • 16
  • 25
0
votes
2 answers

How do I enable redirection on a domain for an S3-hosted website with CloudFront in front of it?

I'm trying to get redirects to work within a domain name for an S3-hosted static website. That is, if I point mydomain.com/foo, I want it to redirect to mydomain.com; this should basically mirror mydomain.com.s3-website-us-east-1.amazonaws.com/foo…
0
votes
1 answer

redirect non www to www for static website hosting using cloudfront

I have searched almost everywhere on how to redirect with cloudfront. I created an s3 bucket for static website hosting and even used their redirect there BUT because i am not serving whole website via cloudfront, now cloudfront does not follow that…
0
votes
1 answer

How to disable Last-Modified and ETag headers in a static website hosted on S3 + CloudFront?

Background: there are good reasons to want to disable Last-Modified and ETag headers for some website assets: to prevent browsers sending conditional requests (either using If-Modified-Since or If-None-Match, respectively). This is good because…
callum
  • 121
  • 1
  • 6
0
votes
2 answers

Should I use a single SSL certificate for example.com and www.example.com?

I have a website (hosted by Amazon S3) which redirects example.com to www.example.com. I am setting up an Amazon CloudFront distribution for this website, and would like the same redirection to work for HTTPS. I believe I therefore need to secure…
0
votes
1 answer

EC2 with AWS CloudFront?

IN SHORT How do I connect to the nearest EC2 instances using CloudFront to achive geolocation based Content Distribution? I want to do a geo-location based content distribution, so that the end user can reach an edge location geographically nearest…
Mayank
  • 109
  • 1
  • 2
0
votes
2 answers

Passing User-Agent through Cloudfront for Facebook scraper

This question is borderline stackoverflow/serverfault, so don't hold it against me that it's here please :) I have a service hosted on AWS, nginx with node.js behind it. I have a cloudfront distribution setup to serve requests where the origin is…
Amir Zucker
  • 323
  • 1
  • 3
  • 7
0
votes
1 answer

How to edit response header of Amazon s3

http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html According to the above doc, for cloud-front to gzip compress files it receives from origin, the response header from origin(s3) should contain…
0
votes
2 answers

Cloudfront origin direct requests to a parent path

I'm trying to set up mydomain.com/help that should pull content from mydomainhelp.otherdomain.com I was told to use a apache mod_proxy, but I'm not a big fan of that approach. I was wondering if I could achieve this using cloudfront. They let you…
0
votes
1 answer

Stop CloudFront from serving whole website

I've followed a guide to set up CloudFront to use as a CDN on my Wordpress website. It was done using this guide. Everything that WP Super Cache specifies is served by CloudFront however if a user goes to https://cdn.my-domain.com then the whole…
0
votes
1 answer

How to make amazon s3 files fast from anywhere in the planet?

I'm working on a project with user created content, users basically upload long mp3 files to the server which can then be played by other users. Recently users not from europe reported slow "seek time" and "play time", so i'm wondering how could i…
kroe
  • 1,620
  • 1
  • 10
  • 4
0
votes
1 answer

Is possible to change path to server certificate in AWS IAM

I have a problem to use my server certificate in CloudFront of AWS. When I added my server certificate I didn't know that if I'm going to use it in the CloudFront, I needed to add the param --path /cloudfront/. Is it possible change only this…
t321
  • 3
  • 1
0
votes
0 answers

How Do I Mask the CDN Domain with My Own Domain Name?

So i've been trying out cloudfront from AWS. Why is the URL 'example.com' resolving to 'example.com.s3.eu-west-1.amazonaws.com' in the Address Bar? I've tried googling loads of questions with this problem but the fact that i'm not seeing any…
0
votes
3 answers

Getting cloudfront logs into logstash: ERROR: is not a legal argument to this wrapper, cause it doesn't respond to "read"

Logstash version 1.5.0.1 I am trying to use the logstash s3 input plugin to download cloudfront logs and the cloudfront codec plugin to filter the stream. I installed the cloudfront codec with bin/plugin install logstash-codec-cloudfront. I am…
Peter M
  • 973
  • 2
  • 15
  • 27
0
votes
1 answer

Cloudfront: Pulling content from subdomain - serving it on main domain

I'm setting up CloudFront (CF) using third party hosting as the origin. What I want is to have the CF servers act as my own hosting, meaning I don't want to fetch files from the likes of cdn.domain.com, but from my main domain at domain.com. How do…