haalaaluu

Member
Nov 10, 2005
9
0
151
Dear cPanel,
I edited cPanel hosting powered site to add asterisk character for Wildcard DNS Record at httpd.conf vhost setting and update the zone file wildcard accordingly. But after edited, the site can reach with "www" prefix and without "www" i was seeing cPanel default which is same as server page. Are there any special things to take extra tweaking when i wanted to add Wildcard DNS Record features to vhost site?

Example for this time being,
http://www.haalaaluu.com
http://haalaaluu.com

thanks
 

haalaaluu

Member
Nov 10, 2005
9
0
151
zone edit detail

Linux Fedora,
This is how i did the wildcard zone name edit > go to
Code:
/var/named/yourdomain.com.db
add this entry accordingly
Code:
*.yourdomain.com. 14400 IN A 12.34.56.789
restart the BIND by
Code:
/etc/init.d/named restart
i did restart the apache but still the same.. i was nowhere to find the answer, pls help!!!

thanks.
 
Last edited:

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
619
0
166
haalaaluu said:
Linux Fedora,
This is how i did the wildcard zone name edit > go to
Code:
/var/named/yourdomain.com.db
add this entry accordingly
Code:
*.yourdomain.com. 14400 IN A 12.34.56.789
restart the BIND by
Code:
/etc/init.d/named restart
i did restart the apache but still the same.. i was nowhere to find the answer, pls help!!!

thanks.
Edit the dns zone through WHM.

If it still doesnt work paste your virtual host entry here.
 
Last edited:

haalaaluu

Member
Nov 10, 2005
9
0
151
problem solved

well, thanks for all helps. the problem solved now. as i thought, if cpanel and wildcard dns record, this must be in

Code:
Serveralias www.domain.com domain.com *.domain.com
thanks..