Secure web with https ssl

OVERVIEW

Before we begin to configuring web to use HTTPS lets we explain what is SSL. SSL (Secure Sockets Layer) is the standard security technology for establishing an encrypted link between a web server and a browser. This link ensures that all data passed between the web server and browsers remain private and integral. SSL is an industry standard and is used by millions of websites in the protection of their online transactions with their customers. In this guide we will make a webpage to use all time HTTPS version.

REQUIREMENTS

  • Web already running on HTTP

INSTRUCTIONS

  1. Login your FTP to access web files
  2. In the root of web page create file name .htaccess, If aleady exist open file
  3. Open .htaccess file and at top paste code with replaced maxko-hosting.com with own domain name

    
    			RewriteEngine on 

    RewriteCond %{SERVER_PORT} 80
    RewriteCond %{HTTP_HOST} ^maxko-hosting\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.maxko-hosting\.com$
    RewriteRule ^(.*)$ https://www.maxko-hosting.com/$1 [R=301,L]