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 Authentication icon.

  3. This brings you to the Authentication screen. Begin by finding the SPF subsection, which is the vast majority of the page. Scroll down to the lower part of the screen and check the checkbox for the All Entry (ALL):.

    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. Now that you have set the basic SPF settings, scroll back up to the top and click the Enable button for the SPF section.

The server now creates the SPF record for your hosting account. You will receive a success message along with the SPF record’s full syntax on the screen.

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 .

Leave a Reply