---
title: "Fastly"
url: "https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/fastly/"
markdown_url: "https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/fastly.md"
type: "Docs"
language: "en-US"
date_published: "2026-11-08T11:04:36+00:00"
date_modified: "2026-11-09T17:04:48+00:00"
---

# Fastly

> Fastly changes its dashboard from time to time. If a screen looks different, follow [Fastly’s Amazon S3 guide](https://www.fastly.com/documentation/guides/integrations/non-fastly-services/amazon-s3/).

## Create the service

1. In Fastly, create a CDN service and add your domain, such as `media.example.com`.
2. Add a **host** (origin) with your bucket’s address, such as `my-bucket.s3.us-east-1.amazonaws.com`, with TLS on.
3. Set **Override host** on that origin to the same bucket address. Storage providers use it to find your bucket. See [Specifying an override host](https://www.fastly.com/documentation/guides/full-site-delivery/domains-and-origins/specifying-an-override-host/).
4. Activate the service, then create the CNAME DNS record Fastly gives you for your domain.

**Private bucket?** Fastly’s guide signs requests with a snippet instead. It says to leave **Override host** blank in that case, because an override can invalidate the signature.

## Connect it to Media Cloud Sync

1. Go to **Media Cloud Sync → Settings** and click **Change** on the **Delivery** card.
2. Choose **Fastly**.
3. Enter your domain under **Use Custom Domain Name (CNAME)**, and click **Save**.
4. Click **Recheck** on the **Delivery** card. It should say **Objects are accessible to Read**.

## Good to know

- Your domain must point to the **root of the bucket**, so `/wp-content/uploads/2026/10/photo.jpg` on the CDN is that key in the bucket.
- [Cache-Control Duration](https://dudlewebs.com/guideline/media-cloud-sync/settings/delivery-settings-and-cdn/#cache-control-duration-pro) `PRO` sets how long the CDN and browsers keep files.
- CDN Cache Purge and Private Media `PRO` don’t support this CDN. Purge in its own dashboard, or turn on **Object versioning** so new uploads get new URLs.
- Need your bucket address? See [Which origin address to use](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/other-cdns-and-custom-domains/#which-origin-address-to-use).

## Related

- [Delivery Settings and CDN](https://dudlewebs.com/guideline/media-cloud-sync/settings/delivery-settings-and-cdn/)
- [Other CDNs](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/other-cdns-and-custom-domains/)

[← Previous Cloudflare](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/cloudflare/) [Next → Akamai](https://dudlewebs.com/guideline/media-cloud-sync/cdn-setup/akamai/)

Still need help?

[Chat with us Quick questions, answered live](https://dudlewebs.com/contact/) [Contact us Sales, partnerships or anything else](https://dudlewebs.com/contact/) [Create a ticket Technical issues with your site](https://dudlewebs.com/submit-ticket/)
