Home > Programming, Servers & Scripts > Hosting, Servers & Security

Question about Cloudfront - what is 2xx, 3xx, and 4xx? (3)


03-05-2016 01:22 PM #1 niinpatel (Member)
Question about Cloudfront - what is 2xx, 3xx, and 4xx?

Hey all,

I am currently hosting my landing pages on Amazon S3 and Cloudfront using this tutorial - http://stmforum.com/forum/showthread...-Cost-Way-Ever

I have sent traffic to my landing pages and I noticed that in that around 50% of visitors are getting error. Here's the screenshots-

Click image for larger version. 

Name:	2XX 3XX 4XX.png 
Views:	56 
Size:	73.1 KB 
ID:	10223

Click image for larger version. 

Name:	ERRORS ON CDN.png 
Views:	36 
Size:	58.2 KB 
ID:	10224

I don't know what exactly is this "error". Can someone explain what these stats mean?


03-06-2016 05:34 AM #2 zeno (Administrator)

Google is your friend - https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

2xx = success

3xx = redirection (file requested > redirected to another file). This is generally a success.

4xx = failure on client end, e.g. they could not find the file requested, the server denied them access, etc.

5xx = something happening on the server side e.g. server config is boned, connectivity issues, etc.

Most of your errors are 4xx, which means you probably have links/paths somewhere in pages or URLs you are using that are wrong. Check your links. Open your browsers web console and look for errors. If every page has a blah.css file it is trying to retrieve and it doesn't exist, you'll be making a 404 error every single time someone loads the page.


03-06-2016 06:37 AM #3 archieaff (Member)

Wild guess - all your 4xx errors are hits to a non-existing favicon.ico.


Home > Programming, Servers & Scripts > Hosting, Servers & Security