What do I have to do for my website to work with https?

Enable SSL

In order for your website to be able to deliver secure content with https:// at all, SSL must be activated for the corresponding website.

Set up forwarding

You have several possibilities how to get your website to automatically deliver all requests to https://.

Automatic forwarding via the Control Panel

  1. Log in to the Control Panel with your Hostpoint ID
  2. Click on «Services» in the top menu and choose the desired server
  3. Click on «Websites» and then on «Edit» next to the desired website
    SSL
  4. Activate the checkbox «Forward all requests automatically to https:// (force SSL)»
    SSL

Doing so will forward all requests from e.g http://www.my-own-domain.ch to https://www.my-own-domain.ch.

Forward any website using .htaccess

If you prefer to set up the forwarding manually, you can write the following entries in the .htaccess file.

This file should be located in the directory of the corresponding website. If you do not find a file named ".htaccess", it can easily be created.

~/www/YOUR WEBSITE DIRECTORY/.htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

 

Unable to find what you were looking for?

Our support experts are happy to assist you personally!

 

© 2001 - Hostpoint AG