How to Setup Incapsula Through cPanel

After signing up with the Incapsula service, you will then be required to setup Incapsula to work properly with your web site. While it may seem complex, the setup requires you to change DNS settings for your site to point to the Incapsula servers.

The steps outlined below in this post show you how to setup Incapsula using your host’s cPanel. If you use something other than cPanel, the basic concepts are the same, but the actual steps may be different.


Incapsula - Increase Website Security and Performance

Steps to Setup Incapsula

After you sign up with Incapsula, you will be given the opportunity to add your web site to their service. To setup Incapsula to use the service, use the following steps:

  1. Login to Incapsula. You should see your “My Sites” page.
  2. In the “Add a Website” section, type in the domain you would like to add and click the “Next” button.
  3. Incapsula will go and get information about your site. Once it is done, it will display the addresses that you will need to setup Incapsula with your web site. The screenshot below shows where you can find the information – marked as 1 and 2.
  4. Incapsula - Setup Instructions
    Incapsula - Setup Instructions
    (Click to enlarge)
  5. Once you have this information, open a new window and log into your web site’s host account. In the “Domains” section, click the “Advanced DNS Zone Editor” icon.
  6. cPanel Advanced DNS Zone Editor
    cPanel Advanced DNS Zone Editor
    (Click to enlarge)
  7. Within the “Advanced DNS Zone Editor”, do the following steps:
    1. Select your domain from the dropdown list at the top.
    2. In the “Zone File Records” section, click the “Edit” link beside the domain name in the list, as shown below.
    3. cPanel Advanced DNS Zone Editor - Edit Domain
      cPanel Advanced DNS Zone Editor - Edit Domain
      (Click to enlarge)
    4. When the edit options are displayed, enter the IP address that was displayed in the Incapsula setup instructions.
    5. Click the “Edit Record” button to save your changes.
    6. cPanel Advanced DNS Zone Editor - Edit Domain Address
      cPanel Advanced DNS Zone Editor - Edit Domain Address
      (Click to enlarge)
    7. Next, click the “Edit” link next to the “www” version of your domain.
    8. Once the edit options appear, enter the second address provided by Incapsula into the “Address” field.
    9. Click the “Edit Record” button to save your changes.
    10. cPanel Advanced DNS Zone Editor - WWW Domain Edit
      cPanel Advanced DNS Zone Editor - WWW Domain Edit
      (Click to enlarge)
  8. Once the changes are made, return to the Incapsula window and click the “Continue” button to finish the steps to setup Incapsula.

When setup Incapsula I had an issue arise with regards to my blog’s e-mail. I outline the issue and the steps I took to solve the issue below.

E-mail Issues

When I had setup Incapsula, all traffic that was going to my blog went through the Incapsula servers. The problem was my e-mail was also redirected through the Incapsula servers, which caused problems.

The problems ocurred when someone sent me an e-mail. After some time they would receive a timeout error and the e-mail wouldn’t go through. After some investigating I realized that I had to change a few more settings to solve this problem.

Setup Incapsula – Steps to Solve E-mail Timeout

The steps I used to solved my blog’s e-mail timeout are as follows:

  1. Log into your host account and click the “Advanced DNS Zone Editor” icon in the “Domains” section.
  2. cPanel Advanced DNS Zone Editor
    cPanel Advanced DNS Zone Editor
    (Click to enlarge)
  3. Click the “Edit” link next to the “mail.yourdomain.com” version of your domain. The screenshot below shows an example.
  4. cPanel Advanced DNS Zone Editor - Edit Mail Domain
    cPanel Advanced DNS Zone Editor - Edit Mail Domain
    (Click to enlarge)
  5. When the edit fields are displayed, enter the IP address for your host in the “Address” field.
  6. cPanel Advanced DNS Zone Editor - Changing Mail Address
    cPanel Advanced DNS Zone Editor - Changing Mail Address
    (Click to enlarge)
  7. Click the “Edit Record” button to save your changes.
  8. Now we need to ensure your mail exchange (mx) entry is pointing to the correct domain, in this case “mail.yourdomain.com”. To do this, click the “MX Entry” icon in the “Mail” section of your host’s dashboard.
  9. cPanel - MX Entry
    cPanel - MX Entry
    (Click to enlarge)
  10. From the domain dropdown list, select the domain you would like to edit.
  11. Under the “MX Records” section, click the “Edit” link next to the item that has the lowest priority number, if there are more than one entries.
  12. cPAnel MX Entry - Edit MX Record
    cPAnel MX Entry - Edit MX Record
  13. The edit fields should now be displayed. In the “Destination” field enter the “mail.yourdomain.com” domain.
  14. Click the “Edit” button to save your changes.
  15. cPanel MX Entry - Changing the MX Entry
    cPanel MX Entry - Changing the MX Entry
    (Click to enlarge)

Once this is done, your email should go through the mail server on your host, and not the Incapsula servers. This post outlined the steps you need to take when using cPanel to setup Incapsula.

Follow Me