Skip to main content

Setup Cloudfront

Create Cloudfront distribution.

Distribution Settings


Set Custom SSL, using the SSL certificate you created.


For non-SSL

Only set CNAME as will be handled by your bucket for redirection.

Origin Settings

Put in the S3 URL given when you created S3 bucket, DO NOT USE AUTOCOMPLETE.

Behavior Settings

Set "Redirect HTTP to HTTPS" and "Compress objects automatically" option.

Setup DNS Records

Copy domain name from Cloudfront, it is the 3rd column in the table on the index page.

It should look something like

In Route 53

Go to your zone and create the following records:


Non-SSL notes

If you are not using SSL, you should point the www domain directly to your S3 bucket to handle redirection.