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.

How to add www in front of subdomain

Discussion in 'General Discussion' started by demomen, May 2, 2006.

  1. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    I want to add www in front of a subdomain eg www.subdomain.domain.com
    I also want it accessible by subdomain.domain.com how it is now

    How can I do this
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
  3. demomen

    demomen Well-Known Member

    Joined:
    Sep 25, 2004
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Do you mind giving an example of how it should look
     
  4. NT

    NT Well-Known Member

    Joined:
    May 4, 2004
    Messages:
    137
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    England, UK
    Hi,

    I believe this is added automatically when creating a sub-domain.

    If not, you will need to add it as a 'ServerAlias' in /usr/local/apache/conf/httpd.conf in your sub-domain's VirtualHost container.

    Hope that helps :)
     
Loading...

Share This Page