NixUser

NixUser.com | Unix User | Linux User | NixUser

ssl

How to create a Self-Signed SSL Certificate

I will explain here how to create a self-signed ssl certificate for testing purposes. I am skipping the usual explanation of the technique, since you already know it. Generate Private Key The first step is to create the RSA Private Key. This key is a 1024 bit RSA key which is encrypted using Triple-DES and More

force https 301 redirect using htaccess

  To force your website with SSL using htaccess and mod_rewrite, use the following rule in the website’s .htaccess. RewriteEngine On RewriteCond %{HTTP_HOST} ^yourwebsite\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yourwebsite.com/$1 [R=301,L] If it’s a subdomain, use this. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} sub RewriteRule ^(.*)$ https://yourwebsite.com/sub/$1 [R=301,L] Note: Replace yourwebsite.com with the More

cPanel

What is cPanel? cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides capabilities for administrators, resellers, and end-user website owners to control the various aspects of website and server administration through a More