• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Preferred domain does not redirect www.example.com to example.com

gsk

New Pleskian
I have a certificate that includes only the domain and not the subdomains.
Therefore under settings / preferred domain , I have selected example.com in order to redirect all the traffic from www.example.com to example.com, thus my secured domain.

The strange thing is that if I select www.example.com, it works. It redirects traffic from example.com to www.example.com but the opposite fails.

Unfortunately this does not work.

I do not work to use another certificate for the subdomain www.example.com.
I simply want to redirect subdomain www to my domain.

I have tried setting directives through apache settings but plesk seems to ignore them.

I use external DNS and I have a CNAME record that points to domain, thus www.example.com and example.com point to the same ip.

Thanks in advance for your help.
Screenshot 2021-12-21 at 10.37.13 PM.png
 
Back
Top