cPanel

How to Create Email Account in cPanel

To create an email account, Login to the cPanel (Control Panel with the Username and Password) and follow the steps mentioned below:

1. URL: http://www.yourwebsite/cPanel or http://www.yourwebsite:2082
2.Login with the username & password.
3. Click on Mail.
4. Click on Add/Remove/Manage Accounts

You can Add/Remove/Manage new accounts and assign the quota for each account
as per your convenience.

Note: Once the E-mail account is created you can access the email account directly via the links given below:

URL: http://www.yourwebsite/webmail or http://www.yourwebsite:2095
Login: Email account and Password. (Enter the complete E-mail address).

What is Parked Domain

A parked domain is a domain name that points to your main domain or primary domain.

If myweb.net is your main Web site, you can purchase the myweb.com and assign it as a parked domain so that if a visitor were to type cars.net they would see the same Web site as if they had typed cars.net. A parked domain should be a registered domain.

How do I enable Leech Protection for my website in cPanel

What is Leech Protect?

Leech Protect is a Standard Security feature offered within cPanel. Suppose a user is publically posting usernames or passwords in restricted areas of your website and if it is causing a threat to your website’s security, you can restrict that user from doing the same. This also prevents a user who is trying to access another’s account using the correct username and trying to login using multiple combinations of passwords by guessing them. This prevents users from logging in multiple times within a short time span.

In Leech protect, the default time set is 2 hours. So you can define the maximum number of login’s for users in 2 hours. This is a kind of security feature which can be used for your domains.

How to setup Leech protect for a domain name

a)      Login to your cPanel of the website

b)      Click on Leech Protect Icon under Security Menu

c)       Once you click on Leech Protect Icon, A pop will appear where you have to select the document root of your website.  Keep the settings as it is and click on GO.

 

d)      On the next interface Please select the folder you wish to protect by clicking on its name

e)      On the next screen , Enter the required values and parameters accordingly

f)       Now click on Enable button

If you wish to de-activate or disable Leech Protect, you just need to login into your cPanel, follow the same steps and then click on “Disable Protection”, so that Leech Protect will be disabled.

What is an Addon domain

An addon domain is a separate domain that is hosted on your primary domain but it appears as if it is hosted on its own account. To use the addon domains feature , you must have a registered domain name and it should be using the name servers as your primary domain is using.

How to Prevent Directory Indexing

When accessing a directory (rather than a page) on your site, a visitor will by default see the index page for that directory. If the directory does not contain an index file, the browser will display a list (or index) of the files in that directory.

For example, browsing to yourdomain.com/images/ would, if there were no index files (such as index.html) display a list of the contents, such as shown in this screenshot:

To prevent this directory listing, you can use an .htaccess file (a topic I’ll cover in a future article). If you’re not yet familiar or comfortable working with htaccess, there is a function in cPanel that will take care of it for you.

In cPanel under the Advanced section, click “Index Manager”.

Choose public_html or whatever directory you want to change.

Index Manager allows you to customize the way a directory will be viewed on the web. You can select between a default style, no indexes, or two types of indexing. If you do not wish for people to be able to see the files in your directory, choose “no indexing”.

  1. Select the directory in which you wish to begin navigating your website’s contents using the pop-up window.
  2. To navigate Index Manager, click the folder icon next to the directory name.
  3. Click the name of the directory for which you want to change the indexing style.
  4. cPanel offers 4 options; select 1 of the following:
    • Standard Indexing: Contents appear only as filenames.
    • Fancy Indexing: Information about the files, such as the size and time last modified, appear.
    • Default System Setting: The default defined by your web host will be used.
    • No Indexing: The contents of the directory are not listed; visitors will see a message stating that the contents are “forbidden.”
  5. Click Save.

With directory listing/indexing disabled, someone visiting a directory without an index file will now see this:

cPanel creates the required .htaccess file and entries for you. Because of the way .htaccess works, your new setting applies to the current directory and all sub-directories. If you want a different setting for a particular sub-directory, just use Index Manager again for that directory and select your desired setting.

How to Backup Your Web Site?

It must be a truism that you never need a backup so much as when you don’t have one. More than once I’ve received a panicked call from a friend, client or co-worker after they’ve suffered a drive failure or other data loss. As long as a recent backup is available, a little restoration work leads to a happy ending. Without a backup, the outcome is often more traumatic.

The same is true for your web site. Server hard drives can fail. Whether your web host does periodic backups or not, you need to take responsibility for your own backups. Any popular web hosting control panel should have a backup utility. I’m most familiar with cPanel, used at Innovative Web Hosting Solution, and as that’s also one of the most widely used control panels I’ll detail its backup process.

cPanel site backup

  1. Login to cPanel
  2. Click Backups
  3. Click Download or Generate a Full Web Site Backup
  4. Select the Backup Destination, choosing Home Directory
  5. You may enter an e-mail address: the system will send a message to that address when the backup is finished.
  6. Click Generate Full Backup button.

The backup will create a .tar.gz archive, in this format:

backup-4.23.2011_19-11-18_accountname.tar.gz

The first set of numbers denotes the date of the backups while the second set is the time stamp. This allows you to easily differentiate backups, if you accumulate several.

You may then download that file to your personal computer via FTP.

cPanel’s Full Backup backs up the entire site, not only your web pages, scripts and images, but other features such as mail forwarders, mail accounts, and configuration files. If you need to backup just certain aspects of your site, there are also these individual options:

  • Download a Home Directory Backup
  • Download a MySQL Database Backup
  • Download Email Forwarders
  • Download Email Filters

It’s vital that you keep a copy of your web site. If you follow my advice, you will already have a copy of your web pages since you will create those on your local computer prior to uploading.

Keep recent backups of your web site. If you ever need them, you’ll be glad you did.