FTP Folders Problem, Please Help.

Discussion in 'Site & Server Administration' started by Kapil Khaneja, Sep 10, 2008.

  1. #1
    Hi All

    On a clients website ftp i saw there are 2 folders "www" and "Public.html" both with the same files. Now the client wants me to keep 1 out of them and delete the other one. I experimented and deleted both the folders individually but in both cases the website goes Down. Can anyone help me making out from which folder the site is actually running and how can i make it run from a single folder.

    Thanks
    Kapil Khaneja
     
    Kapil Khaneja, Sep 10, 2008 IP
  2. Kapil Khaneja

    Kapil Khaneja Active Member

    Messages:
    316
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    I am still waiting for a Guru to help me with this problem.
     
    Kapil Khaneja, Sep 10, 2008 IP
  3. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    public_html is the original folder for your site
    www is an alias folder for public_html :)

    both must be available because it's created by default by cpanel :)
     
    nimhost, Sep 10, 2008 IP
  4. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #4
    I am not sure why you need to delete one of the folders. Making the changes in default setting may break the functionality of the software. I would not recommend you to delete any folder. For your information, www is like a shortcut of public_html folder.

    Kailash
     
    kailash, Sep 10, 2008 IP
  5. Kapil Khaneja

    Kapil Khaneja Active Member

    Messages:
    316
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    1 more question. If one of the folders is an Alias of the other, which one should i FTP files to when i need to make any changes. Will these changes take effect on the other folder Automatically or should i update both the folders.

    Thanks
     
    Kapil Khaneja, Sep 10, 2008 IP
  6. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #6
    ^

    it will automatically updating www folder when you uploading your files into public_html :)
     
    nimhost, Sep 11, 2008 IP
  7. avi2008

    avi2008 Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    Tell ur client that both the folders are required..! :)
     
    avi2008, Sep 12, 2008 IP
  8. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Deleting any folder will break the site, as www is a alias. There is no harm keeping the directories as it's required and built as per the cPanel skeleton.
     
    hostingonweb, Sep 12, 2008 IP