Add the following to the top of the .htaccess file in your websites document root to force https:// (SSL) on the domain. If you are using our web hosting, you can use the web file manager or access it using an FTP client. A valid LetsEncrypt SSL certificate should be generated automatically for your domains.
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
This works for any Apache or LiteSpeed web server.
Most Popular Articles
Setup Teamspeak 3 Server on Linux (CentOS)
If you run a gaming community, a Teamspeak 3 server is probably a popular choice for you to have...
Change MySQL Data Directory in Linux
There's many reasons that you might want to change the directory that your MySQL data is stored...
Disable root SSH access and setup sudo user on CentOS
Disabling root SSH logins and adding an additional sudo user is a good security measure for any...
Mojang Authentication Down (OpenJDK - Ubuntu/Debian)
If you're using Linux Ubuntu / Debian with Java OpenJDK (Spigot, Craftbukkit, Forge, etc.) and...
Resize KVM VPS Partition with GParted ISO
Resize a Linux OS partition to use extra drive space allocated after an upgrade. A few notes:1)...