Knowledge Base Web Hosting Basic


The cPanel & WHM documentation home Click Here


Introduction to Web Hosting

How does my site work?

Your website consists of a group of files and directories, similar to the Documents folder on your home computer. To understand how directories and files function, consider the File Manager.

Contents of the �/home/my-account� directory.

In the example above, there are three main directories:

/home/my-account/ - This is your home directory. This directory contains all of your files. Files that you place in this directory will not be visible on the internet. When you view your files with FTP, Web Disk, or the File Manager, you will begin in this directory.

/home/my-account/public_ftp/ - This is the directory used for anonymous FTP access. Anyone can download the files in this directory if FTP access is enabled.

/home/my-account/public_html/ - The public_html directory contains the files for your site. Files in public_html and any subdirectories of public_html will be viewable by anyone on the internet. �/home/my-account/www/� is the same directory as �/home/my-account/public_html/�.

When visitors access a subdirectory of the public_html directory, they will see the index page for that subdirectory. When you create your index page, use one of the following names. If the visitor does not specify a page in the URL, the system will display the first page that it finds that uses one of these names:

index.html.var index.htm index.html index.shtml index.xhtml index.wml index.perl index.plx index.ppl index.cgi index.jsp index.js index.php4 index.php3 index.php index.phtml default.htm default.html home.htm index.php5 Default.html Default.htm home.html

WARNING: When adding files to your site, it is important that you add them in the right place. For example, you will need to place files you wish to be visible on the Internet within public_html or a subdirectory of public_html. If you placed them in �/home/my-account/� for example, no one will be able to view them.

Add Files to Your Site

To allow visitors to access your site, you must add files to it. You can add files with the File Manager or through the Web Disk feature.

The File Manager

The File Manager allows you to upload, view, modify, and delete your site�s files. You can access this feature from the Home interface when you click on the File Manager icon. In the File Manager, click on File Manager to upload files to your site.

Web Disk

If you need to move a large number of files at one time or if you often make changes to your site, you can set up a Web Disk account to easily access your site. Web Disk allows you to manage, upload, and download your website�s files as though they were local to your personal computer.

FTP Accounts

FTP allows you to upload files to your site. To do this, you must create an FTP account in the FTP Accounts interface. Then, to connect to the account, download an FTP client that works with your operating system.

Web Disk Accounts

To allow visitors to access your site, you must add files to it. You can add files with the File Manager or through the Web Disk feature.

Web Disk allows you to manage, upload, and download your website�s files as though they were local to your personal computer. After you configure Web Disk on your local computer, you can drag and drop files to it, edit files, or view file information.

Web Disk Subdomains are relative to your account�s home directory. The Home icon signifies your home directory which is: /home/my-account


New Email Account Setup

Create an email account for your domain. This will allow you to receive email from customers or other visitors to your site. NOTE: You can use the Email Accounts interface to create additional email accounts after you finish the Getting Started Wizard.


Webmail allows you to access your email from any computer that has a web browser and an internet connection. Make certain to log out when you check your email on public computers so that other people cannot access your email.

Manage SSH Keys

Public and private keys are created together. Public keys reside on the remote server, while private keys reside on your local computer or server. When you attempt to log in to the remote server, SSH compares the public and private keys. If they match, SSH will allow you to log in.

NOTE: You can use SSH keys to authenticate SSH services (for example, SFTP or SSH terminal). In order to use these features, they must be enabled on your account.

How can I check the disk space usage of my account in detail?

You can check your disk space usage of your directories in detail via cPanel > Disk Space Usage.

SNI (Server Name Indication) for your SSL certificate

Albenet Hosting supports a technology called Server Name Indication (SNI). This means that our servers are able to intelligently serve the correct SSL certificate for the domain name being requested.
The best thing about using SNI is that you don't need to purchase dedicated IP's to install an SSL, this saving you the money you send on IP's.

How to reduce the number of inodes/files on cPanel account?

What is an inode?

An inode is a data structure used to keep information about a file on your cPanel hosting account. The number of inodes indicates the number of files and folders you have. Every file (a webpage, image file, email, etc) on your account uses up 1 inode.

How do I know if my cPanel account is above the limits?

An inode usage counter can be found within cPanel on the left hand column where your accounts usage limits are recorded.

How do I reduce my inode usage?

A. Remove unused files/folders

You can go through your account using either the File Manager or through FTP. All files and folders that are no longer required should be removed.
This would include outdated scripts, or development sites that are no longer needed. Not only do these pose a security risk, but they also use inodes on your account.

B. Archive old emails

Each email stored on the server adds to your inode usage. If you store emails on the server indefinitely you could look at archiving emails older than 12 months and storing them locally on your computer.
This would reduce the number of inodes on your account and bring it within the limits. One of the primary cause of excessive inodes seems to be due to users leaving their catchall address enabled, but never checking their primary account mailbox. Over time, tens of thousands of messages (or more) build up, eventually pushing the account past our inode limit.
To disable your default mailbox, login to cPanel and choose "Mail", then "Default Address", "Set Default Address", and then type in: :fail: No such user here.

C. Remove cache files

Certain website software generates cache files, which is used to improve performance on your site, one of these is Joomla. You should have a look at the cache folders to see if there is a large amount of files being generated. Most of these sites have a purge functionality which would regularly clear the cache folders. These options may vary, but can usually be found within the administrative area or back-end.
If the account is still using a large number of files you could have a look at the disk usage as this should provide a good indicator of where the files are being used. This can be seen within cPanel -> Files -> Disk Space Usage

Can I transfer an expired domain name?

If your domain name has expired, you can still transfer it to another registrar during the renewal grace period. You must complete the transfer during its grace period before the domain name falls into "redemption," which is when the domain name begins its transfer back to the registry for someone else to register it. The length of the grace period differs by domain name extension. Most general top-level domain name extensions (gTLDs) like .com and .net have a 42-day grace period between expiration and redemption. Country-code extensions (ccTLDs) like .ca and .jp might have very different grace periods or no grace period at all.

Copyright Albenet Hosting Friday 21-Feb-2020 All rights reserved.