Add wildcard DNS entry for newly created accounts
Need to add the wildcard dns entry in the template file: /var/cpanel/templates/apache2_2/vhost.default
[% FOREACH alias IN vhost.serveralias_array -%]
ServerAlias [% alias %]
ServerAlias *.[% wildcard_safe(vhost.servername) %]
Comments
Post a Comment