• 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.

Preferred domain with www in Plesk 11.0.9

SalvadorS

Regular Pleskian
Hello,

How can I configure a domain in plesk panel in order to show the domain with www (www.domain.tld)

Is the propertie "Preferred domain" in plesk 11.5 but in plesk 11.0.9 does not exist. How can I configure this?

Thanks
 
Hi ,

you can use rewrite rules for that, like this one:
RewriteCond %{HTTP_HOST} ^www.DOMAIN.TLD NC]
RewriteRule ^(.*)$ http://DOMAIN.TLD$1 [L,R=301]

this should be put into website's vhost conf:
/var/www/vhosts/dom.tld/conf/vhost.conf
 
Back
Top