Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4648

Sentora Panel Redirecting To Hosted Site When Not Using SSL/HTTPS

$
0
0
Basically I found this thread which this user is experiecing the exact same problem I am right now, basically word for word (and config for config).

http://forums.sentora.org/showthread.php?tid=2721

It was never resolved.

The problem, in short, is I installed a LetsEncrypt SSL certificate for the control panel and HTTPS/SSL works fine. But when I attempt to connect to the panel without SSL and just specify HTTP, it redirects to a hosted site (the first one that was created on the server).

I have made the adjustments recommend on the SSL Installation guide, as well as added the following to the top of my /etc/sentora/panel/.htaccess file

Code:
# Force SSL - Always first!
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

But it's still redirecting to the hosted site.

Viewing all articles
Browse latest Browse all 4648

Trending Articles