Welcome to Blazingfibre - web hosting, website development, custom software, network administration, technical support - London-based

How to determine the path to your home directory

  knowledgebase  :: network status

Your "home directory" is where the directories that store all your other files are kept. It contains, amongst other things, the "htdocs" directory, which is where the files for your website are stored. When you login with FTP, the first directory you see is your home directory.

The path to your home directory is in the format:


Where username is your hosting account username (see the top of your welcome letter), and where X is a unique alphanumeric string. You can determine this string by examining the site configuration in the control panel. You can also determine this string by executing an "info" script (see the scripting page for a sample).

The home directory is commonly used by scripts, which need to know the "full path to the script". For example,


Your "webroot" or "document root" directory is:


Note: on multisite accounts, the webroot is changed to the directory you specified when you added the site.