# Is it possible to use multiple CDNs

**URL:** https://meta.discourse.org/t/is-it-possible-to-use-multiple-cdns/34831
**Category:** Self-hosting
**Created:** [2015 年 10 月 23 日午前 8:32 UTC](https://meta.discourse.org/t/is-it-possible-to-use-multiple-cdns/34831 "2015-10-23T08:32:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![11122](https://avatars.discourse-cdn.com/v4/letter/1/6a8cbe/32.png) [@11122](https://meta.discourse.org/u/11122)
#### Post date: [2015 年 10 月 23 日午前 8:32 UTC](https://meta.discourse.org/t/is-it-possible-to-use-multiple-cdns/34831/1 "2015-10-23T08:32:48Z")

</div>

For instance, I use AWS cloud front as my CDN. It works well. But the problem is that cloud front does not work well in China, so I want to know if it is possible to use two CDNs? One for china, one for the rest.

I have found a solution for general sites: use DNSPOD to resolve the request to correspond CDN. But I do not if this works with discourse, since that in app.yml, we have to set DISCOURSE\_CDN\_URL. How this config is used? May I give two values for this config?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015 年 10 月 23 日午前 10:35 UTC](https://meta.discourse.org/t/is-it-possible-to-use-multiple-cdns/34831/2 "2015-10-23T10:35:24Z")

</div>

Two CDNs is not possible at this time.
