4 votes
Accepted

SEO impact of hosting static HTML on Amazon S3 vs. webserver

You may be misunderstanding the concept, here. Files on S3 cannot be modified, but they can be overwritten, and overwriting a file does not require deleting the old file, first. You simply upload a ...
Michael - sqlbot's user avatar
4 votes
Accepted

PHP doesn't work on Amazon AWS S3 for email contact form

S3 web site hosting is strictly for static content. Nothing stored in S3 is executable by S3, such as PHP scripts. This is by design, and not a configuration issue with your site. You can host a ...
Michael - sqlbot's user avatar
4 votes
Accepted

IllegalLocationConstraintException on CloudFront (with S3)

My issue was because my CloudFront origin was not in us-east, and when you auto-select your bucket's origin in CloudFront, it doesn't add the location prefix to the url. So make sure you add your s3 ...
senty's user avatar
  • 171
3 votes

Avoiding SSL certificate errors with Amazon S3 subdomain

Rename to static-example-com.s3.amazonaws.com - this would work with the out of the box wildcard cert they supply. Take a look at what AWS recommends here. Also, Id read through the answer here It ...
conorb's user avatar
  • 206
3 votes
Accepted

What is the most intelligent way to store tiny SVG images in S3 Bucket for a single web page consumption?

I ended up creating a composite SVG Sprite which plays well with CSS and other style post-processors. Size is very small and eliminates the overhead for more than one single HTTP request per page.
Daniel Martinez's user avatar
3 votes
Accepted

AWS Elastic Beanstalk - Wordpress keeps resetting plugins and themes

Amazon has instructions for deploying WordPress on Elastic Beanstalk. The part that will prevent your problem is the section "Enable WordPress to Store Assets in Amazon S3". You have to install ...
Stephen Ostermiller's user avatar
3 votes
Accepted

ERR_TIMED_OUT when accessing S3 bucket by a custom domain that uses Route53

It turned out that HSTS headers were being served by the previous hosting. HSTS set all HTTP requests to example.ca to be internally redirected to HTTPS before being sent. Because custom domain ...
Maximillian Laumeister's user avatar
2 votes
Accepted

Clients domain does not load in china, instead another site loads

I have just checked with several DNS lookup tools that the address is not tampered with in China. I have even loaded the website using a Chinese proxy. Again, all is normal. I suspect that the client ...
Zdenek's user avatar
  • 256
2 votes

Tell wordpress to save and organize images into folders?

Yes, it is possible. Yes, it is a good idea (for all sorts of reasons, from simplifying management to SEO). There's a load of plugins designed to do just that. Just search for "wordpress media ...
GeoffAtkins's user avatar
  • 2,279
2 votes
Accepted

How to setup MX records for a static AWS S3 websites

Patrick's comment is correct: A CNAME entry at the apex of the domain is not allowed. Some DNS systems let you put one there anyway. For web sites, this mostly seems to work, but it breaks mail. ...
Stephen Ostermiller's user avatar
2 votes
Accepted

Facebook share not picking up Open Graph tags from s3 static hosting

So I figured out what was the issue. Not sure why that is the issue though... When I uploaded the HTML file through S3 SDK, I thought that Content-Type was a mandatory field. So I tried various types(...
milez770's user avatar
1 vote

Hosting static aboutus page on S3 bucket and linking to godaddy

It is not possible to use DNS to point different pages on the same host name at different servers. All the documents on www.example.com have to be served from the same server. DNS can only point ...
Stephen Ostermiller's user avatar
1 vote

How do I use Amazon s3 to host audio files linked from my website?

There is no need to have your website hosted on Amazon. You can use S3 to store your audio files and then use the public links such as https://s3.amazonaws.com/bucketname/audiofilename inside your ...
Emirodgar's user avatar
  • 3,817
1 vote

Amazon s3 error 500 when instantiating S3Client

Try to put use Aws\S3\S3Client; use Aws\S3\Exception\S3Exception; Just after the require statement and at the top before any other PHP code.
Miraj's user avatar
  • 11
1 vote

Should we use Amazon CloudFront? (We need mitigate cost attacks)

A user or bots downloading the same file again and again is not a DOS attack. Cloudflare provides unmetered DOS attacks: Cloudflare’s unmetered mitigation of DDoS stops illegitimate volumetric ...
Simon Hayter's user avatar
1 vote

How to use AWS S3 Route 53 with Gmail business domain?

Step 1: In the AWS Route 53 console, get the name of the four name servers they provide, you will need these for step two. Step 2: Log in to the website of the Registrar from whom you bought your ...
Tom Brossman's user avatar
  • 2,291
1 vote

Uploading images for Wordpress in AWS Elastic Beanstalk application

The easiest way to do this is to download the application add your photos on the correct directory and upload and deploy 1. First, download the latest version zip file Elastic Beanstalk Beanstalk - ...
gabehou's user avatar
  • 552
1 vote

How to debug a non working https setup that uses Amazon S3, route53, Cloudfront?

You unfortunately do not provide the name involved so people can not really troubleshoot things except by throwing guesses. Here is my generic (not exhaustive and not all possible corner cases) quick ...
Patrick Mevzek's user avatar
1 vote

What is the 'right way' to serve static content from my AWS S3 bucket on my ElasticBeanstalk deployment?

I initially tried mod_rewrite in my .htaccess ... You could perhaps use mod_rewrite together with mod_proxy to create a reverse proxy to your CDN. This has the advantage of hiding the location of ...
MrWhite's user avatar
  • 42.8k
1 vote

SEO failure: AmazonS3 + AngularJS + Many pages not being crawled or indexed

It seems you have a lot going on. Your robots.txt needs to be looked at. I will leave it at that. Then... Your text sitemap needs to be html for the site and xml for the search engine, not plain ...
norcal johnny's user avatar
1 vote
Accepted

Double redirect - implications on performance and cost

Double redirects are less efficient: The browser makes a GET request for each Each hostname (or subdomain) requires a separated DNS lookup. In your chain you will have: 3 GET requests Two DNS ...
Stephen Ostermiller's user avatar
1 vote
Accepted

Wordpress Reverse Proxy with Cloudfront and S3

Easy enough. CloudFront supports multiple origin servers, and uses path patterns to determine which origin server to forward the requests to... so multiple, independent backend systems, even ...
Michael - sqlbot's user avatar
1 vote

Allowing Google to index images on s3

Allow: * should actually be be Allow: /. That could be the issue... because, really, using Allow: is somewhat meaningless by itself -- its purpose is for allowing a sub-path within a denied path. As ...
Michael - sqlbot's user avatar
1 vote
Accepted

CNAME to S3 returns the S3 URL

Figured it out - in have two buckets in S3 - mydomain.com and www.mydomain.com. mydomain.com is where the site is, and I set www.mydomain.com to redirect to mydomain.com.s3-website-ap-southeast1....
Conrad's user avatar
  • 31
1 vote

CNAME to S3 returns the S3 URL

The reason you see a 301 in your curl is because www.mydomain.com redirects to mydomain.com from the S3 endpoint for www.mydomain.com. This is a common configuration when using S3 for your static ...
NobleNerd's user avatar
1 vote

Amazon S3 data usage and request counter

(Answer By @Frank) You can enabble logging on the bucket and then use the API to figure out what is going on. You can also access your live usage figures in your AWS Account Console. http://docs.aws....
1 vote

What's the difference between Amazon's EC2 and S3 services?

Amazon S3 offer storage service. where you can read, write and access your data via REST/SOAP from Cloud. EC2 offers renting of virtual computers(like how we use our vmware,xenservers), you can ...
Navin's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible