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.

Whm

Discussion in 'General Discussion' started by jarred89, Oct 2, 2006.

  1. jarred89

    jarred89 Registered

    Joined:
    Oct 2, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    I have hosting and I am doing free hosting but for the domain name i would like it to be a sub domain to the site domain eg. jarred89.thesite.com how do i do this in WHM?

    Thanks
    Jarred
     
  2. Shinichi Kato

    Shinichi Kato Well-Known Member

    Joined:
    Mar 7, 2005
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Saitama-ken,japan
    Main >> Account Functions >> Create a New Account
    Domain : jarred89.thesite.com
    and
    Submit Create

    Which you want access www.jarred89.thesite.com or jarred89.thesite.com?

    EDIT:
    vi /usr/local/cpanel/etc/httptemplates/apache1/default

    Example1:Not use access www.

    !namevirtualhost!
    <VirtualHost %ip%>
    ServerAlias %serveralias%
    ServerAdmin %serveradmin%
    DocumentRoot %docroot%
    ServerName %serveralias%
    !usecannameoff=1!
    UseCanonicalName off
    !usecannameoff!
    !dirprotect=1!
     
  3. jarred89

    jarred89 Registered

    Joined:
    Oct 2, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    jarred89.thesite.com is an example so how do i create the folder for the peoples stuff to save into or does it do it automatically??
     
  4. intel352

    intel352 Well-Known Member

    Joined:
    Nov 25, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    you can't rely on editing the httptemplates template files, they seem to get regenerated by apache on a regular basis
     
Loading...

Share This Page