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.

Configuring Let's Encrypt for Sentora and Domains http://docs.sentora.org/?node=102
#4
RE: Configuring Let's Encrypt for Sentora and Domains http://docs.sentora.org/?node=102
You are getting the 500 error because their is no vhost entry for http for the panel login sub domain which would then redirect to https.

If you add this to the end of your custom virtual host for mydomain.com it should accept http://panel.mydomain.com and redirect it to https://

Code:
</VirtualHost>
<VirtualHost *:80>
    ServerName panel.mydomain.com
    DocumentRoot "/etc/sentora/panel/"
    Redirect permanent / https://panel.mydomain.com

Sorry, but I do not have time to test it first.

There is also another way of doing this that is more proper, but it requires a bit more knowledge and editing files through SSH. If the above doesn't work, I'll walk you through how to do it using the proper method.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: marvoh


Messages In This Thread
RE: Configuring Let's Encrypt for Sentora and Domains http://docs.sentora.org/?node=102 - by TGates - 09-03-2016, 03:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,115 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,212 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,658 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)