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

Using a Linux server to route packets between two private networks

PHP Fatal error: Class 'JFactory' not found

KVM & Qemu