I always seem to forget this. So here’s to remembering. As usual, you create a vhost.conf file in the conf folder of your domain dir. Here’s what mine looks like.
DocumentRoot /var/www/vhosts/niagaraschool.com/httpdocs/wordpress <Directory /var/www/vhosts/niagaraschool.com/httpdocs/wordpress> Order allow,deny Allow from all AllowOverride all Options +Indexes Options +FollowSymLinks </Directory>
Telling Plesk to recognize the new vhost.conf file
This is the part I always forget.
Initializes vhost.conf for one specific domain
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com
Initialize all vhost.conf files for all domains.
Aaron Gadberry has a great tutorial including some great comments explaining more complex scenarios such as symlinks. Check it out: http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/