for example if you have subdomain.domain.com , I would like to password protect subdomain.domain.com so that if I go to http://subdomain.domain.com I will be prompted with username / password.
from the panel I went to domain.com, Create a new protected directory under the site subdomain.domain.com but there it ask for a Directory name * which leads me to believe you can password protect a directory within subdomain.domain.com/directory but not subdomain.domain.com .