zpanel/zpanelx — pull request #232 by jeromyjclark (2014-07-14 05:25:31+00:00)
Title: EASY Fix: Enable Wildcard Subdomains w/ Just 2 Characters

At or around line 251, in the 'static function IsValidDomainName($a)', simply add '\*' into the first group so that the form will also accept an asterisk along with numbers, letters and hyphens within a subdomain name. When the daemon/cron runs its process -everything falls into place. In other words - it will work just like adding a subdomain using cPanel.