# Einrichtung von Discourse mit KeyCDN

**URL:** <https://meta.discourse.org/t/setup-discourse-with-keycdn/35807>\
**Category:** Sysadmins\
**Tags:** cdn, how-to\
**Created:** [19. November 2015 um 19:05 UTC](https://meta.discourse.org/t/setup-discourse-with-keycdn/35807 "2015-11-19T19:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![CodyArsenault](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codyarsenault/32/122092_2.png) [@CodyArsenault](https://meta.discourse.org/u/CodyArsenault)\
**Post date:** [19. November 2015 um 19:05 UTC](https://meta.discourse.org/t/setup-discourse-with-keycdn/35807/1 "2015-11-19T19:05:14Z")

</div>

For those who are using Discourse and are looking to integrate with [KeyCDN](https://www.keycdn.com/), here is a quick step-by-step set up guide.

1. [Login](https://www.keycdn.com/login) or [sign up](https://www.keycdn.com/signup) for a 30 day free trial if you don’t already have a KeyCDN account.

- Create a [Pull Zone](https://www.keycdn.com/support/create-a-pull-zone/) within the KeyCDN dashboard and enter the origin url of your Discourse instance.  

- If you want to use a custom CDN url (e.g `cdn-discourse.yourdomain.com`) you must create a [zonealias](https://www.keycdn.com/support/create-a-zonealias/). Otherwise, you can use the zone url provided by KeyCDN which will look similar to: `http://discourse-1.kxcdn.com`.

- Update your app.yml file by uncommenting the CDN line and adding your custom CDN or zone url:

- Rebuild your Docker container:

- Finally, double check your Page Source to verify that the urls have been modified and reflect the CDN url you have specified in step 4.

---

_[View the full topic](https://meta.discourse.org/t/setup-discourse-with-keycdn/35807)._
