Linux Plesk how to add www to a subdomain

To create www prefix for subdomains you need to take the following steps:

1) Create vhost.conf file in the
directory with the following content:


2) Add appropriate A record to the DNS zone of the domain in

(specify this domain’s IP address instead of          A

3) Run wersrvmng utility to apply changes.

# /usr/local/psa/admin/sbin/websrvmng -v -a