Wildcard for adding more domains NEED HELP PLEASE
I have installed xpanel... In case you are not familiar. Xpanel is a script that allows you to give your users free web space.. The script is up and running fine. The problem is that I have about 15 domain names to add to xpanel.Here is what Lillian from xpanel support told me to do.
=============================================
to add more domains you need to do 2 things
1 add domain name in /usr/local/xpanel/Conf/Config.pm file, you will see example there with domain xpanel.de ...
(I have this step completed..)
2 create wildcard for all domains, see example of wildcard in var/named/myhosting.com.db
wildcard example:
free IN A 205.209.150.12
* IN CNAME free.mydomain.com.
cheers,
lilian
=============================================
Below is a copy of what is in the var/named/myhosting.com.db
; cPanel
; Zone file for mydomain.com
$TTL 14400
@ IN SOA ns1.mydomaincom. email.domain.com. (
2004072802 ; serial, todays date+todays
14400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
mydomain.com. IN NS ns1.mydomain.com.
mydomain.com. IN NS ns2.mydomain.com.
mydomain.com. IN A 2xx.2xx.1xx.1x
localhost.mydomain.com. IN A 127.0.0.1
mydomain.com. IN MX 0 mydomain.com.
mail IN CNAME mydomain.com.
www IN CNAME mydomain.com.
ftp IN A 2xx.2xx.1xx.1x
free IN A 2xx.2xx.1xx.1x
* IN CNAME free.mydomain.com.
My question is.. if I want to add more domains.. (have already added them in the ConfigPM file).. how exactly would I add the other domains in here?
Let's say I have 10 other domain names here to add.. would I just copy the above and change the domain names to the new ones? Newbie.. please explain step by step..
thanks
Very MUCH appeciated..