Home . Website Hosting . Chat and Forum . FTP Hosting . Chat Software . Forum Hosting


Password-protected Folders
  The password protection feature will work with a folder (also called a directory) placed in your www folder. The folder name you choose is case sensitive.

- Create the folder first in your www directory.

-Then place any pages you want to password-protect in that folder.

- Next, login to the Control Panel and click "Password-protect a folder." First fill in your folder (directory) name as well as the password you want, then wait five minutes and return to the same page and under #2 you type the directory name you just created and click submit, it will then let you add or change user information anytime.



Protecting the whole website or a folder within a folder:

The Control Panel Password Protection feature only works with top level directories such as "directory". It is not designed to work for subdirectories, such as "directory/subdirectory" or to protect the entire website.

Here are instructions on how to set this up manually on the server for other subdirectories, or for your entire site:

1) Place the following in a text file called '.htaccess' under the directory you wish to password protect (to passwsord-protect your whole website, place this text file in your regular "www" directory where your homepage is) replacing "USERNAME" with your account username (used to login via FTP) and "HTACCESS_USERNAME" with the new username you wish to grant access to:

AuthUserFile /home/USERNAME/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic
require user HTACCESS_USERNAME

2) Login to your domain via ssh and run the following command. This will create the .htpasswd file and an htaccess user.
htpasswd -c /home/USERNAME/.htpasswd HTACCESS_USERNAME

(again, replace USERNAME and "HTACCESS_USERNAME" with your info)

Details on using SSH are here


Return to Help Guide Home