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.

Forward any website using .htaccess

If you want to set up a forwarding of all calls from http:// to https://, 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