After I have followed the steps in this turorial, I’m now enable to open the websites page https://<subdomain.website-domain>/websites/some-website.com . I can only access it when I use port 8090 in the url, is there any solution to the problem?
Happy New Year @shadi
Reboot your server or restart lscpd and lsws
systemctl restart lsws || service lsws reload
systemctl restart lscpd || service lscpd restart
reboot
Still not working!
Did you rewrite the rule for switch.cyberpanel.net using the tutorial 6 - Rewrite Rules
Are you using Litespeed or Open LiteSpeed ?
Yes, this what I added:
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
REWRITERULE ^(.*)$ http://cyberpanel/$1 [P]
Kindly just use what is there first. Remove the rest first
Not working, I have removed the rest. But it is not working… The rest was for forcing https
Run an upgrade of your cyberpanel 02 - Upgrading CyberPanel - Docs - CyberPanel Community
Still not working