Domains do not work with
www and got redirected to non-www address.
'Preferred domain' option was set to 'domain.tld' in Hosting settings by default.
It is needed to follow below steps to enable www prefix for domain.
- Login into Plesk Panel.
- Go to Home> Subscriptions>domain.tld> Websites & Domains> domain.tld> Hosting settings .
- Then you will see the option 'Preferred domain'
- By default this option is set to 'domain.tld' and it is default behavior.
- Set 'Preferred domain' to www.domain.tld