x
Search Posts:
BLOG POST #104 SHOW ALL

Plesk subdomain alias howto

Create a vhost.conf file in the /var/www/vhosts/<domain_name>/subdomains/<subdomain_name>/conf/ directory.

Add the ServerAlias directive:
ServerAlias www.SUBDOMAIN.DOMAIN.com

From shell execute:

for plesk < 10.x
/usr/local/psa/admin/sbin/websrvmng -a
for plesk >=10.x:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all