Help Center › Hosting & cPanel

I need to create a login on my website. How do I accomplish this?

To make a part of your website (or all of it) ask for a username and password, use cPanel's Directory Privacy page.

  1. Log in to cPanel and go to Files > Directory Privacy.
  2. Click Edit next to the folder you want to protect.
  3. Tick Password protect this directory, give it a name (this appears in the login box) and click Save.
  4. Under Create User, add a username and password for each person who should have access.

This is a simple browser login. If you need user accounts with sign-up, profiles or member areas, use your website software (for example a WordPress membership plugin).