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

Popular posts from this blog

KVM & Qemu

PHP Fatal error: Class 'JFactory' not found

docker.errors.APIError: 400 Client Error client is newer than server