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!

missing www serveralias...

Discussion in 'General Discussion' started by jmcole, Aug 28, 2005.

  1. jmcole

    jmcole Active Member

    Aug 17, 2004
    Likes Received:
    Trophy Points:

    ever since the new "release" version was released it seems that when new accounts are created via whm, only a domain.tld ServerAlias is created within httpd.conf for the site. I found the following in /scripts/wwwacct:

    $AGS{'serveralias'} = ${domain};

    since the ServerName is www.domain.tld, is the www.domain.tld ServerAlias necessary?

    we also want to add a ServerAlias line for: username.servers.hostname.tld for clients to use before the domain resolve to our network.

    what would the verbage be to add the www.domain.tld ServerAlias as well as our additional ServerAlias. any help would be greatly apprecated.

    also, why this removed from the new script?
  2. BenThomas

    BenThomas Well-Known Member

    Feb 12, 2004
    Likes Received:
    Trophy Points:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    No, the new format works the same.
    See the Apache documentation for a good example of how this works:
    The additional ServerAlias for www.domain.tld would be redundant.
    The new format is more consistent with the desired Apache configuration. Shouldn't result in any different functionality.

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