Fixing Your Site's SSL Issues with cPanel Print

  • Updated on 04-Dec-2024
  • 2690

Hello there! We understand that having an SSL issue with your site can be stressful, but don't worry. We're here to help you troubleshoot and solve this problem. Whether you're new to managing websites or a seasoned pro, we've got your back. This article will guide you through diagnosing and fixing SSL issues using the cPanel control panel in shared hosting servers.


Step 1: Confirm your Domain is Pointing to the Correct IP Address

Before we dive into SSL troubleshooting, ensuring your domain is pointing to the correct IP address is crucial. Here's how you can do that:

  1. Log into your cPanel.
  2. Navigate to 'Domains' > 'Manage Domains'.
  3. Find your domain in the list and check the IP address assigned.

If you notice the IP address is incorrect, you can adjust it from the same menu.


Step 2: Check if SSL is Enabled for Your Site

Next, let's confirm whether SSL is enabled for your site. In cPanel, a handy feature called AutoSSL can automatically install and renew SSL certificates for your website.

Here's how you can use AutoSSL:

  1. In your cPanel, navigate to 'Security' > 'SSL/TLS Status'.
  2. Check the status of your domain. If it says 'Unsecured', click on 'Run AutoSSL'. This will automatically issue and install an SSL certificate for your website.

Note: If your site is recently hosted, the SSL certificate might take 24-48 hours to propagate.


Step 3: Verify the .htaccess File for SSL Redirection

Another important aspect is the .htaccess file in your website's root directory. This file should contain rules to redirect HTTP traffic to HTTPS.

Here's how you can check and edit your .htaccess file:

  1. In cPanel, go to 'Files' > 'File Manager'.
  2. Navigate to your website's root directory (usually public_html).
  3. Find and open the .htaccess file for editing.
  4. Ensure there are rules for SSL redirection. If not, you can add the following:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Step 4: Scan for Mixed Content

Mixed content occurs when a secure (HTTPS) webpage includes subresources, like images or scripts, loaded over an insecure (HTTP) connection. This can cause SSL issues.

Here's how you can identify mixed content:

  1. Open your website in a browser.
  2. Right-click anywhere on the page and click 'Inspect' or 'Inspect Element'.
  3. Click on the 'Console' tab in the open inspection window.
  4. Look for any warnings or errors that mention 'Mixed Content'. These will tell you what elements are causing the problem.

You can resolve mixed content issues by ensuring all your site's resources are loaded over HTTPS, not HTTP. This usually involves updating the URLs of your images, scripts, and other resources in your website's code or CMS.


Remember, SSL issues can be tricky, but they're typically easy to resolve with a little patience. If you still have trouble following these steps, don't hesitate to contact our support team - we're always happy to help!

Don't forget securing your website with an SSL certificate gives your visitors peace of mind that their data is safe and boosts your site's SEO ranking.

Happy troubleshooting!


Was this answer helpful?

« Back