Navigate to cPanel's Password Protect Directories interface (Home >> Security >> Password Protect Directories). In this interface, you can modify the password protection settings for your domain.
If your main domain asks for a password, modify the settings for the public_html
directory.