Archive for cPanel/WHM

«Create And Restore BackUp in Softaculous »

Cloud HostingHow to Create And Restore BackUp in Softaculous ?

Steps to create a backup in Softaculous

Softaculous comes pre-installed with our cPanel hosting control panel. It enables users with taking backups of the applications from the web-based interface. Following is the procedure to secure a backup in Softaculous

Step 1 – Login to your cPanel Control Panel and look for the Softaculous icon listed under Software/Services
Step 2 – Select All Installations
Step 3 – All the installed applications would be listed. You must then choose the application which you intend to backup.
Step 4 – Hit the Backup button;

Steps to restore a Softaculous backup

Following is the procedure to secure a backup in Softaculous

Step 1 – Login to your cPanel Control Panel and look for the Softaculous icon listed under Software/Services
Step 2 – Look for an option titled “Backups and Restore” and click it
Step 3 – You’d be presented with a list of all available backups. Choose the particular application which you intend to Restore.
Step 4 – Hit the “Restore” button.

If you need any assistance with backing up or restoration on your Softaculous installations, please contact our support department via. 24×7 Live Chat available at our website or raise a support request with Linux Technical Department via. helpdesk. Kindly state the domain name, your customer Id. and IP when raising a support ticket.

How to Fix cPanel Error: Sorry, that domain is already setup (remove it from httpd.conf?)

It may be possible that you may come across an issue of adding a domain via WHM create account function and get the following error:

Sorry, that domain is already setup (remove it from httpd.conf)

Getting the above error simply means that the domain still exists in the virtualhost in apache configuration file known as httpd.conf . There are two main reasons why it has shown you this error.

Reason One:

It might be possible that the domain you are trying to create is being used as a primary domain for one of the accounts or may be it has been used as an addon domain or parked for other domains and accounts.

Reason Two:

Or it may be possible that you are facing some technical issues such as the addon, parked or the primary domain is not removed completely from the system after using the removing function.

If the error is due to the first reason, you can easily remove the domain name from the cPanel account and even if it is not removed and come up with the following error:

Error from park wrapper: Sorry, you do not control the domain

Follow the steps given below:

First you should find out who owns the domain, enter the following command:

/scripts/whoowns example.com

Even if it didn’t show any results, enter the following command string:

