Read Time

0

min

Read Time

0

min

Performance

Aug 13, 2025

Hosting the Framer site with CloudFront

Introducing how to host a Framer site via Amazon CloudFront, providing detailed guidance on setup and deployment for fast web content delivery. We also explain origin management and connecting custom domains, offering practical information for use.

Framer Logo for Blog Authors

Uploaded by

Profile of Blog Author Song Yebin

Translated by

This blog thumbnail guides you on how to host Framer with CloudFront, explaining the process of setting up a Framer project and creating a distribution on AWS CloudFront.
This blog thumbnail guides you on how to host Framer with CloudFront, explaining the process of setting up a Framer project and creating a distribution on AWS CloudFront.
This blog thumbnail guides you on how to host Framer with CloudFront, explaining the process of setting up a Framer project and creating a distribution on AWS CloudFront.

Contents

Table of Contents

This document aims to alleviate the difficulties domestic users face due to the lack of Korean resources for learning Framer. We've translated content from the official blog into Korean and added practical information. We hope this provides some assistance to those using Framer.

What is CloudFront?

CloudFront is a content delivery network (CDN) offered by Amazon.
Framer uses CloudFront by default to deliver assets. Therefore, typically, no separate CloudFront configuration is necessary, and it only needs to be set up directly when greater control over the hosting environment is needed.

When should it be configured directly?

  • When there is a need to finely control security policies, caching rules, traffic routing, etc.

  • When multiple origins need to be managed in an integrated manner

How to Configure CloudFront

  1. Go to Settings → Domains in your Framer project.

  2. Add a free Framer subdomain to your site (e.g., my-company.framer.website).

CloudFront 설정 방법에 대해 설명합니다.
  1. Next, switch the Canonical URL option to Advanced in the same menu, enter a custom domain (e.g., my-site.com), and publish your website.

Canonical URL 옵션을 고급(Advanced) 으로 변경하고, 사용자 지정 도메인을 입력하는 방법에 대해 설명합니다.

Note: You must use a custom Framer subdomain like my-company.framer.website. Do not use the base domain format <something>.framer.app.

Create AWS CloudFront Distribution

  1. Navigate to CloudFront in the AWS Management Console.

  2. Click Create Distribution.

AWS Management Console에서 Create Distribution을 클릭합니다.
  1. Enter the Framer subdomain in Origin Domain.

    Important: Use my-company.framer.website instead of <something>.framer.app

Origin Domain에 Framer 서브도메인을 입력합니다.
  1. Set the default Cache Behavior as follows:

    • Viewer protocol policy: Redirect HTTP to HTTPS

    • Allowed HTTP methods: GET, HEAD
      (For password-protected sites, GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE)

    • Cache policy: CachingOptimized

    • Origin request policy: AllViewerExceptHostHeader

    • Response headers policy: SecurityHeadersPolicy

기본 캐시 동작(Cache Behavior)을 설정하는 방법을 안내합니다.
  1. After adjusting the options, click Create distribution.

  2. Once deployment is complete, click the link to confirm site access through CloudFront.

옵션을 조정한 뒤 Create distribution를 클릭합니다.

Configuring Multiple Origins

For example, if you want to serve only the /framer-project/ path from the Framer site

URL

Origin

my-site.com

https://my-project.vercel.site

my-site.com/framer-project

https://my-company.framer.website

  1. Select Behaviors → Create Behavior in the existing CloudFront distribution.

  2. Enter /framer-project/* in the Path pattern.

  3. Select the Framer project for the origin of that path.

  4. Apply the same cache, protocol, and header policies as explained earlier.

기존 CloudFront 배포에서 Behaviors → Create Behavior를 선택하는 방법을 설명합니다.
  1. After saving, wait for deployment to complete, allowing two origins to be used in a single CloudFront distribution.

Domain Connection

To add a custom domain to the CloudFront distribution, use the Alternate Domain Name (CNAME) feature.
Note: It is convenient to use Route53 if you want to use an apex domain (mysite.com).


This article is a translated and adapted version of the Framer official blog content ‘Hosting with Amazon CloudFront’.

Share Blog

Share Blog

Become a
Framer Expert

Any expert capable of Framer outsourcing can apply.
We connect experts and clients directly, with no intermediary fees.

Become a
Framer Expert

Any expert capable of Framer outsourcing can apply.
We connect experts and clients directly, with no intermediary fees.

Become a
Framer Expert

If you are an expert available for Framer freelance work,
anyone can apply.
No intermediary fees, we directly connect
experts and clients.