# How Exactly should I add cloudflare CDN to discourse?

**URL:** <https://meta.discourse.org/t/how-exactly-should-i-add-cloudflare-cdn-to-discourse/55706>\
**Category:** Self-hosting\
**Tags:** cdn\
**Created:** [13 januari 2017 om 15:32 UTC](https://meta.discourse.org/t/how-exactly-should-i-add-cloudflare-cdn-to-discourse/55706 "2017-01-13T15:32:51Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Nam\_Nguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nam_nguyen/32/68634_2.png) [@Nam\_Nguyen](https://meta.discourse.org/u/Nam_Nguyen)\
**Post date:** [13 januari 2017 om 17:04 UTC](https://meta.discourse.org/t/how-exactly-should-i-add-cloudflare-cdn-to-discourse/55706/6 "2017-01-13T17:04:54Z")

</div>

Hi,

I think you Add Your Domain to Cloudflare first

you can follow this

[https://support.cloudflare.com/hc/en-us/articles/201720164-Step-2-Create-a-CloudFlare-account-and-add-a-website](https://support.cloudflare.com/hc/en-us/articles/201720164-Step-2-Create-a-CloudFlare-account-and-add-a-website)

Then Connect Cloudflare to Your Cloud Server

Add

Type A ;Name @ ; Value your Server IP4

Type A ; Name www ; Value your server IP4

and similar to IP6 (optional)

If you use subdomain, watch again this 😃

> [@Nam\_Nguyen](#):
>
> [https://www.youtube.com/watch?v=iWaFAIRWsA4](https://www.youtube.com/watch?v=iWaFAIRWsA4)

I hope it useful,

about Txt, MX, Cname, I use for Email

---

_[View the full topic](https://meta.discourse.org/t/how-exactly-should-i-add-cloudflare-cdn-to-discourse/55706)._