grep example.com /var/cpanel/users/*

You will get the result something like the following:

root@server [~]# grep example.com /var/cpanel/users/*
/var/cpanel/users/exam:XDNS1=example.com

As you can see, we could easily find the owner of the domain (example.com), the next step is to edit the following files with the corresponding user and remove the lines associated with the domain (example.com) you have problem with.

/var/named/example.com.db
Remove the virtualhost for example.com from /etc/httpd/conf/httpd.conf
/var/cpanel/users/username [remove entries related to domain]
/etc/userdomains
/etc/localdomains
vim /etc/named.conf [remove entries related to domain]
Remove DNS entry in WHM
Run /scripts/updateuserdomains as root on the server

That’s it!

cPanel Web Hosting

How to Backup and Restore Individual cPanel Account via SSH

Backing up your hosting account is very necessary for your business to survive on Internet. Whether it is a small or large business, you must backup all of your data regularly at least once a week. cPanel provides some great ready made scripts which will help you make your tasks more easy. Commands such as pkgacct is basically used for backing up cpanel web hosting accounts and restorepkg for restoring cpanel accounts via the SSH or command line interface.

How to create backup of Individual cPanel Account via SSH?

Step 1: Log-in to the SSH as Root user.

Step 2: Enter the following command string on the command line interface:

/scripts/pkgacct username

[Note: The account backup will be created in the current directory you are in.]

How to Restore the Individual cPanel Account via SSH?

Step 1: To restore the cPanel account backups, enter the following command

/scripts/restorepkg username

[Note: In order to restore the data, you need to be in the directory where the backup file is stored.]

This is the easiest way to backup and restore individual cPanel web hosting accounts via command line interface.

Steps to Copy a MySQL table with phpMyAdmin Explained

The article would help you with a step-by-step procedure about how to copy a table with phpMyAdmin located within the cPanel control panel.

Step 1 : Log into cPanel

Step 2 : Go to phpMyAdmin and choose the database and the table that you intend to copy

Step 3 : Go to the option titled “Operations” listed amongst the other tabs

Step 4 : Locate the box titled “Copy table to (database,table):

Step 5 : There are two options you may choose from ie. either create a copy of the table to the current database (usually gets selected by default) OR copy the table to a different database

Step 6 : Choose the database name from the drop-box and the name of the table to copy the structure and / or data into.

You are required to choose between the following options before proceeding any further :

  • Structure only – Selecting this option would only create a copy of the table and its name. You must note that the data wouldn’t be copied in this case.
  • Structure and data – Choosing this option would allow you to copy the table along-with its name, but would also copy the data it contains to the destination you choose further in the process ie. INSERT INTO >> SELECT * FROM …
  • Data only – Clicking the radio button would only copy the data to the destination.

Furthermore, you are offered the option to choose whether you wish to drop the table that you are copying to before creating the table and copying the data. This runs a DROP TABLE IF EXISTS query for the copy of the table, not the original. You would not notice any change if you’ve chosen data only copy.

Then you’d have the option to choose to copy the auto increment value. This isn’t a default function, and you’d need to check it manually. The auto increment value will end up being whatever it would be after the INSERT INTO query is done. Checking the box would activate the CREATE TABLE syntax which would then include the auto increment value from the original table.

Lastly, you can see the option termed “Switch to copied table ”, as the title suggests you’d be switched over to the copied table once the queries are completed. If you leave it unchecked, the resulting page will still be looking at the original table; if checked it will change to the copied database (if applicable) and table.

Cheap Web Hosting UK

Leech Protection – Enable/ Configure/ Disable Leech Protect in cPanel

What is Leech Protection ?

The Leech Protect utility available in cPanel enables users with preventing users from disclosing the passwords to a restricted area of a website publicly and restricting the number of times a user can log in to the areas. The site administrators get the capability of redirecting the accounts to preferred pages incase of such violations. Hence protecting the breach into the system.

cPanel control panel allows the capability to manage leeching by redirecting or potentially suspending the user. A maximum number of logins can be set according to your preferences, while the default value is set to 2 hours. If incase the limitations tend to exceed, the user is assumed to be offering other users the login details.

Inorder to enable this feature, one must login to your cPanel control panel. You may refer the following links to learn the ways to access cPanel :

How to Enable Leech Protection ?

Step 1 – Look for the Leech Protect icon located in the Security section of cPanel home screen for accessing the Leech Protect Menu

Step 2 – Browse and Click the folder for which you intend assign protection

Step 3 – Assign the number of times you intend to allow a user to login during a window period of 2 hours.

NOTE: A value of 4 can be considered to be ideal, anything below might suspend a genuine user who would probably have carried out attempts to connect due to failure of internet connectivity. Though, if the login attempts are made through the same network or even a subnet, suspension of the accounts doesn’t occur.

Step 4 – You must update the URL of the website where you intend to send the users that are violating the accessibility criterion’s and the set number of login attempts.

NOTE: You may encounter an internal server error message if the updated URL isn’t something other that of the leech protected area.

Step 5 – You also have an option to receive notifications for leeching attempts. Check the box besides “Send Email Alert” and update the email address in the field titled “Send Email Alert to” for receiving instant alerts on possible leeching attempts.

Step 6 – For suspending a particular account, you only need to click box besides the option titles “Disable Compromised Accounts

NOTE: If user is caught in violation for accessing the leech protected areas, the account is suspended and the password disabled. For reactivating a particular account you are required to reset the password for that particular account.

Step 7 – You may now click on Enable for enabling leech protection. After which a Leech Protect Confirmation screen would appear.

How to Disable Leech Protection ?

Disabling Leech Protection is simple process. You only need to click the Disable button after which you’d be see a confirmation statement.

You may reconfirm whether the changes to have been implemented by going back by clicking the link provided on that page. If you don’t notice the leech icon against the directory which you had previously protected that means it has been successfully disabled, else you may attempt the same procedure.

How to Manage the Users in Leech Protected Directories ?

Upon accessing the leech protected directory, you would observe an option titled Manage Users in the form of a button (you must scroll down to the end of the page to view). Then you’d be shown with the Password Protected Directories configuration area for the particular directory. You may wish to check the Password Protect Directories document to know more on the topic.

Choose our Affordable Web Hosting packages with cPanel to get access to Leech Protection.

Changing File Permissions Using cPanel Control Panel

How to change file permissions on a Linux Server ?

Permissions play a vital role in safe guarding your data over the world wide web. You can define the permissions according to your preferences based on the level of access you wish to offer to the users. As a part of security enhancement technique, you may sometimes need to protect the files from writing or editting. In that case the following tutorial may come in handy. The information would help you assign appropriate permissions to the files.

One of the simplest ways to assign permissions is via. cPanel File Manager.

The below steps must be followed for making the changes:

Step 1 – Go to File Manager in cPanel

Step 2 – Select the file to which you intend to assign permissions

Step 3 – Click the ‘Change Permissions’ link

Step 4 – Select the appropriate permissions

Step 5 – Hit the Change Permissions button

You may also refer the following video tutorial about File Manager. It should help you relate to the procedure well.

cPanel control panel is offered with all our Linux plans. If you need any assistance with changing the file permissions kindly raise a ticket from the client area stating your requirements in detail. Alternately you may contact our technical support department via. 24×7 Live Chat and seek assistance.

Web Hosting UK

Which Configuration Files and Directories are backed up by the WHM Backup Feature ?

When the Backup Configuration Files is Enabled in the WHM, the WHM Backup Feature backs up the following system configuration files and directories:

Configuration Files:

/etc/exim.conf
/etc/exim.conf.local
/etc/exim.conf.localopts
/etc/namedb/named.conf
/etc/rc.conf
/etc/named.conf
/etc/proftpd.conf
/etc/localdomains
/etc/httpd/conf/httpd.conf
/etc/group
/etc/shadow
/etc/master.passwd
/etc/passwd
/etc/fstab
/etc/ips
/etc/ips.remotemail
/etc/ips.remotedns
/etc/reservedips
/etc/reservedipreasons
/etc/quota.conf
/etc/wwwacct.conf
/etc/remotedomains
/etc/rndc.conf
/etc/secondarymx
/etc/my.cnf
/root/.my.cnf
/usr/local/cpanel/3rdparty/interchange/interchange.cfg
/usr/local/apache/conf/httpd.conf

Directories:

/etc/namedb
/etc/valiases
/etc/proftpd
/etc/vdomainaliases
/etc/ssl
/etc/vfilters
/usr/local/frontpage
/usr/share/ssl
/usr/local/cpanel/3rdparty/mailman
/var/lib/rpm
/var/lib/named/chroot/var/named/master
/var/named
/var/cpanel
/var/spool/cron
/var/cron/tabs
/var/spool/fcron
/var/log/bandwidth
/var/ssl
/var/lib/mysql (on RedHat and CentOS)
or
/var/db/mysql (on FreeBSD)

Backing up the system configuration files help a lot, if the system configuration files for your dedicated server gets deleted mistakenly.

How to Backup System Configuration Files using WHM Backup Feature ?

Usually, most of the people backup only the account files, however, it is a good to backup your system configuration files and directories as well. In this tutorial we have shown how to backup system configuration files in WHM. We assume that you have already logged in to the WHM.

Step 1: On the main screen, click on the Backup >> Configure Backup

Step 2: On the Configure Backup page “Enabled” the Backup Configuration Files option. (see image below)

Backup System Configuration Files

That’s it! Now you know how to backup the system configuration files of your dedicated hosting server via WHM Backup Feature.

To know the exact files and folders that are backed up by the WHM Backups check out the following post:

Which Configuration Files are Backed up by the WHM Backup Feature ?

Note: It is recommended to restore the the system configuration files and directories manually.

How to Enable cPanel Dedicated Server Backups in WHM ?

Most of the beginners are not aware that they can enable and configure the cPanel backups in WHM. In this tutorial we are going to show you how to configure the cPanel backups according your requirements.

Step 1: Log into the WHM for your dedicated server.

Step 2: Find the Backup icon as shown in the image below and simply click on it.

WHM Backup Feature

Step 3: Click the Configure Backup icon as shown in the image below.

WHM Configure Backup

Once the page reloads it will show you various options with frequency that backup runs and can be configured on this page.

Configure Backup Options:

Backup Status:
Backup Interval:
Backup Retention:
Days to Run Backup:
Remount/Unmount Backup Drive:
Bail Out If Backup Drive Mount Fails:
Incremental Backup:
Backup Accounts:
Backup Configuration Files:
Backup SQL Databases:
Backup Access Logs:
Backup Type:
Remote FTP Host:
FTP Backup User:
FTP Backup Password:
FTP Backup Directory:
FTP Backup Passive Mode:
Backup Destination:
Select Specific Users:

Also, check out the WHM’s Configure Backups Page:

WHM Backup Settings

Step 4: Simply, “Enabled” the “Backup Status” and change the settings as per your requirements and hit the “Save” button.

If you own a dedicated server, we recommend you to keep all the three Backup Intervals. Remember that each time you run backups the older instance of that backups interval is removed. By Enabling and Disabling the options you can configure the cPanel Backups in WHM for your dedicated server.

Add and Remove Addon Domain in cPanel

How to Add Addon Domains in cPanel ?

[kml_flashembed publishmethod="static" fversion="10.0.0" useexpressinstall="true" movie="http://www.eukhost.com/new/support/demo/cpanel/cpanel_x3_addon.swf" width="700" height="442" targetclass="flashmovie" align="left" loop="true"] Video Tutorial on How to add addon domains in cPanel web hosting control panel

The following procedure would help you adding an add-on domain in your cPanel web hosting uk control panel.

Step 1 : Login to your affordable web hosting control panel (cPanel)

Step 2 : Search for the icon named “Addon Domains”, and click it.

Step 3 : You will be presented with a form where you are required to populate the fields with the addon domain name

Step 4 : Populate the directory name field.

Step 5 : Populate the password field with something which is hard to guess by anyone other than you. Make you of a combination of upper and lower case alphabets, numbers and special characters.

Step 6 : Hit the Add Domain option

This completes the procedure of adding new domain. You can now upload your website files and folders to the specific addon folder.

Note:

  • Incase you are not the owner of the domain or if the name servers haven’t been propagated, you might not be able to create an Addon Domain.
  • You must get in touch with your domain registrar incase the domain does not display your website. There may lie a possibility of an incorrect DNS entry.

How to Remove Addon Domain in cPanel ?

Removing an addon domain in cPanel is even simpler than adding it. The below steps can be followed for that purpose :

Step 1 : Login to your cPanel

Step 2 : Check for Addon Domains and Click it

Step 3 : Scoll down to the bottom of the screen. Find the addon domain, against it you would find a ‘Remove‘ option.

Step 4 : Hitting the Remove option would delete the addon domain from your cPanel.

« Previous entries Next Page » Next Page »