Article ID: 453, created on Oct 6, 2008, last review on Aug 12, 2014

  • Applies to:
  • Plesk 10.x for Linux
  • Plesk 9.x for Linux/Unix
  • Plesk 8.x for Linux/Unix
  • Plesk 7.5.x Reloaded


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

1) Create the vhost.conf file in the /var/www/vhosts/<domain_name>/subdomains/<subdomain_name>/conf directory with the following content:


(change the SUBDOMAIN and DOMAIN names with required ones)

2) Add an appropriate A record to the DNS zone of the domain via Parallels Panel, Domains, <domain_name>, DNS settings

(specify this domain's names instead of SUBDOMAIN / DOMAIN names and its IP address instead of A

3) Reconfigure website for applying changes:

For Parallels Plesk Panel prior 10.x:
#$PRODUCT_ROOT_D/admin/sbin/websrvmng -v -a

For Parallels Plesk Panel 10.x:
#$PRODUCT_ROOT_D/admin/sbin/httpdmng --reconfigure-all

b8ef5052d936e902043e41759118114e a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 097728dc0a325f6309aa7a3997d4cacc 6ef0db7f1685482449634a455d77d3f4 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF