Hey guys. I need a little bit of help. I am a complete newbie to system administration so I have no idea how exactly to do this.
I have just bought my first VPS with CWP pro. I have created a Let's Encrypt R3 certificate in the panel and it works with https prefix. What I want to do now is to make all HTTP automatically redirect to https (that has a certificate). I have managed to do this with a plugin in a WordPress site that is hosted on VPS, but I want it to work for the whole server (for eg. mail.site.com, etc).
I'm running on CentOS7 with Apache/2.4.39 (Unix)
Any help would be appreciated