Navigate to Domains and Webpages, and select Password Protection
Select Domain Name and click Add
Fill out Username / Password fields and click Add to save Example below protects the folder / area www.demo.com/public_html
The area should be protected - try to visit the area (eg www.demo.no/public_html) and enter your username and password