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.

public_html and www why need both?

Discussion in 'General Discussion' started by myweb, Nov 28, 2003.

  1. myweb

    myweb Well-Known Member

    Joined:
    Jun 18, 2002
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tokyo
    Why are the two directories (I know www is a symlink) are created? Why not only www or public_html?
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    The www is treated as a subdomain to allow www.domain.com to work. Delete that symlink and the site won't work with the www in front of it.
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,383
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    I think Frontpage uses the www directory, when uploading content. Why not just have the www directory? I don't know.
     
Loading...

Share This Page