• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Force https/SSL single domain; howto

DocGerry

New Pleskian
Plesk 9.5 on Ubuntu on a VPS. Three domains on the server, one of them has the SSL certificate which is the host name of the VPS server

SSL certificate installed myownsingledomain.com

All traffic to http://myownsingledomain.com and files and subdirectories I want to redirected to https://myownsingledomain.com

The domain is set to use the one directory httpdocs, and https://myownsingledomain.com works...the secured green thing comes up on browsers as authenticated until of course you click on any link and it takes you to back to http

Anyone clicking on http://myownsingledomain.com needs to be directed to https with a Rewrite.

The server seems to ignore .htaccess but there is probably a more elegant solution anyway. Perhaps it is so obvious I do not see anything in FAQ or searching the forum. I have searched around and do not find a Plesk specific solution.

Thanks
 
Put this in .htaccess

RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

And make sure your apache conf file has this in it somewhere
#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess
 
Back
Top