Understanding your Windows account file system

Understanding your Windows account file system

This article explains the structure of a users home directory/web space on a Windows hosting account.

This article applies to Windows Shared Hosting, Windows Reseller accounts and Windows Dedicated Servers.

Each Windows 2003 hosting account has a home directory in which you store your site content and databases. When you log into your account using FTP you will be placed within your home directory. Inside your home directory there are two folders:

www Folder

This folder is the root of your web site, you should place inside it the web pages, scripts and images that make up your web site. You should call your home page index.html or index.asp and place it within this folder.

private Folder

The web server and thus your scripts have full access to this folder, however the folder is not directly accessible by your web site visitors. This is therefore a good place to store any Microsoft Access databases or data files.

You may need to reference the path to your home directory in your scripts. We recommend that you use relative paths or take advantage of the Server.MapPath function in ASP. If however you do wish to use the full path, it would be as follows (for an account named joebloggs):

\HOME\j\o\joebloggs\www

Please note: When the account is accessed via the SSL secure server the full path will be different.