# Getting the DKIM to work with Cloudflare

**URL:** <https://meta.discourse.org/t/getting-the-dkim-to-work-with-cloudflare/72752>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [October 25, 2017, 11:35am UTC](https://meta.discourse.org/t/getting-the-dkim-to-work-with-cloudflare/72752 "2017-10-25T11:35:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rohitink](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rohitink/32/81101_2.png) [@rohitink](https://meta.discourse.org/u/rohitink)\
**Post date:** [October 25, 2017, 11:35am UTC](https://meta.discourse.org/t/getting-the-dkim-to-work-with-cloudflare/72752/1 "2017-10-25T11:35:54Z")

</div>

Hello,

I have successfully installed Discourse.

My Primary site is hosted on a cPanel VPS somewhere else.  
While my [forum.mysite.com](http://forum.mysite.com) is hosted on a Linode Cloud VPS.  
And my DNS is managed by CloudFlare.

I have successfully configured the DMARC & SPF. But I don’t know how to get the public key to add in DKIM txt record. Where do I get this public key from?

Thanks.

---

_[View the full topic](https://meta.discourse.org/t/getting-the-dkim-to-work-with-cloudflare/72752)._
