Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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
     
  2. sldubr

    sldubr Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice