ispCP - Board - Support
Wild Card subdomains/vhost entry - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Wild Card subdomains/vhost entry (/thread-1880.html)



Wild Card subdomains/vhost entry - achioo - 11-27-2007 10:05 PM

I'm wondering if anyone knows how to setup a wildcard subdomain entry for bind and in apache's vhost. I got somethin special I want to setup for folks but I'm not sure how to go about setting up wildcards for DNS and Apache using ispCP...


RE: Wild Card subdomains/vhost entry - joximu - 11-27-2007 10:13 PM

use * for every domain-part

ex: domain.tld - zone file
* IN CNAME mainserver.tld.
*.* IN CNAME mainserver.tld.
*.*.* IN CNAME mainserver.tld.

so you can use abc.domain.tld, asd.fgh.domain.tld and qwe.ert.zui.domain.tld to reach the server.

In apache you use ServerAlias.

and: no - this is not integrated in ispcp...


RE: Wild Card subdomains/vhost entry - tassoman - 06-03-2008 03:11 AM

is it enough editing zonefiles by hand and also site available .conf ?