SSL Error - Unable to connect to domain name

Hello,

I have installed a SSL certificate some days ago and everything was fine. Now, the SSL cert does not work anymore. In the SSL Certificates section of the hosting account it says the following - Unable to connect to domain name. I have done everything right. What could be the problem? I have also installed Really Simple SSL for my Wordpress site, but it cannot detect the certificate. Whenever I click on https://rankthewebsite.com I get this error - NET::ERR_CERT_COMMON_NAME_INVALID

Website link: https://rankthewebsite.com

Please help me. Thanks.

Hello there,

That’s because your SSL only covers your domain with the www prefix and nothing else therefore only your domain with the www prefix has been signed with a trusted SSL certificate.

3 Likes

You can redirect non www to www by folloeing the steps below.

  1. Go to your domain’s htdocs folder and check whether there is a .htaccess file. If not, create one! Please note you need to edit the htaccess file in Your Domain’s Root Directory.

  2. Add the following code to it.
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^rankthewebsite.com [NC]
    RewriteRule ^(.*)$ https://www.rankthewebsite.com/$1 [L,R=301]

  3. Wait a little and you are done!

Basically what @UnknownLolz said.

Traditionally, certificates had two fields with domain names, the Common Name field and the Subject Alternative Name field. Normally, the SSL certificate should be valid if the domain name is in either of those fields. But certificate vendors and browser makers are moving away from the Common Name field and requiring that all valid domains are in the Subject Alternative Name field.

That’s all I know for sure as far as details go. But if you updated your browser in the last few days, that could have included an update which removed the support for the Common Name field.

To fix this, you’ll need to install a certificate which has both the root domain and the www subdomain in the SAN field. The certificates generated through our panel have this.

I see you’ve already issued a certificate through our panel. If you replace the current cPanel certificate with the certificate available in your client area, your website will work again.

3 Likes

The problem is that I cannot edit the .htaccess file. I have installed the certificate generated through the Infinity panel and installed it, but I get the same error. I do not know what to do. Can I write to support? Because I have upgraded the plan.

So you already bought a premium plan?

You’ll have to go to support.ifastnet.com their support page and ask them for support directly and they can handle your issue.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.