Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Add wildcard domain in Plesk  (Read 3460 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
Add wildcard domain in Plesk
« 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)