SSL: Force traffic from http to https

In this guide we will show you two ways to force traffic from http to https (secure connection).

Before you do this change, make sure your domain is setup with https/ssl for this to work. You can follow this guide to get a free SSL certificate for your domain.

  1. With .htaccess rewrite rules:

    1. You need to create or edit the file .htaccess located in your public_html directory. Add the following lines to the file:

      # Force https with rewrite
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    2. Save or upload the file and all traffic will now be forced to use https.

  2. From the client area:

    1. Log in to the client area with your details. If you have forgotten the password use the "Reset Password" link.

    2. Click on the "Services" button:
    3. Click on the green "Active" button behind the service you like to change:

    4. Scroll down on the page and click "Addon Domains":

    5.  Click on the "edit" button behind your domain name:

    6. Change the "Force SSL with https redirect" to be switched on and click the "Change" button:

    7. All done.

Do not hesitate to contact us if you have any questions.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Other: System user (SSH/SFTP) password (reset).

This guide will show you how to find the SSH/SFTP/system username and password for your account....

Other: Create new sub domain.

This guide will show you how to create a new subdomain on your account. First of all you need to...

Database: Create new database.

This guide will show you how to create a new database on your account. 1. First of all you need...

Filbehandling: Se/endre/redigere filer på ditt område via kundeweb.

Her viser vi hvor du finner filbehandleren i kundeweb. Logg på kundeweb. Klikk på "Tjenester"...

Error: Can not manage service/ error message.

If you login to the system to manage any of your services and get the error "no data avaliable"...