Questions tagged [amazon-cloudfront]
The amazon-cloudfront tag has no summary.
60 questions
0 votes
1 answer
70 views
Correct way to select CloudFront IPv4 address for A name record in Route 53
In follow up to this question: Route 53 configuration for root level domain — I set up an A record in Amazon Route 53 that points the root-level domain (example.com) to one of the IPv4 addresses used ...
2 votes
1 answer
44 views
How to configure DNS for full site CDN with separate domains per each language?
I have website example.com. I want to serve it via Cloudfront CDN. It's a multilingual site with separate domains for each language version. The languages apply to only one predefined subdomain or ...
0 votes
0 answers
69 views
Will replacement of CloudFlare by CloudFront make my AWS site faster?
Time to retrieval of the first byte of my image as a document from an Apache server at AWS (us-east-1) through CloudFlare in an attempt was about 1000 ms. This is unacceptably slow. curl -o/dev/null ...
1 vote
0 answers
85 views
WordPress Website & AWS CloudFront Integration: Not accepting credentials from one account, but accepting from another
I am trying to implement CloudFront CDN on my WordPress website. I am using "AWS for WordPress" plugin as recommended in the official AWS documentation here: https://aws.amazon.com/blogs/...
1 vote
1 answer
2k views
Cloudfront all pages not loading/ static website
I am loading a website with S3 and using Cloudfront for a CDN. S3 website has public access and all pages load (verified by loading through s3 endpoint). However when I load the website somaloans.com, ...
2 votes
1 answer
34 views
Vendor lock-in when trying to migrate an EC2 wordpress website that serves via cloudfront and stores on an S3 bucket
I was wondering if I have a wordpress website on EC2 instance and it is saving everything on an S3 bucket and serves via cloudfront.. If I want to move my website one day to some other hosting, will I ...
2 votes
1 answer
1k views
CloudFront -- Always a Miss
We are using CloudFront as a CDN. The majority of our objects are caching correctly. For example, https://static-d8.raystedman.org/theme/css/font-lato.css This returns a Hit from CloudFront as you ...
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 ...
3 votes
1 answer
706 views
Change the ID or URL of the Cloudfront Distribution to a Meaningful Name?
In Amazon Cloudfront, the ID and the URL generated by the system look like a password, for example, DRGAT6N3K9NAP, it is too difficult to distinguish them if there are multiple distributions. It is ...
6 votes
1 answer
2k views
CloudFront is 301 redirecting all my internal links
I do not know why, but all my internal links are 301 redirects. It is kind of absurd; each single internal link is being redirected to the same resource but as a relative URI. Example: coinsocialmedia....
4 votes
1 answer
5k views
Use IP address as the Origin when Creating a Cloudfront Distribution?
I am setting up a Cloudfront Distribution. In this article https://aws.amazon.com/blogs/startups/how-to-accelerate-your-wordpress-site-with-amazon-cloudfront/, it said "you can simply type the ...
2 votes
0 answers
119 views
Add "Host" to "Cache key settings" will cause "NoSuchBucket" error
I encounter a problem. When I edit the cache policy by going to "Cache key settings" -> "Headers - Include the following headers" and add "Host" to the list, then when ...
6 votes
1 answer
4k views
Cannot add "Host" header in Cloudfront
I am trying to add the "Host" header as a custom header when creating an Amazon Cloudfront Distribution. However, I always get the error "The parameter HeaderName : Host is not allowed&...
1 vote
1 answer
2k views
CNAME works for nslookup but not curl
I have created two CNAMEs for my (CloudFront) domains, like this: nslookup works, giving me the correct values for both www and d-test — but when I actually get the data, using curl or a browser, all ...
1 vote
0 answers
109 views
Soft 404 error in Google Search Console for a new PHP based website using AWS CloudFront
I created a new PHP based website. I enabled AWS CloudFront on top of it. When I am doing a URL Inspection on it using Google Console, I am getting a soft 404 error. It's reporting: URL is not ...