need to add wildcard for every new website created

unomateo

Active Member
Jan 14, 2006
27
0
151
can someone show me how to do it. I use to edit the httpd.conf file and add the wildcard there but now with easyapache3 it seems to have changed.

I tried adding the wildcard to vhosts.default like this:
Code:
[% ELSE -%]
    ServerAlias [% vhost.serveralias %] *.[% serveralias%]
[% END -%]
but it gets removed when I run
/usr/local/cpanel/bin/apache_conf_distiller --update

I think I need to add a vhost somewhere so it will make the www and *

Thanks
 

sldubr

Member
Aug 31, 2007
10
0
51
can someone show me how to do it. I use to edit the httpd.conf file and add the wildcard there but now with easyapache3 it seems to have changed.

I tried adding the wildcard to vhosts.default like this:
Code:
[% ELSE -%]
    ServerAlias [% vhost.serveralias %] *.[% serveralias%]
[% END -%]
but it gets removed when I run
/usr/local/cpanel/bin/apache_conf_distiller --update

I think I need to add a vhost somewhere so it will make the www and *

Thanks
I Yes, I too search as to make such. Someone knows?