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.

What is www in a cPanel account's home directory?

Discussion in 'General Discussion' started by browserdaily, Dec 6, 2010.

  1. browserdaily

    browserdaily Member

    Joined:
    Dec 1, 2010
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    When I go into the file manager what is the difference between the WWW folder and the public HTML folder when I change them they seam to do the same thing.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The www is a system link, or shortcut, to public_html.
     
  3. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    To expand on Infopro's comment, the www is what is known in Linux and Unix as a symbolic link, or symlink, to public_html. You can think of a symlink as a type of alias or shortcut. www is not a file or directory itself, but rather it is simply a shortcut to the public_html directory.

    If you would like more information about symbolic links, the following is a good tutorial, though it is written from the perspective of a user with shell access, not necessarily a cPanel FTP or File Manager user:

    ln – make links and symlinks between files or directories | Unix Tutorial
     
Loading...

Share This Page