This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Redirection HTTP for HTTPS
Redirection HTTP for HTTPS
how redirection:
http://domain.tdl for https://domain.tdl

Thanks given by:
RE: Redirection HTTP for HTTPS
use .htaccess this is the most basic form.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Thanks given by:
RE: Redirection HTTP for HTTPS
You have the code?
I have used several and does not work ...
Thanks given by:
RE: Redirection HTTP for HTTPS
Why not use Module Admin>>Apache Config>>Override a Virtual Host Setting?
Select your domain that you want to be forwarded from 80 to 443
Port Override: 443
Forward Port 80 to Overriden Port: (Check This)
IP Override: Your Server IP (Optional)

Custom Entry:
SSLEngine on


SSLCertificateFile /etc/pki/tls/certs/localhost.crt

SSLCertificateKeyFile /etc/pki/tls/private/localhost.key

If you want HTACCESS option only?

RewriteEngine on

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}:443/$1 [NC,R,L]
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Thanks given by:
RE: Redirection HTTP for HTTPS
Solution !! Smile
Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 20 ,674 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Install guide wget over http? edavidf 5 10 ,191 12-15-2020, 07:07 PM
Last Post: jibranahmed
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 43 ,502 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:

Users browsing this thread: 1 Guest(s)