# Could the s3 cdn url address be the same as DISCOURSE\_CDN\_URL

**URL:** https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300
**Category:** Support
**Created:** [March 14, 2020, 8:10am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300 "2020-03-14T08:10:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [March 14, 2020, 8:10am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/1 "2020-03-14T08:10:11Z")

</div>

I’m not sure if I should set the same address in setting up for the pictures or create a new one ?

for example [cdn.example.com](http://cdn.example.com) in app.yml and also [cdn.example.com](http://cdn.example.com) as s3 cdn adress in settings ?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 14, 2020, 9:55am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/2 "2020-03-14T09:55:17Z")

</div>

They are different. One gets data from your S3 bucket. One gets data from you discourse server.

---

<div class="post-metadata">

### Author: ![eextra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eextra/32/170266_2.png) [@eextra](https://meta.discourse.org/u/eextra)
#### Post date: [March 14, 2020, 10:33am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/3 "2020-03-14T10:33:55Z")

</div>

but I’m still not sure. Am I supposed to create a new distribution for S3 bucket in this way ?

 ![Screenshot from 2020-03-14 11-31-30](https://global.discourse-cdn.com/meta/original/3X/6/0/60403a82ceda5c734d8d3dbd7ad3508cae889112.png)  
 ![Screenshot from 2020-03-14 11-32-14](https://global.discourse-cdn.com/meta/original/3X/1/2/12ec40a907c778afe2d9afd1f09dbb8fa1424f07.png)

---

<div class="post-metadata">

### Author: ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)
#### Post date: [March 15, 2020, 8:43am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/4 "2020-03-15T08:43:33Z")

</div>

Have a read of this [Defining DISCOURSE\_S3\_CDN\_URL links to assets in S3 CDN URL](https://meta.discourse.org/t/defining-discourse-s3-cdn-url-links-to-assets-in-s3-cdn-url/116798)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 10, 2024, 7:36am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/5 "2024-03-10T07:36:35Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 10, 2024, 10:37am UTC](https://meta.discourse.org/t/could-the-s3-cdn-url-address-be-the-same-as-discourse-cdn-url/144300/6 "2024-03-10T10:37:22Z")

</div>


