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.

change public_html dir under skeleton dir

Discussion in 'General Discussion' started by ampunboss, Jun 12, 2004.

  1. ampunboss

    ampunboss Member

    Joined:
    Jun 12, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm moving old server (no cpanel) to new server that using cpanel. my old server is now using "/home/username/www" format for default html directory, but cpanel using "/home/username/public_html", i was wondering how i could change this default html directory at cpanel.
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    It shouldn't make any difference because cpanel also creates a www symbolic link to point to public_html, so they're basically one and the same. Users can use either one for most situations.
     
  3. ampunboss

    ampunboss Member

    Joined:
    Jun 12, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    then i can use the following path to home dir /home/username/www ?

    what if i want to point /home/username/htdocs? where & how should i make a symbolic link
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Yes

    A symlink is created in shell. To see how it works, in a shell screen type either:
    ln --help
    or
    man ln
     
Loading...

Share This Page