Friday, March 22, 2013

Add wildcard domain in Plesk


Add the * inside the dns zone file of the domain.

* IN A IP

Edit /var/www/vhosts/domainname.com/conf/vhost.conf and add the line

ServerAlias *.domainname.com

Run the following command.

/usr/local/psa/admin/bin/websrvmng -a -v

Restart apache.

No comments:

Post a Comment