Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    25

    Default missing www serveralias...

    Hello,

    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. #2
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jmcole
    since the ServerName is www.domain.tld, is the www.domain.tld ServerAlias necessary?
    No, the new format works the same.
    Quote Originally Posted by jmcole
    we also want to add a ServerAlias line for: username.servers.hostname.tld for clients to use before the domain resolve to our network.
    See the Apache documentation for a good example of how this works: http://httpd.apache.org/docs/1.3/mod...ml#serveralias
    Quote Originally Posted by jmcole
    what would the verbage be to add the www.domain.tld ServerAlias as well as our additional ServerAlias. any help would be greatly apprecated.
    The additional ServerAlias for www.domain.tld would be redundant.
    Quote Originally Posted by jmcole
    also, why this removed from the new script?
    The new format is more consistent with the desired Apache configuration. Shouldn't result in any different functionality.

Similar Threads & Tags
Similar threads

  1. ServerAlias using wildcard done right
    By bigolo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-22-2011, 08:04 PM
  2. ServerAlias for a domain
    By lloyd252 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-24-2010, 01:34 PM
  3. ServerAlias has lost www on all domains after upgrade
    By anton_latvia in forum cPanel and WHM Discussions
    Replies: 37
    Last Post: 02-19-2008, 07:55 AM
  4. cPanel Update = All ServerAlias www removed
    By jdhf99 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-29-2007, 10:36 PM
  5. Wildcard ServerAlias
    By mishmash in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-30-2004, 09:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube