What is cPanel Hosting


If you’re new to cPanel hosting, this is what you need to know. cPanel is a control panel for managing your hosting service. The best thing about it is that it allows non-technical people to manage all aspects of their hosting without needing advanced technical skills to do so. It also covers basic management, including creating email accounts and password resets. Other features include domain parking where you can redirect one domain to another or addon domains, host several different domain names under one hosting account.

What other benefits are there to using a cPanel? As mentioned above, you can manage your emails easily. You can set the mailbox quota, configure your emails to go to your Gmail account. If you want to access your email on the go, you can access it using any internet-connected device. It’s scalable in that you can use it for shared hosting, reseller hosting, Virtual Private Servers and Dedicated Servers. It is also low cost as cPanel licences are not expensive at all.

cPanel does not have any site limits meaning that you can have as many as you want under one licence. It’s very easy to install that once you have your Linux Server Installation ready, you just need to run the cPanel script. If you’re looking for portability, migrating from one cpanel server to another is easy. If you wish to transfer your hosting to another supplier, then this is ideal.

We all have valuable data and security is a must. cPanel includes several backup options and also works with third-party backup software such as r1soft/idera. Not only is cPanel easy for non-technical people to use, but it also has advanced features for those who know what they’re doing, such as programming options, set up custom error pages like 404 or troubleshooting DNS errors.

How to Create A Password Protected Directory in cPanel

Within your website’s directories, you may have some files or information stored that you don’t wish all users to access freely, but you still want to keep it stored there for practical use. This may simply be the inner workings of your website, or it could be sensitive data. Fortunately, if you use a free hosting provider that offers cPanel as a platform for hosting and configuring your site, this won’t be a problem.

Cpanel directory password

The appropriate solution here is to set up a specific password-protected area to store the information. This will require a username and password before access to the secure directory is granted. A simple dialog can be displayed promoting a user for valid login details when they navigate to it.


In order to set this up, follow these steps:


1) Log in to your cPanel account through your usual route to access your main control panel.


2) From here, go to “Preferences” and choose the “Password Protect Directories” or “Directory Privacy” icon.


3) Input the directory details in the pop up dialog box. These will include the paths for your directory in the root folder and for your domain.


4) Select whether you want to show hidden files to users, which you would not normally need to enable unless you have a specific reason.


5) Click “Go” to be taken to the next stage.


6) Select your top level folder and sub-directory, navigating to the folder you want to password-protect.


7) Proceed and find the “Security Settings”, then tick the box for “Password protect this directory”.


8) Provide a name for the protected directory, which will be visible to anyone who attempts to access it when the dialog box asking for login details appears.


9) Click “Save” and then “Go back”.


10) Find a section named “Create User” and complete the fields for “Username” and “Password” before confirming the password, preferably using a “Very Strong” one.


11) Select “Add/modify authorized user” to confirm the user details you just created.


12) Add new users via the same method if you need multiple people to access your directory, or remove users as required.