Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 4 of 4

Thread: File structure

  1. #1
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    45

    Default File structure

    Hi all,

    On my Plesk file manager the highest level I can see is my domains (ie mydomain1,com, mydomain2,com) and I can't see higher levels such as

    vhosts
    www
    etc
    usr
    tmp
    var

    Is this normal - why can't I see these higher levels in Plesk file manager?

    Thanks

  2. #2
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    45

    Default

    also I am trying to display my home path

    echo $HOME
    /root
    cd /root
    ~# ls
    mhtest.sql


    home path.jpg

    Why does listing the contents of the root directory give just one .sql file?

    thanks

  3. #3
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,080

    Default

    When you connect to the server via FTP, SFTP or SSH, or enter the File Manager in Plesk, you will see a number of ready-made directories under your domain's home (usually /var/www/vhosts/domain.tld/, where domain.tld is your domain name). Each has a different purpose and all are created by Plesk for your domain in order to provide various functions.

    You cannot rename or delete any of these directories, nor are you allowed to upload files into a directory unless it is within one of the directories with the required permissions (e.g. httpdocs/ for the main website files), as they contain files important to the running of your account. By managing the files in these directores through Plesk it helps prevents accidents, such as putting a file in the wrong place, deleting a file or changing a file's contents when you shouldn't.
    You can also check this discussion
    Creating Directory Above Root

  4. #4
    juc1 is offline Silver Member
    Join Date
    Dec 2010
    Posts
    45

    Default

    Quote Originally Posted by suwunk View Post
    When you connect to the server via FTP, SFTP or SSH, or enter the File Manager in Plesk, you will see a number of ready-made directories under your domain's home (usually /var/www/vhosts/domain.tld/, where domain.tld is your domain name). Each has a different purpose and all are created by Plesk for your domain in order to provide various functions.

    You cannot rename or delete any of these directories, nor are you allowed to upload files into a directory unless it is within one of the directories with the required permissions (e.g. httpdocs/ for the main website files), as they contain files important to the running of your account. By managing the files in these directores through Plesk it helps prevents accidents, such as putting a file in the wrong place, deleting a file or changing a file's contents when you shouldn't.[/URL]
    Ok thanks do you have a link for this quote?


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts