The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need to add wildcard for every new website created

Discussion in 'General Discussion' started by unomateo, Feb 19, 2008.

  1. unomateo

    unomateo Active Member

    Joined:
    Jan 14, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. sldubr

    sldubr Member

    Joined:
    Aug 31, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I Yes, I too search as to make such. Someone knows?
     
Loading...

Share This Page