{"id":3846,"date":"2023-11-23T09:54:26","date_gmt":"2023-11-23T01:54:26","guid":{"rendered":"https:\/\/www.servergigabit.com\/guide\/?post_type=kb&#038;p=3846"},"modified":"2026-03-16T10:46:36","modified_gmt":"2026-03-16T02:46:36","slug":"domainkeys-and-dkim-setup-cpanel","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/domainkeys-and-dkim-setup-cpanel","title":{"rendered":"DomainKeys and DKIM: 6 Steps to Secure Your Emails"},"content":{"rendered":"<div class=\"markdown markdown-main-panel\" dir=\"ltr\">\n<p data-sourcepos=\"5:1-5:16\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-3851\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-300x169.jpeg\" alt=\"DomainKeys and DKIM\" width=\"667\" height=\"376\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-300x169.jpeg 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-1024x576.jpeg 1024w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-768x432.jpeg 768w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-1536x864.jpeg 1536w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-2048x1152.jpeg 2048w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-370x208.jpeg 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-1230x692.jpeg 1230w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-800x450.jpeg 800w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/21-390x219.jpeg 390w\" sizes=\"(max-width: 667px) 100vw, 667px\" \/><\/p>\n<p data-sourcepos=\"7:1-7:43\">In today&#8217;s world of email, it is important to protect your reputation and prevent others from manipulating or faking your emails. DomainKeys and DKIM are two technologies that can help you do this. This tutorial will show you how to activate DomainKeys and DKIM in cPanel and Plesk.<\/p>\n<h2 data-sourcepos=\"9:1-9:32\"><strong>DomainKeys in cPanel<\/strong><\/h2>\n<ol>\n<li>Log in to your cPanel account.<\/li>\n<li>Search for &#8220;Email Deliverability&#8221; in the search bar.<\/li>\n<li>Click on the &#8220;Manage&#8221; button in the line of the required sending domain.<br \/>\n<img decoding=\"async\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2016\/06\/dkim1-1-300x275.png\" \/><\/li>\n<li>If your system does not control the DNS server, you will need to manually transfer the record to the DNS zone on the responsible DNS server for your domain.<\/li>\n<li><span class=\"citation-0 citation-end-0 animating\">Log in to the web interface of your domain registrar and add a TXT record for the subdomain &#8220;default._domainkey.yourdomain.com&#8221;.<\/span><\/li>\n<\/ol>\n<p><em><span class=\"citation-1 citation-end-1 animating\">The data part of the record has to be filled with the character string you see next to &#8220;Value&#8221; in cPanel. It begins with: &#8220;v=DKIM1\u2026&#8221;.<\/span><\/em><\/p>\n<ol>\n<li><span class=\"animating\">If you are using <\/span><span class=\"citation-2 citation-end-2 animating\">Server Gigabit name servers for your domain, please log into the Customer Control Panel, navigate to: DNS Zone Management and edit your domain.<\/span><\/li>\n<li>Fill in the fields below &#8220;create a new entry&#8221; like in the following example:<\/li>\n<li class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">Type: TXT\r\nName: default._domainkey.yourdomain.com\r\nValue: v=DKIM1; p=...\r\n<\/code><\/pre>\n<\/li>\n<li><span class=\"citation-3 citation-end-3 animating\">Reload the tool &#8220;Email Deliverability&#8221; in cPanel and click on &#8220;Manage&#8221; next to your domain again. The following should be shown:<\/span><\/li>\n<li class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">DKIM: Valid\r\n<\/code><\/pre>\n<\/li>\n<li>If there is still an error shown, you should recheck all the points so far.<\/li>\n<\/ol>\n<h2 data-sourcepos=\"34:1-34:23\"><strong>DomainKeys in Plesk<\/strong><\/h2>\n<ol>\n<li>Search in the search bar for: &#8220;Mail Server settings&#8221; and open the tool.<\/li>\n<li>At the point : &#8220;DomainKeys spam protection&#8221;, please check the Box &#8220;Allow signing outgoing mail&#8221;.<\/li>\n<li><span class=\"citation-4 citation-end-4 animating\">Change to the &#8220;Mail Settings&#8221; of your domain and activate &#8220;Use DomainKeys spam protection system to sign outgoing email messages&#8221; there, like in the following screenshot:<br \/>\n<img decoding=\"async\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2016\/05\/newnewnew-300x170.jpg\" alt=\"newnewnew\" \/><br \/>\n<\/span><\/li>\n<li data-sourcepos=\"44:4-44:152\"><span class=\"citation-5 citation-end-5 animating\">Open the &#8220;DNS Settings&#8221; for the affected Domain. An additional TXT entry for the subdomain: &#8220;default._domainkey.yourdomain.com&#8221; should have appeared.<\/span><\/li>\n<\/ol>\n<p><em>If it is missing, repeat all the steps so far, but firstly delete the tick at &#8220;Allow signing outgoing mail&#8221; in the Mail Server Settings and set it again after saving.<\/em><\/p>\n<p><em>If you are using your Plesk as nameserver, the configuration should be finished now.<\/em><\/p>\n<p><em><span class=\"citation-7 citation-end-7 animating\">If you are using other nameservers for your domain, for example the ones provided by <span class=\"citation-2 citation-end-2 animating\">Server Gigabit<\/span>, you have to copy the data part completely and add an identical record in the zone there.<\/span><\/em><\/p>\n<ol>\n<li data-sourcepos=\"52:4-52:118\">To do so, please log into the Customer Control Panel of <span class=\"citation-2 citation-end-2 animating\">Server Gigabit<\/span>, go to the DNS Zone Management and edit the Domain.<\/li>\n<li data-sourcepos=\"54:4-54:151\"><span class=\"citation-8 citation-end-8 animating\">Please add, like in the following example, a TXT record for the subdomain &#8220;default._domainkey.yourdomain.com&#8221; with the data part generated by Plesk.<\/span><\/li>\n<li class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">Type: TXT\r\nName: default._domainkey.yourdomain.com\r\nValue: v=DKIM1; p=...\r\n<\/code><\/pre>\n<\/li>\n<li data-sourcepos=\"62:5-62:150\"><span class=\"citation-9 citation-end-9 animating\">As you can see in the picture, a second record has to be added. This one defines the policy, that every e-mail has to have a DomainKeys signature.<\/span><\/li>\n<li data-sourcepos=\"64:5-64:84\">Please add the subdomain &#8220;_domainkes.yourdomain.com&#8221; with the TXT record: &#8220;o=-&#8220;.<\/li>\n<li data-sourcepos=\"66:5-66:75\">With this last step, the configuration of DomainKeys has been finished.<\/li>\n<\/ol>\n<h2 data-sourcepos=\"68:1-68:35\"><strong>How to test DomainKeys and DKIM<\/strong><\/h2>\n<ol>\n<li data-sourcepos=\"70:1-70:75\">A good way to test a DKIM or DomainKey configuration, is the <a href=\"http:\/\/dkimvalidator.com\/\" rel=\"nofollow noopener\" target=\"_blank\">DKIMValidator<\/a>.<\/li>\n<li>After opening the site, you can see a randomly generated e-mail address.<\/li>\n<li><span class=\"citation-10 citation-end-10 animating\">Please write an e-mail from your server to this address and, after a few seconds of waiting, open the analysis report with the button &#8220;view results&#8221;.<\/span><\/li>\n<li>With Strg + F, you can search the site, which gives you a lot information.<\/li>\n<li>To check if DomainKeys and DKIM are working, search for: &#8220;result =&#8221;.<\/li>\n<li>If it reads &#8220;pass&#8221;, everything is working fine.<\/li>\n<li>If there is a &#8220;fail&#8221; you should start a search for the cause.<\/li>\n<\/ol>\n<h2 data-sourcepos=\"79:1-79:14\"><strong>Conclusion<\/strong><\/h2>\n<p data-sourcepos=\"81:1-81:38\">DomainKeys and DKIM are two important email authentication protocols that can help to protect your email reputation and prevent others from sending emails under your domain name. By following the steps in this tutorial, you can activate these protocols in cPanel and Plesk.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s world of email, it is important to protect your reputation and prevent others from manipulating or faking your emails. DomainKeys and DKIM are two technologies that can help you do this. This tutorial will show you how to activate DomainKeys and DKIM in cPanel and Plesk. DomainKeys in cPanel Log in to your cPanel account. Search for &#8220;Email&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[1099],"kbtag":[1147,1146],"class_list":["post-3846","kb","type-kb","status-publish","hentry","kbtopic-tutorials","kbtag-dkim","kbtag-domainkeys"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=3846"}],"version-history":[{"count":5,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3846\/revisions"}],"predecessor-version":[{"id":6280,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3846\/revisions\/6280"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=3846"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=3846"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=3846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}