Enabling Domain Keys In cPanel

cPanel by default provides the ability to enabled Domain Keys instead of the Exim MTA (Mail Transport). However to setup a Domain Key you must log into the cPanel server via SSH / Shell as there is not option to enable the Domain Key inside of the WHM or cPanel.

Creating The Domain Key For A Domain

  1. You will need to log into your cPanel enabled server using SSH / Shell. If you are on a Windows workstation you will need to download Putty or if you are using a MacOSX based workstation you can use the built in Telnet application. If you have not used an SSH interface before you can review our support article on how to access your server using SSH by going to URL

  2. Next you will need to run the following command against your domain. You will need to change the "username" the name that cPanel has assigned to your domain.

  3. /usr/local/cpanel/bin/domain_keys_installer username
  4. The command you ran in step 2 will have created a file called "domain.db" and will be located at "/var/named".  Within the file will contain your Domain Key for your domain. Next you will need to reload the "Bind" service by typing the following command. Besure to enter your domain at the end of the command;

  5. rndc reload domain
  6. Next you will need to restart Exim, your email server by typing;

  7. service exim restart
  8. With exim restarted your domain will now support a Domain Key. You can test this by sending an email to yourself and viewing the email header. Within that header you will see a DomainKey-Signature.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

..htaccess guidance

  .htaccess guidance .htaccess is a special Apache file that tells your website how to...

Linux Sites preview Offline

Linux Site's Preview Offline   http://IP_address/~UserName OR http://ServerName/~userName...

How to scan your website's data from CPanel?

Welcome the comprehensive step-by-step guide by our web hosting company on how to scan your...

How Can I Download a Backup of Full cPanel Account Using FTP?

If you want to download a backup of your website using FTP, please follow these easy steps below:...

How to create an addon domain?

An add-on domain is a fully functional domain and it can be created by using your Cpanel. Add-on...