Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
Symptoms
- Preferred domain is set to www.example.com in Domains > example.com > Hosting Settings > Preferred Domain, but the redirect does not occur.
- Tools & Settings > Services Management > Reverse Proxy Server (nginx) is off.
Cause
This has been reported as bug ID PPPM-15358.
Resolution
- Log in to Plesk.
- Enable Tools & Settings > Services Management > Reverse Proxy Server (nginx)
- Navigate to Domains > example.com > Hosting Settings > Preferred Domain, re-select www, and click OK to regenerate the web server configuration.
- Verify the redirect is working by navigating to https://example.com
Comments
We use the “prefered domain” feature in nearly all our projects and it worked for years. This issue causes serious problems. Nginx cannot simply be enabled in any project. This also needs to be fixed for environments that exclusively use Apache.
Martin Widemann please update to the latest release as this bug has been fixed: https://docs.plesk.com/release-notes/obsidian/change-log/?18073-mu3#plesk-18077-mu1
Fixed an issue where, on servers without nginx installed, the “Preferred domain” hosting setting failed to take effect.(PPPM-15358)
Please sign in to leave a comment.