cPanel interview questions

1) What is cPanel?

cPanel is a Linux-based web hosting control panel. It provides graphical user interface and is packed with lots of features that automates the process of hosting a website. It is a premium software, which is developed by a private company, cPanel Inc.

cPanel has been written in Perl and was first released in March 21, 1996. It can only be installed in Linux servers, it supports CentOS, RHEL and CloudLinux operating software.

Nowadays most of the Linux webhosting servers use cPanel to host and manage websites on their servers. If a person purchases the hosting from companies like GoDaddy, Hostgator or even from smaller local companies, it is more likely that the hosting will come with cPanel.

2) Types of cPanel Users

  • Server Administrator
  • Reseller Accounts
  • User Account

Server Administrator − This user is the root user of a cPanel Linux Server and has all the permission over the server. Server Admin can create, modify or delete any account from the cPanel Server. The Server Admin has access to cPanel WHM (Web Host Manger), which can be understood as the backend of cPanel.

Reseller Accounts − This user is created by the server administrator and server administrator can choose which type of permissions should be given to reseller accounts. A Reseller account can further create user accounts and has access to all those accounts, which they have created. One reseller account does not have access to the user accounts that were created by another reseller accounts. They also have access to WHM with limited permissions.

User Account − These are normal user accounts, each user who subscribes for a web hosting from a company, is given this type of account. They do not have access to Web Host Manager. User account can host single or multiple websites according to their plans they have purchased from web hosting provider.

3) Advantages of cPanel

cPanel offers the following advantages −

  • It is very easy to host a website using cPanel.
  • It is multiannual and available in many languages.
  • It is responsive and adapts to any screen size, it can be used efficiently in mobile and Tablet too.
  • cPanel has in–built File Manager, which helps in managing your files without the hassles of an FTP.
  • cPanel has integrated webmail software, which helps in sending and receiving emails through online webmail client.
  • You can easily create a backup of your website in a few steps. This will help you to restore your backup, if your website encounters any error.
  • You can easily manage your website databases, as cPanel has integrated phpMyAdmin, which helps to directly manage databases.

4) Disadvantages of cPanel

cPanel does not have any significant drawbacks, however here are a couple of its notable disadvantages −

  • cPanel is a commercial software and you need to pay to get this.
  • cPanel is meant for small and medium websites only. Creating a large website using cPanel is not recommended.

5) How to register domain name in cPanel?

Step 1 − Choose a perfect domain name for your website. If it’s a business website, then you may want to go with a domain name, which is the name of your business.

Step 2 − Choose a good domain registrar company having good support infrastructure. For example, GoDaddy or BigRock.

Step 3 − In the registrar’s website, check if your domain name is available for registration. If the domain you selected has been already registered by someone, then you will have to think of some other domain name. If your domain name is available to register, then you can proceed further.

Step 4 − Provide your contact information and everything that the registrar asked for. It is mandatory that you provide correct information while registering a domain name, as it will be visible to everyone if the user looks for WHOIS information.

Step 5 − You can hide your contact details by choosing to be viewed by anyone by subscribing privacy protection service. This service hides all your contact information to everyone except the registrar, this service is provided by many domain registrars at some extra cost.

Step 6 − Complete the purchase by paying the registration fees. Domain name will be registered to you.

6) Types of web hosting in cPanel.

There are basically three types of web hosting −

Shared Hosting − In this type of web hosting, a single server hosts multiple websites, sometimes thousands of them. Each account on this server has certain limits on using disk space to store websites, databases and bandwidth. This is the amount of data transferred through your website. This type of hosting is cheap and suitable for small and medium websites.

Virtual Private Servers − In this type of hosting, a Linux Server is divided into several parts and each part acts as a different server, each server has some limited resources given. In this, the VPS administrator has root access to his VPS and can then host single or many websites according to his need. These type of hosting is recommended for medium and large websites. Cost of VPS is higher than Shared Hosting, but lower then Dedicated Hosting.

Dedicated Server − In this type of hosting, a whole server is rented to the user, who can host a large website on this server or can use it to host multiple websites in this server, the server admin can create multiple VPS. Cost of dedicated hosting is much higher and it requires a server admin to manage this type of hosting.

7) How to find the login screen of a cPanel.

There are many ways to find the login screen of a cPanel. Recommended is that you may use the IP address of your cPanel, you may find the cPanel using IP address by typing the following in address bar −

https://<your_IP_address>:2083 
https://<your_IP_address>/cpanel

8) Types of access permissions on file.

There are three types of access permissions −

  • Read − It is denoted by ‘r’ and number 4, it gives ability to the user for reading the file only.
  • Write − It is denoted by ‘w’ and number 2, it gives ability to the user for writing into the file only.
  • Execute − It is denoted by ‘x’ and number 1, it gives ability to user for executing the file only.

9) Full form of FTP?

File Transfer Protocol

10) What is phpMyAdmin?

The phpMyAdmin is a third-party tool to manage tables and data inside a database. It is graphical user interface to manage MySQL databases. You can manually create Tables, Import and Export data or edit the values of a row through it.

11) What is Remote MySQL?

This feature of cPanel allows remote servers or web application to access a database hosted on your account. If a server or web application tries to access the database on your account, which is not provided access to, then cPanel will not allow this host to access your database. But, if you have an application, whom you wish to grant access to your databases, you can add their host names or IP address here.

12) What is Subdomain?

Subdomain is a domain, which is a part of a primary domain and exists in the same server. We can also say it is a second website, which resides under the main domain, however it may or may not have any relation with the root website. we can run a new website under this subdomain.

For Example − The blog.shinerweb.com is a subdomain for the root domain shinerweb.com and blog.shinerweb.com can also be accessed by tutorialpoint.com/blog.

Related Posts

Divyesh Patel

I'm Divyesh Patel, Web & App developer. I want to make things that make a difference. With every line of code, i strive to make the web a beautiful place.

Leave a Reply

Your email address will not be published.