Clouduxe Docs
HomeStatusSupport
  • Welcome
  • Getting Started
    • Why Choose Clouduxe?
    • Web Hosting Explained
    • VPS and Dedicated Servers
    • Order Your Server
    • How Long does it take to set up my Account?
    • Content Restrictions and DMCA Compliance
    • Banned Countries
    • Account Closure
  • cPanel - Control Panel
    • How to Reset Your cPanel Account Password
    • How to Upload Files via the cPanel File Manager
    • How to Edit a File in the cPanel File Manager
    • How to Edit .htaccess File in the cPanel File Manager
    • How to Check Disk Usage and Bandwidth Usage in cPanel
    • How to Create a Cron Job in cPanel
    • How to Edit or Delete a Cronjob in cPanel
    • How to Update a Cron Job Email Address in cPanel
    • How to Change the PHP Version for Your Domain in cPanel
    • How to Reset the PHP Version to the Default Version in cPanel
    • How to Set the PHP Version per Domain in cPanel
    • How to Set the PHP Version per Directory in cPanel
    • How to Add "A Record" in cPanel
    • How to Add an MX Record in cPanel
    • How to Edit or Remove an MX Record in cPanel
    • How to Add a CNAME Record in cPanel
    • How to Edit or Remove a CNAME Record in cPanel
    • How to Edit or Remove a Record in cPanel
    • How to Create an Additional Web Disk Account in cPanel
    • How to Access cPanel Web Disk
    • Your Hosting Account Has Been Compromised
  • WordPress
    • How to Access the WordPress Admin Dashboard
    • How to Remove Sample Comments and Posts From WordPress
    • How to Write and Publish Your First Blog Post in WordPress
    • How to Remove a Post in WordPress
    • How to Bulk Delete Posts in WordPress
    • How to Add a New Category in WordPress
    • How to Delete an Uncategorized Category in WordPress
    • How to Delete Categories in WordPress
    • How to Install a New WordPress Theme
    • How to Install a WordPress Theme Manually
    • How to Delete a WordPress Theme
    • How to Install a WordPress Plugin
    • How to Manually Install a WordPress Plugin
    • How to Deactivate and Delete a WordPress Plugin
    • How to Forcefully Update or Reinstall a WordPress Plugin
    • How to Change the Password of a WordPress Account
    • How to Change the WordPress User's Display Name
    • How to Debug WordPress® with cPanel and WordPress Toolkit?
    • How to Create a WordPress Staging Site with cPanel
    • How to Increase WordPress Memory Limit
  • SSL
    • How to Generate a Certificate Signing Request - CSR in cPanel
    • How to Retrieve a CSR from cPanel
    • How to Remove a CSR Code in cPanel
    • How to Install an SSL on Your Domain Using AutoSSL in cPanel
    • How to Include or Exclude a Domain from AutoSSL in cPanel
    • How to Force SSL
  • Databases
    • How to Create a Database in cPanel
    • How to Rename a Database in cPanel
    • How to Delete a Database in cPanel
    • How to Create a Database Username in cPanel
    • How to Add a User to a Database and Grant Privileges
    • How to Import a Database via phpMyAdmin in cPanel
    • How to Export Database Table via phpMyAdmin in cPanel
    • How to Edit a Database Table via phpMyAdmin in cPanel
    • How to Delete a Database Table via phpMyAdmin in cPanel
    • How to Optimize a Database via phpMyAdmin in cPanel
    • How to Repair a Database via phpMyAdmin in cPanel
  • Managing Domains
    • Addon Domain
    • DNS Propagation Time
    • Running Multiple Websites
    • Subdomains
    • Aliases vs. Redirects: Which One Should You Use?
    • How to Edit Your DNS Records with Clouduxe
    • How to Forward a Domain
    • Do We Support Wildcard Subdomains?
    • Can I Add Addon Domains Without Changing DNS?
    • What Nameservers Should I Use for an Addon Domain?
    • How to Remove an Addon Domain
  • Emails
    • Email Overview
    • Creating An Email Account on Your cPanel Hosting
    • Email Forwarding in cPanel
    • Creating An Email Account on cPanel
    • How to Delete an Email Account in cPanel
    • Using Gmail with your Clouduxe Web Hosting
    • Setting up Google MX Records from your cPanel
    • Configuring an Email Client
    • How to Change your Webmail Password in cPanel
    • Configuring Autoresponder for Your Email Account
    • Outlook 365 Auto Archive Setup
    • Spam Filtering Customization
    • How to Transfer IMAP Emails Using an IMAP Transfer Tool
    • How Folder Subscription Works
    • Email Troubleshooting Guide
    • Why Does My Mailbox Get Full?
    • How to Set Up SMTP in cPanel
    • My Hosting is Suspended – Will My Emails Work?
  • Domain Names
    • How Can I Register a Domain with Clouduxe?
    • How Can I Transfer My Domain to Clouduxe?
    • How Can I Renew My Domain with Clouduxe?
    • How Can I Set Nameservers on My Domain?
    • How Can I Manage DNS on My Domain Through cPanel?
    • Do We Still Need WHOIS Privacy Protection?
    • How to Use Cloudflare on Your Domain
      • Cloudflare SSL Configuration: Flexible vs. Strict Mode
      • How to Flush the Cloudflare Cache
      • What is a CDN?
      • Cloudflare DDoS Protection for Your Website
      • Cloudflare for Website Optimization
    • Why Do Different TLDs Have Different Prices?
    • Domain Verification Suspension
    • Changing Your Main Domain
    • Failed Domain Registration/Renewal
    • How to Cancel Your Domain Name Registration
  • Accounts and Billing
    • Cancellation and Refund Policy
    • Money-Back Guarantee
    • Payment Methods
    • Cancellation
    • How to Enable/Disable 2FA Authentication
    • How do I Add/Remove a Payment Card from my Account
    • How to Add Funds to My Clouduxe Account
    • How to View Invoices
    • Affiliate System
      • How to Use the Clouduxe Affiliate System
    • Why Was My Card Declined?
    • Invoicing and Suspension
  • VPS and Dedicated Servers
    • VPS and Dedicated Servers at Clouduxe
    • Protecting Your Server with Fail2Ban
    • Connecting to a Linux Server
      • How to Open Ports in Linux
    • Protect Your Linux Server
    • Connecting to a Windows Server via Remote Desktop Protocol (RDP)
      • How to Open Ports in Windows RDP
      • How to Set Up XAMPP in Windows RDP
      • How to Set Up FileZilla Server in Windows RDP
      • Cloudflare Spectrum for Windows RDP
      • Protect Your Windows RDP
  • Network and Technology
    • Hardware and Locations
    • Why Hosting Location Matters
    • Software Stack
    • LVE Limits Explained
    • System Resource Limits
    • Disk Space Limits
    • Firewall IP Block
    • Enabling LiteSpeed Crawler
    • How to Perform MTR
    • What is the Average Server Specification?
    • How to Do Traceroute from a Windows Machine
    • How to Clear your Browser Cache
    • How to Resolve the “Deceptive Site Ahead” Warning
    • HTTP Versions
      • HTTP/0.9 Overview
      • HTTP/1.0 Overview
      • HTTP/1.1 Overview
      • HTTP/2 Overview
      • HTTP/3 Overview
      • HTTP with QUIC Overview
      • Comparison of HTTP Versions
  • Game Servers
    • FiveM
      • Resolving Server Thread Hitch Warnings in FiveM
      • How to Optimize Your FiveM Server for Better Performance
      • Troubleshooting Network Thread Hitch Warning in FiveM Servers
      • Creating Immersive In-Game Events for Your FiveM Server
      • Navigating the Challenges of Development in FiveM Servers
      • Managing Staff Members in Your FiveM Server: Best Practices
      • Managing Your FiveM Server Playerbase: Strategies for Success
      • FiveM as a Business: Managing Donations and Revenue Effectively
