Directory and File Structure

Windows Hosting

The following directories are present within the site root of any Windows Hosting package:

Directory

Contents

\Web contains all files that are part of the website
\Dlls\Uploaded contains all DLLs to be registered
\webstats contains all files pertaining to web statistics for your website
\Logs contains web, ftp and smtp log files of the previous day
\Logs\web contains rotated web backlogs
\Logs/ftp contains rotated ftp backlogs
\Logs\smtp contains rotated smtp backlogs
\ssl contains SSL certificates for the site, if provided via the web interface
\Private contains any files that the user may need to store on the site, which must not be accessible on the Internet
\DataFiles contains files, which being inaccessible on the net, can be accessed by other files inside the web folder e.g., an access database (.mdb file) which is used by an asp page. This folder will have write permission set by default.

Linux Hosting

The following directories are present by default on any Linux Hosting package on the server:

Directory

Contents

/web contains all files that are part of the website
/web/webstats contains all files pertaining to web statistics for your website
/logs contains web, ftp and smtp log files of the previous day
/ssl contains SSL certificates for the site, if provided via the web interface
/private contains any files that the user may need to store on the site, which must not be accessible on the Internet

cPanel Linux Hosting 1

  1. 1. Directory and File Structure of a cPanel Linux Hosting package