Activate SSL certificate for forwarding - FireStorm ISP

Activate SSL certificate for forwarding

Support Wissensdatenbank

Du bist hier:
Print

SSL Certificate on Forwarding

  1. Disable Plesk forwarding and change the domain to normal hosting.
  2. Make sure that the certificate for the domain is already activated. Otherwise install a certificate first.
  3. Afterwards you create with the FileManager 2 files ‘.htaccess’ and index.php. You then fill these with the following content:

.htaccess:

RewriteEngine on
RewriteBase /
RewriteRule (.*) https://www.musterdomain.ch/$1 [R=301,L]


index.php:

<?php
header("Location: https://www.musterdomain.ch/");exit;
?>;

 

SSL redirect with iframe To redirect the start page, create an index.html file with the following content instead:

 

<html>
<head>
<title>FireStorm Umleitung</title>
</head>
<style>
body {
margin: 0;
padding: 0;
}

body,
iframe {
width: 100%;
height: 100%;
}

iframe {
border: 0;
}
</style>
<body>
<iframe src="https://www.meinezielurl.tld" />
</body>
</html>

 

Afterwards you only have to redirect the ‘document root’ to the new directory “redirect” and activate the free SSL certificate ‘Lets Encrypt’ in the hosting settings of the website.

TipUnder Hosting Settings you can permanently enable redirection from HTTP to HTTPS.

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post