Powered by GitBook
On this page
  • Step 1: Confirm SSL Installation
  • Step 2: Forcing SSL with .htaccess
  • Step 3: Verify the Changes

Was this helpful?

  1. SSL

How to Force SSL

PreviousHow to Include or Exclude a Domain from AutoSSL in cPanelNextHow to Create a Database in cPanel

Last updated 8 months ago

Was this helpful?

You just installed SSL, but you can't find the secured padlock and HTTPS in front of your domain. Instead, your domain still loads with HTTP, and the insecure icon warns visitors to beware of your site.

This could be due to some unsecured links on your website. You will need to manually force SSL to ensure your site is fully secure.

Step 1: Confirm SSL Installation

First, ensure that SSL has been properly installed on your site. To do this, visit to verify if the SSL is installed correctly.

Next, check why the padlock is not showing up in the browser by visiting .

Simply type in the full URL of your website and get a detailed report about your SSL installation.

If you find any unsecured elements or errors, these will need to be addressed before proceeding.

Step 2: Forcing SSL with .htaccess

  1. After confirming SSL is installed, you can force HTTPS by editing your .htaccess file in your hosting panel.

  2. Navigate to File Manager in your hosting panel and open the public_html folder.

  3. Locate and open the .htaccess file. If you cannot find it, ensure hidden files are visible, or create a new .htaccess file.

  4. Scroll down to find the line RewriteEngine On.

  5. Insert the following code right below it:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} clouduxe.com [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://clouduxe.com/$1 [R,L]
  6. Save the changes.

Congratulations! You have successfully forced HTTPS on your site.

Step 3: Verify the Changes

If the padlock still doesn’t appear, check for mixed content errors, which might occur if some resources on your site (like images or scripts) are still being loaded over HTTP.

Go back to your browser, refresh the page, and check to see if the padlock appears. For extra confirmation, refresh the information on to ensure that your site is fully secured.

SSL Shopper
Why No Padlock
Why No Padlock