I want to add Wildcard to DNS in my VPS (for setup Wordpress3.3.2 multisite). I have Kloxo, and when i want to add it from Manage DNS ( in Domain Adm ), i face with this error.
Alert: invalid_subdomain
Also i removed:
// Validates subdomain
if (!preg_match("/^(([a-zA-Z]|[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z]|[A-Za-z][A-Za-z0-9\-]*[A-Za-z0-9])$/", $param['hostname'])) {
throw new lxexception('invalid_subdomain', 'hostname');
}
from /usr/local/lxlabs/kloxo/httpdocs/htmllib/lib/dns/dnsbaselib.php, but now sub-domains shows my IP address home. I want to setup it for this domain:310blog.com ,and my ip server is 178.162.231.63. ( for example when i make a sub-domain : http://saman.310blog.com/, it shows Kloxo default page )
How can i fix it?