Help - Search - Members - Calendar
Full Version: How to set wildcard in cPanel?
The Planet Forums > Control Panels > cPanel/WHM
alilam
How do I set it? like *.domain.com

i know we can just simply do it by creating subdomain
but then i have a client need wildcard dns so he can run his script!
if i am wrong, please tell me

How do I JUST set his domain to have wildcard function?


Please help!
Thank you
HostDime
Sounds like you'd have to do that manually in apache, and finding his virtual host. Do this in SSH:

cd /usr/local/apache/conf;cp httpd.conf httpd-wldcrd.conf;pico httpd.conf

^ copy and paste that into SSH...

When you're done, run:

service httpd restart

If you get an error,

mv httpd-wldcrd.conf httpd.conf;service httpd restart
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.