Enable HTTPS Redirect in cPanel: Check SSL Certificate and Secure Domain
An HTTPS redirect ensures that visitors automatically use the encrypted version of your website. In cPanel, this can be enabled via the Force HTTPS Redirect feature once a valid SSL certificate is in place.
A modern website should be accessible via HTTPS. HTTPS protects the connection between the browser and the web server using encryption. This is particularly important for contact forms, login areas, shops, customer portals, and all pages where personal data is transmitted.
If a website is accessible via both http:// and https://, visitors should be automatically redirected to the secure HTTPS version. For this purpose, cPanel offers the option Force HTTPS Redirect in the domain management settings.
Do not enable the HTTPS redirect until a valid SSL certificate is available for the domain. Otherwise, visitors may see a security warning in their browser.
What is the difference between HTTP and HTTPS?
HTTP is the unencrypted transmission protocol for websites. HTTPS is the encrypted version. HTTPS uses an SSL/TLS certificate to secure the connection and technically verify the identity of the domain.
Browsers frequently label unencrypted pages as "Not Secure". This can worry visitors and is especially problematic for business websites. Therefore, HTTPS is the standard today.
What is an SSL certificate?
An SSL certificate confirms that a domain can use encrypted connections. At CURIAWEB, depending on the hosting configuration, AutoSSL is frequently used. AutoSSL can automatically issue and renew matching certificates, provided the domain points correctly to the hosting and can be technically validated.
An SSL certificate only works for domains and subdomains that are included in the certificate. Therefore, if you use yourdomain.ch, www.yourdomain.ch, and shop.yourdomain.ch, each of these hostnames must be correctly secured.
Important Requirement for AutoSSL
The domain must point correctly to the CURIAWEB hosting. If DNS still points to another server or the domain has not been created in cPanel, the issuance of an SSL certificate may fail.
Check SSL Status in cPanel
Before enabling the HTTPS redirect, you should check whether the domain already has a valid certificate.
Step-by-Step: Checking SSL/TLS Status
- Log in to your cPanel account.
- Open the SSL/TLS Status feature in the Security section.
- Search for the desired domain or subdomain.
- Check if a valid certificate is available.
- If no certificate is present, check if the domain is included for AutoSSL.
- If necessary, run AutoSSL if this feature is available in your hosting package.
- Wait for AutoSSL to complete and check the status again.
If AutoSSL fails, first check DNS, the domain entry in cPanel, and the Document Root. Frequently, the problem is not with the certificate itself, but because the domain does not yet reach the server correctly.
Enable HTTPS Redirect in cPanel
Once a valid SSL certificate is in place, you can activate the HTTPS redirect. As a result, visitors accessing http://yourdomain.ch will be automatically redirected to https://yourdomain.ch.
Step-by-Step: Enabling Force HTTPS Redirect
- Log in to cPanel.
- Open the Domains section.
- Find the desired domain in the domain list.
- Check if a valid SSL certificate is available for the domain.
- Enable the Force HTTPS Redirect toggle switch.
- Finally, test the domain with
http://andhttps://.
What to do if the HTTPS redirect does not work?
If the redirect does not work as expected, there could be various causes:
- no valid SSL certificate available,
- domain still points to another server via DNS,
- domain was not correctly created in cPanel,
- existing redirects in the
.htaccessfile, - WordPress or CMS settings overwrite the redirect,
- browser cache is still showing old results,
- an external proxy or CDN affects HTTPS.
It is best to test in a private browser window and additionally check the domain via a different network, such as mobile data.
HTTPS and WordPress
If you use WordPress, not only should cPanel redirect HTTPS correctly, but WordPress itself should also be set to the HTTPS address. In WordPress, under Settings → General, check whether the WordPress Address and Site Address begin with https://.
If WordPress still uses http:// internally, mixed content or redirect loops can occur. In such cases, database entries, theme files, or plugins must be checked.
If browsers display the "too many redirects" error, there are usually conflicting redirect rules. Check cPanel redirects, .htaccess, WordPress settings, and any CDN/proxy configurations.
What is mixed content?
Mixed Content occurs when the website itself is loaded over HTTPS, but individual images, scripts, fonts, or stylesheets are still embedded via HTTP. Browsers may block such content or display warnings.
Typical causes are:
- old image URLs with
http://, - hardcoded links in the theme,
- external scripts without HTTPS,
- old CMS settings,
- database entries not updated after a migration.
After activating HTTPS, the website should be fully tested, especially the homepage, contact form, shop, login area, and important subpages.
Checklist: Activating HTTPS Cleanly
- Domain is created in cPanel.
- DNS points correctly to the CURIAWEB hosting.
- Domain and
wwwvariant are correctly set up. - SSL certificate is valid in SSL/TLS Status.
- AutoSSL did not report any errors.
- HTTPS redirect is enabled in cPanel.
- Website loads without security warnings.
- No mixed content warnings are present.
- Contact forms and logins work properly.
- WordPress or CMS uses HTTPS internally.
Frequently Asked Questions about HTTPS Redirection
Is HTTPS the same as a redirect?
No. HTTPS is the encrypted connection. The HTTPS redirect only ensures that visitors automatically use the HTTPS version.
Can I enable HTTPS before the SSL certificate is available?
This is not recommended. Visitors might see security warnings.
Why does the browser display "Not Secure"?
Possible causes include a missing or invalid certificate, mixed content, or a domain that does not point correctly to the server.
Does the certificate also apply to subdomains?
Only if the respective subdomain is included in the certificate or a matching certificate has been issued for it.
Can CURIAWEB check the SSL status?
Yes, CURIAWEB support can check whether DNS, cPanel domain, AutoSSL, and HTTPS redirect are correctly set up.
Register a New Domain
For a secure website, you need a correctly registered and managed domain. At CURIAWEB, you can check and register your desired domain directly online and subsequently use it with SSL and HTTPS.