I modified the code in my .htaccess file same as yours, but No luck.
Let me explain you in more detail. I face 2 issues right now.
Case 1: I have installed LetsEncrypt SSL for the control panel (https://panel.domain.com). When I visit the control panel page via https it works perfect.
But when I visit the the page via only http it says This site can’t be reached.
What I want is that http should automatically get redirect to https
Case2: After setting up my Sentora installation when I add my 1st domain say mydomain.com everything works good, but again when I visit my Sentora panel via http (http://panel.domain.com), it opens up my 1st added domain i.e mydomain.com which is very weird.
Thanks & Regards. Really appreciate it.
Let me explain you in more detail. I face 2 issues right now.
Case 1: I have installed LetsEncrypt SSL for the control panel (https://panel.domain.com). When I visit the control panel page via https it works perfect.
But when I visit the the page via only http it says This site can’t be reached.
What I want is that http should automatically get redirect to https
Case2: After setting up my Sentora installation when I add my 1st domain say mydomain.com everything works good, but again when I visit my Sentora panel via http (http://panel.domain.com), it opens up my 1st added domain i.e mydomain.com which is very weird.
Thanks & Regards. Really appreciate it.