Creating a basic SPF Record in cPanel

SPF records are necessary in order to help prevent your email addresses from being spoofed. If you do not understand what spoofing or an SPF record is, please see our Guide to SPF Records. This article is part of that series where we demonstrate how to set up a basic SPF record from within your cPanel.

Creating a basic SPF Record within cPanel

  1. Log into your cPanel dashboard.

  2. From the main cPanel page, look for the Email category. From there, click on the Email Deliverability icon.

  3. SPF Record
    This brings you to the Email Deliverability screen. If you have more than one domain listed, then select the domain you wish to manage first.  You will then see the records for the domain that you have selected. Find the SPF subsection. cPanel will have a suggested SPF record for you if you do not an entry there already.  Make sure that the option “~all” is at the end of the suggested entry.

    This is important as it adds the ‘-all‘ to the end of the record so that all addresses that fail the other checks will be rejected.

  4. Click on INSTALL THE SUGGESTED RECORD in order to save the entry. This will enable the SPF record for that domain name.

The server will use the SPF record that you just set for the domain that you have selected.

Thoughts on “Creating a basic SPF Record in cPanel

  • Hi, My domain is hosted on res217 server. What are the hosts and domains, I must enlist in my spf record before making it STRICT all (-all). I believe my server uses multiple Ip addresses to relay emails, hence all those ip addresses must be enlisted within the record.


    • You will need to look at your WHM for the list of sites and IP addresses under your account. You will only be able to see the information under your account. If you have any further questions or comments, please let us know .

Was this article helpful? Let us know!