I think I have understood the problem. When I create a sub-domain, the panel does NOT create the appropriate folder, and then I can not protect it (obviously).
To do this I solved by reading this simple guide here http://docs.ispconfig.org/creating-w...es/subdomains/
and creating the sub-domain as the domain ... Simple!
Thanks for everything.