Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

How can I force SSL/TLS, e.g. forward all http:// URLs to https:// URLs?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 in the United States (Chicago, IL): 1 (815) 526-7037, Fax (in Germany) +49 30 32 70 18 91

service@bitpalace.com 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

You want your visitors to use SSL protected connections only. When a visitors opens a URL with http:// she shall be forwarded to the equivalent https:// URL.

 

Solution

There are several solutions. It is important to all that redirecting to SSL does not automatically generate an SSL certificate. Keep the order in mind: Make sure you first set up an SSL certificate (for example, with the "Let's Encrypt" icon). Only then turn on the redirect. If you enable redirection without first installing the SSL certificate, the SSL certificate cannot be installed because the necessary audit files cannot be retrieved by the CA.

1. Log in to the webspace control panel.

2. Select the "Websites & Domains" tab.

3. Click on the "Hosting Settings" link.

4. Check the box "Permanent SEO-safe 301 redirect from HTTP to HTTPS".

5. Click on the "OK" button.

Alternative solution:

In the document root directory of your website create an .htaccess file. If an .htaccess file already exists, edit that file. .htaccess is a text file that can be edited with any popular text editor. The file needs to include these three lines at the beginning of the file to forward all http:// requests to https://:

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]

The commands instruct the web server to forward all requests that it does not receive on the default SSL port 443 to the same URL in https:// syntax.

Many .htaccess files already have a "RewriteEngine On" line. In that case add the two redirect lines into the following lines. If an .htaccess file does not yet have a "RewriteEngine On" line, add the three command lines at the beginning of that file.

 

Overview of frequently asked questions 

 

 

 


 

Additional Services

Starter Server: Affordable web server from  3.73 US$ () /month with PHP, database and many more 

Online Reservation System: Occupancy & vacancy schedule for any ressources (vehicles, sports facilities …) & guest houses, holiday apartments …  8.91 US$ () /month 

Software development: Development of database applications, programming and revision of computer programs & scripts  44.08 US$ () /hour 

 

FAQ – frequently asked questions 

 

Kiribati

Austria

Cameroon

Guinea

Pakistan

Colombia

Cuba

Antigua and Barbuda

Panama

Papua New Guinea

Jordan

Argentina

Costa Rica

Australia

Germany

Bahamas

Lesotho

Barbados

Belize

Paraguay

Tuvalu

Honduras

Peru

Madagascar

Bolivia

Botswana

Malawi

Chile

Philippines

India

Malta

Puerto Rico

Rwanda

Saint Kitts and Nevis

Samoa

Marshall Islands

Saint Vincent and the Grenadines

Zambia

Jamaica

Mauritius

Saint Lucia

Dominican Republic

Liberia

Switzerland

Mexico

Canada

Dominican Republic

Micronesia, Federated States of

Seychelles

Namibia

Ecuador

Sierra Leone

El Salvador

Fiji

Singapore

Gambia

Solomon Islands

Nauru

Spain

New Zealand

Sudan

Swaziland

Nicaragua

Nigeria

South Africa

Kenya

Ghana

Tanzania, United Republic of

Tonga

Guyana

Trinidad and Tobago

Uganda

Palau

Uruguay

Venezuela

Ireland

Grenada

Guatemala

United Kingdom

Zimbabwe

 

"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.

 in the United States (Chicago, IL): 1 (815) 526-7037 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap