{"id":1162,"date":"2010-11-29T09:13:29","date_gmt":"2010-11-29T13:13:29","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=1162"},"modified":"2013-03-20T08:43:57","modified_gmt":"2013-03-20T12:43:57","slug":"how-to-add-domainkeys-for-a-domain-on-a-cpanel-server","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/how-to-add-domainkeys-for-a-domain-on-a-cpanel-server","title":{"rendered":"How to add Domainkeys for a domain on a cPanel server?"},"content":{"rendered":"<p>&#8220;DomainKeys&#8221; is an anti-spam software application that uses a public key, cryptography to authenticate the sender&#8217;s domain. cPanel offers a installer script &#8220;<strong>domain_keys_installer<\/strong>&#8221; using which the DomainKeys can be created and added automatically for a domain.<\/p>\n<p>By default the DomainKeys is not added when the account is created on the server, it has to be added manually. SSH to your server and execute:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">\/usr\/local\/cpanel\/bin\/domain_keys_installer &lt;username&gt;<\/span><\/pre>\n<\/blockquote>\n<p>where, &lt;username&gt; is the username of the domain.<\/p>\n<p>The DomainKey is automatically added in the DNS zone file of the domain located at \/var\/named\/domainname.db file. To add DomainKeys for the existing domains, execute the following command as it is:<strong><br \/>\n<\/strong><\/p>\n<blockquote>\n<pre>for i in `cat \/etc\/trueuserdomains | awk '{print $2}'`\r\ndo\r\n\/usr\/local\/cpanel\/bin\/domain_keys_installer $i;\r\ndone;<\/pre>\n<\/blockquote>\n<p><strong>NOTE: <\/strong>If you are using a 3rd party name servers for your domain, you will have to add the DomainKeys in the DNS zone of your domain created on their servers.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;DomainKeys&#8221; is an anti-spam software application that uses a public key, cryptography to authenticate the sender&#8217;s domain. cPanel offers a installer script &#8220;domain_keys_installer&#8221; using which the DomainKeys can be created and added automatically for a domain.<br \/>\nBy default the DomainKeys is not added when the account is created on the server, it has to be added manually. SSH to your server and execute:<\/p>\n<p>\/usr\/local\/cpanel\/bin\/domain_keys_installer &lt;username&gt;<\/p>\n<p>where, &lt;username&gt; is the username of the domain.<br \/>\nThe DomainKey is automatically added in the DNS zone file of the domain located at \/var\/named\/domainname.db file. To add [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1122,1124,1121,1120,1125,1123],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1162"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":14,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":2272,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions\/2272"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}