My website asks for a username and password when I try to view it. How can I change this?

Navigate to cPanel's Directory Privacy interface (Home >>Files >> Directory Privacy). 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.