Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: Haripriya H on January 27, 2014, 04:49:09 pm

Title: Add wildcard domain in Plesk
Post by: Haripriya H on January 27, 2014, 04:49:09 pm
1. Add the * inside the dns zone file of the domain.

==> * IN A IP

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

==> ServerAlias *.domainname.com

3. Run the following command.

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

4. Restart apache.

That's it  8)