ispCP - Board - Support
how to make wildcard subdomains point to main domain - 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: how to make wildcard subdomains point to main domain (/thread-12748.html)



how to make wildcard subdomains point to main domain - cham74 - 01-23-2011 07:20 PM

I need to have wildcard subdomains and I see that in the ispcp.conf file domain aliases have wildcard *.mydomain.tld

however when I ping testing.mydomain.tld
returns ping: unknown host testing.mydomain.tld

I manually added

*.mydomain.tld. IN A x.xxx.xxx.xx

Where is the ip is the same as the http://www.mydomain.tld

to /etc/ispcp/bind/working/mydomain.tld.db

and ran sudo /etc/init.d/bind9 restart

Using the interface to set up a subdomain works fine, creating a folder, but I don't need that, I want to point the subdomains to the main domain. As per this thread http://groups.drupal.org/node/16862#debian

This thread suggests the same configurration, http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain

Any suggestions why it is not working and what I am doing wrong. Thanks


RE: how to make wildcard subdomains point to main domain - Gomez - 02-19-2011 06:41 PM

I have the exact use case. I need to point a subdomain to the root "/" of the domain (for a Wordpress MU installation).

If i enter in "Directory tree mount point" ISPCP gives the error:
"Incorrect mount point syntax!"


cham74 u found an anwser?