Knowledgebase : cPanel

The server your hosting account is on runs a Firewall software called "CSF" for short, (Config Server Firewall). So if you find that you can visit any site on the net "EXCEPT" your web site, your webmail, your cPanel or just about anything to do with your web site, your IP could in fact be blocked, this normally happens after you have tried to login to your cPanel, or webmail, or even your WordPress site a number of times and failed.

We are going to show you how to get your ip address unblocked. You can just go to your Client Area or Billing account, and in a few minutes and with a few key strokes you can check if you are blocked and unblock yourself.

Let's start from the point that you have logged into the RFE Hosting client area, if you do not know how or remember how to login to your client area see the article on "How to Login to The Client Area".

First click on the link "Support", then click "Unblock IP Address". 

If you were being blocked you would now see notice that your request was a success and will be lifted in a short period of time. Once that time period has passed you should be able to view your web site, send and receive emails and all other services should be operational again. If they are not, contact us for more assistance.

DNS Zone Editors

 

The cPanel DNS zone editors can be found under the Domains section. There are 2 possible options you can choose Advanced DNS Zone Editor and Simple DNS Zone Editor.
(Note: If you do not have the Advanced zone editor listed, please contact us and we can get it enabled on your account.)

There is no significant difference between them and in most cases you can use the Simple DNS Zone Editor. We will first describe its functionality and then address the additional options provided by the Advanced DNS Zone Editor.

Simple DNS Zone Editor

When you click on the DNS Zone editor you will get a new screen with a drop down menu where you can select the desired domain name. Click on the drop down menu and choose the domain name for which you would like the DNS zone modified.

Three options will load. The first one will give you the option to add an A record for your domain name. All you need to do is enter the sub-domain name for the A record and the IP address where you'd like it pointed to. Then click Add A record button.

A notification will appear that you have successfully added the A record for your domain.

The second option allows you to add CNAME records for your domain name. All you need to do is enter the sub-domain name for the CNAME record and the address (note that it should be fully qualified domain name) to which you would like it directed. Then click Add CNAME Record button.

A notification will appear that you have successfully added the CNAME record for your domain.

The third option allows you to delete existing custom DNS records for your domain name. If you no longer wish to use a DNS record you have created on the past, it can be removed using this area simply by clicking the Delete link.

Then confirm the record deletion in the popup by clicking the Delete button.

Note that you can delete only the custom user-defined records. The Simple DNS Zone Editor will not let you modify the default records set for your domain name.

Advanced DNS Zone Editor

(Note: If you do not have the Advanced zone editor listed, please contact us and we can get it enabled on your account.)

There are 3 differences in the advanced editor from the simple one we mentioned. Please note that if you are not 100% sure what changes you are making it is always better to use the Simple DNS Zone Editor in order to avoid any major issues with the DNS zone for your domain name and the accessibility of your website.

The first difference is the option to completely reset your DNS records to the default ones. Note that this option should not be used in cases you need a custom setup for your domain name DNS. It is only safe to use this option if you would like the DNS reset to default.

To reset the DNS Zone for the chosen domain name click "More".

Tick the check box confirming that you would like the DNS Zone reset then click the Reset Zone File button.

The second difference in the Advanced DNS Zone editor is that you are able to add one additional type of record – TXT. The A and CNAME records are still available and you can choose to add such records from the same drop-down menu.

The TXT record is not that commonly used but it is needed in several cases, for example when creating an SPF record for your domain name. Also there is an additional field to add TTL (time to live) for the record you are creating. If there are no specific requirements you can use the default value 14400 for TTL. This will not cause any issues.

Last but not least the third difference in the Advanced DNS Zone Editor is in the Manage existing records section. There are several differences here. The TTL for each record is displayed.

You can not only delete but also edit existing records. This can be done by clicking the Edit link.

A popup will appear which is like the one above where you can create new records and it will allow you to alter the existing one.

All records are displayed and you can manage them, not only the custom ones you have added. Note that you should be very careful and not make changes if you are unsure about them in order to avoid service downtime.

Are You Affected?

If you’re seeing problems with your site and are curious to find out what server your account utilizes, all you have to do is log into your cPanel account and you will see the sidebar on the left side.

In the sidebar you will see all your account info, look for this:

  • Server Name:
    (insert server name here)

Hopefully your servers don’t match up with any affected ones.  If they do, please know that we always try to do our best to minimize downtime — and we’re sure to be working furiously to fix whatever might be ailing you.

See example image below:

 

An auto responder can be setup in cPanel to respond to any incoming emails with a message specified by the user. Auto responders are very useful for people that are going away for a long period of time and will not be able to access their emails. An auto responder does not affect your incoming emails, so they will still be waiting for you when you are available to check them.

To add an autoresponder login to your cPanel account at www.yourdomain.com/cpanel, then select 'Auto Responders' from the 'Email Management' menu. Click on 'Add AutoResponder' at the bottom and customize your message. After you have completed your message click on 'Create/Modify'.

Unfortunately our system does not allow a change of username as the system uses your current username as the path to your account and it is automatically assigned.

It is not recommended to change your permissions to 777 as other users on the server as well as anyone who may find a security hole in their scripts can write to there.

Creating a database in cPanel using the MySQL Database Wizard:

1.       Log into your cPanel

2.      Click the MySQL Database Wizard under the Databases heading

3.       Next to New Database enter a name for your database and click Next Step

4.       Next to Username enter a username.

5.       Enter a password next to Password, enter it again for Password (Again) and then click Create User

6.       On the next page, you'll assign privileges for the user to the database. Check the box next to All Privilegesand then click Next Step.

 Congratulations, you have just successfully created a database!

To create a custom error page for your account, please login to cPanel and click Error Pages, under Advanced. Select the domain or subdomain you want and click the page you want to edit. Insert your own custom page code (in HTML or SHTML). The changes will be applied after you click Save.

But I don't know any HTML

Never fear. If you use a design program like Sitebuilder, simply publish a page which you would want to use. Next, visit your website online and pull up that new page you want. At the top of your browser, go to View and choose "Source" or "Page Source". Copy everything from the pop-up window (right click, Select All, right click, Copy) and now you can paste where the HTML code belongs.

Afterward, you may want to remove that extra page from your site builder program.


Common problems

If you are still seeing the HostGator error pages, try refreshing your browser (ctrl + F5). If you still see the HostGator pages, please add this code to your .htaccess file in the public_html directory.

ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml

You can even use existing pages as the resulting page. Say you don't want any visitors seeing 404 errors on your site. You can make your home page the result, like so:

ErrorDocument 404 /index.html

If Internet Explorer is not displaying the custom error page, it is likely because the error page must be larger than 1 kilobyte.

There are many error pages which may be defined.

Client Request Errors
400 - Bad Request
401 - Authorization Required
403 - Forbidden
404 - Not Found
405 - Method Not Allowed
406 - Not Acceptable (encoding)
407 - Proxy Authentication Required
408 - Request Timed Out
409 - Conflicting Request
410 - Gone
411 - Content Length Required
412 - Precondition Failed
413 - Request Entity Too Long
414 - Request URI Too Long
415 - Unsupported Media Type

Server Errors
500 - Internal Server Error
501 - Not Implemented
502 - Bad Gateway
503 - Service Unavailable
504 - Gateway Timeout
505 - HTTP Version Not Supported


How can I revert back to the default error pages?

Simply delete the error page from the public_html folder:
404.shtml
403.shtml
500.shtml

This will show you how to whitelist your IP to allow remote MySQL connections for Shared, Reseller, VPS/cPanel and Linux Dedicated Servers.

Allowing remote MySQL connections is often done to enable a program on your personal computer (such as Adobe Dreamweaver) to access the database on the server.

Allowing remote MySQL connections is often done to enable a program on your personal computer (such as Adobe Dreamweaver) to access the database on the server.

By default, all IPs are blocked and must be added to an access list.  To find our what your own IP address is, go to hostgator.com/ip.shtml (your IP address will be listed in red).

  1. Login to your cPanel (if not already logged in).
  2. Scroll down to the Databases section.
  3. Click on the Remote MySQL icon.
  4. Enter the IP address of the computer that will be making the remote connection.
  5. Click the Add Host button.

How can I find out my computers IP address?

Click this link to view your computer IP Address

What if I got a Dynamic IP address?

If you got a dynamic IP address. Therefore, every time you go online, or every once in awhile, your IP changes. You have a few options here. The most secure, would be to update your IP in Remote MySQL every time your IP changes. However, you do have other options available. You could simply enter % (a percentage sign) in the Add Access Hosts text field. This will allow any IP to remotely connect to your databases. Another option: Lets say the first two parts of your IP never change. Then, you could enter 93.138.%.% , where the first two parts are your actual IP address numbers.

Note: If you're connecting from a dynamic IP address, you can use the "%" wildcard value instead of an IP address.  However, since this will grant access from anywhere, it is generally considered a security risk and therefore not recommended.

Once the enabled remote access is done, You will need a third party application to access MySQL remotely. Some are free and some cost money.

 

 

You can view whether your account is using localhost or remotemysql host in your cPanel account. Click on 'phpMyAdmin', in the 'Datebases' menu. Your database host will be displayed on the next screen after Server. It will be listed as localhost or remotemysql host.

All of RFE Hosting's shared servers have pear PHP installed on them.

All RFE Hosting plans support .htpasswd.

Yes we support Joomla! which is easy to install, simple to manage, and reliable. Joomla! is one of the most powerful Open Source Content Management Systems on the planet. It is used all over the world for everything from simple websites to complex corporate applications. You can access it through your Fantastico account in cPanel along with many other leading applications.

Yes, but we don't have any installers for it so you would have to install it yourself, manually. Please visit: http://moveabletype.org/ for information on the program.

SFTP is activated if you have SSH access. If not, you need SSH access and to be able to use SFTP.

Yes, RFE Hosting supports SSI (server side includes).

Yes, RFE Hosting supports the latest stable version of Zend Optimizer.

Yes, wget() command is allowed for VPS SSH access.

Firstly please ensure that the name servers are pointing to your account with us.

Then login to your cPanel account and select 'Addon Domains' under the 'Domains' menu.

Complete the form as follows:

New Domain Name: the domain you wish to add
Subdomain/FTP Username: Whatever you put in the this field will be the folder that is created under your primary account. It will also be the default username for mail and FTP.
Password: your password

The change in nameservers may take up to 48 hours.

It is important to have your own backup procedure in place to protect yourself from losing all your files. It is extremely easy to backup your site using cPanel and we strongly recommend that you backup your mySQL databases more often than your files.

Login to your control panel and click on 'Backups' which is under 'Site Management'. cPanel offers you various backup options.

Download or Generate Full Backup is recommended for the first backup you perform. Please note that this procedure will generate a complete backup of all files, e-mails, mySQL databases, and account information. Depending on the size of your website, this could take many hours to complete.

Home Directory will download all files located in your home directory (which includes all files on your account). This is a good backup to perform if your website is file-based, meaning that it's not a database driven website.

Download a MySQL Database Backup is by far the most important backup you can do. MySQL databases are much more likely to become corrupt, but they are generally small and take seconds to backup. If your website has any database-driven applications such as a blog, mailing list or forum, then this should be part of your routine.

cPanel also offers a Backup Wizard option which allows you to download a zipped copy of your entire site or parts of it onto your computer. It also features a restore option which allows you to restore parts of your cPanel by uploading your partial backup zip files that you downloaded from the backup feature.just

You can change your cPanel password at anytime. 

- Login to your billing account with us via  https://billing.rfehosting.com
- Under 'Services' click 'My Services'
- Then click 'View Details' on the account in question
-Click the 'Change Password' Tab
- Enter your new password twice for confirmation
- Select 'Save Changes'

Login to your Control Panel at www.yourdomain.com/cpanel using your cPanel username and password. Click 'File Manager' which is located under the 'Site Management' menu, this will bring up the 'File Manager Directory Selection' box where you select which directory you would like to open. This will bring up a list of all the files contained within this directory. Right-click on a file to bring up the management menu and click on 'Change Permissions'. Make the necessary change and once again click 'Change Permissions'.

To create a MySQL database please follow the steps below:

- Login to your control panel at www.yourdomain.com/cpanel 
- Click on 'MySQL Databases' in the 'Databases' menu
- Enter the name of your new database and then click on 'Create Database' 
- Add database users by assigning them a username and password then clicking on 'Create User'

All your website's files and folders should be placed under the public_html directory in your cPanel. Please be sure to create an index file for your first page, this can be index.htm, index.html, index.php, etc. Our system looks for those exact names by default and it must be placed directly under public_html and not a subfolder. When you go to http://yourdomain.com, this file will then automatically open, without it your file structure will show instead.

For subdomains and other folders, when going to the folders at http://sub.yourdomain.com or http://yourdomain.com/folder/ an index file in them will behave the same way and automatically open. Please note, our servers are case sensitive so index.htm and Index.htm are two separate files. Index.htm will not be recognized as the default first page.

To import a database follow the below steps:

I have a backup of my database that I need to import/transfer to my new account.

- Once you have your .sql file you will need to log into your cPanel at www.yourdomain.com/cpanel 
- Click on 'phpMyAdmin' under the 'Databases' menu
- A drop down of your databases is displayed on the left side of the page, select the database you would like to import to. 
- This will create some tabs at the top of the screen, click on 'SQL'.
- This opens a text box and a file upload option. 
- Click browse on the file upload option and find your .sql file 
- After you have selected the file click GO and it will import your database.

All of RFE Hosting's shared hosting plans include a free utility called Softaculous, which allows you to easily install and configure the most popular web applications available. The Softaculous link can be found under the 'Software/Services' section of your RFE Hosting cPanel.

Current offerings include:
Blogs - b2evolution, Nucleus and WordPress
Content Management - Drupal, Geeklog, Joomla and Mambo Open Source Customer Relationship - Crafty Syntax Live Help, Help Center Live, osTicket and PerlDesk 
Discussion Boards - phpBB and SMF
E-Commerce - CubeCart, OS Commerce and Zen Cart
F.A.Q. - FAQMasterFlex
Image Galleries - 4Images Gallery, Coppermine Photo Gallery and Gallery Mailing Lists - PHPlist
Polls and Surveys - Advanced Poll and phpESP 
Project Management - dotProject and PHProjekt
Site Builders - Pro Edition and Templates Express
Wiki - TikiWiki and PhpWiki
Other Scripts Dew-NewPHPLinks, Moodle and Noahs Classifieds
Extras - Language and Email notifications

cPanel is a web hosting account management tool available on all RFE Hosting Linux hosting plans, including Shared Hosting, VPS and Dedicated Servers.

You only get one username per cPanel. If you create addon, parked and subdomains, those domains can be accessed by logging in to your main cPanel; you will not have a separate cPanel or separate login credentials.

The username and password to log into cPanel can be found in your welcome email. If you do not have the correct login credentials, please contact us via email or live chat for help.

Note: Depending on your operating system and web browser, your computer may display the login prompt slightly different than what is displayed in the video. Although it may appear different, it works the same way.

cPanel Access

You can access your cPanel in any of the following ways:

Option 1:

  • If you are familiar with your server name, here is the best method:
https://ServerName:2083

Option 2:

  • Use https and your IP address, followed by the secure port number:
https://YourSitesIPAddress:2083
This will produce a browser warning.

Within your RFE Hosting control panel, you have the ability to password protect a folder within your website. You can create as many logins as needed for a protected folder.

Click on Pasword Protect Directories in Site Management. To password protect a directory click on the directory's name. To protect a sub-directory click on the folder next to the name and then click on the sub-directory's name.

This takes you to a configuration panel where you must:

- Check the box labeled 'Password protect this directory'
- Enter the name of the protected directory (this is just what is displayed to the user when they try to access this directory). 
- Click Save 
- You can then add as many users as you wish, entering a username and password for each

To restore a MySQL database please follow the below steps:

- Login to your control panel www.yourdomain.com/cpanel
- Click on 'Backups' in 'Site Management'
- Click on 'Browse' to locate the Database you want to restore then click 'Upload'

It may take a while to upload your .sql and populate the database so a broadband connection would help. This will overwrite the database that you currently have up.

A cron job allows you to run a certain command at times set by the job such as deleting temporary files every week so that your disk space is not being used up by those files. You need to have a good knowledge of Linux commands before you can use cron jobs effectively. Check your script with your hosting administrator before adding a cron job.

To setup a cron job:
- Access the 'Cron Jobs' feature under the 'Advanced' menu. 
- Select the mode you would like to use Standard or Advanced (UNIX Style). Standard is recommended to most users due to it's simplicity and the pre-set options it offers the user.
- Enter the email address where the cron output will be sent to in the corresponding field. 
- Enter the command you wish the cron job to run in the 'Command to run' blank field
- Select how often you wish the command to be run by selecting a tiem frame in the appropriate box. 
- Click on 'Save Crontab' to save your changes and set up your cron job, the command run by the cron job must be a valid command.

When a cron job is no longer needed, you should delete it so the command will not continue to run. You can do this by clicking the 'Delete' button next to the cron job you wish to remove.

You can download raw access logs through your cPanel account. Login to your account at www.yourdomain.com/cpanel, then select 'Raw Access Logs' under 'Stats/Logs'. Raw Access Logs allow you to see who has accessed your site without the use of graphs, charts or other graphics. You can use the Raw Access Logs menu to download a zipped version of the server's access log for your site. This can be very useful when you need to see who is accessing your site quickly.

You can login to your webmail by going to www.yourdomain.com/webmail or through your cPanel account (www.yourdomain.com/cpanel) under the 'Email Manager' menu.

Spam Assassin is  used to filter out incoming email on a server side basis. The feature can be activated or deactivated through cPanel under the 'Email Manager' menu.

To activate Spam Assassin, click on 'Spam Assassin' from the 'Email Management' menu and select 'Enable SpamAssasin'. You can disable Spam Assassin on the same page once it is enabled by clickking 'Disable SpamAssasin'.

How to Password Protect One File

 

This is an advanced design tutorial. That icon can be used to password protect all files in a folder; it cannot password protect one specific file.

 

To password protect an individual file:

 

1. Create a file named .htpasswd and place it above your root directory, so visitors can't access it.

 

Example of the root directory pathway for shared accounts : /home#/cpanelusername/.htpasswd

Note: Replace the # with the number that is reflected in your file manager's home directory

 

Example of the root directory pathway for reseller, vps and dedicated server accounts: /home/cpanelusername/.htpasswd

 

2. Create an encrypted password using either a utility such as the command line program htpasswd or an htpasswd generator. It doesn't matter how many individual files you wish to protect; they can all share a common .htpasswd file.

 

3. Right click on the .htpasswd file and select the Code Edit option.

 

4. In the popup that appears, click the Edit button.

 

5. Place the generated .htpasswd information into the .htpasswd file.

 

6. Click on the Save Changes button.

 

7. Click on the Close button.

 

8. Navigate to the directory where the file(s) that you would like to password protect lie.

 

9. If an .htaccess file does not exist in the directory already, create one.

 

10. Right click on the .htaccess file and select the Code Edit option.

 

11. Insert the following code into the .htaccess file:

 

<FilesMatch "examplefile.extension">

AuthName "Member Only"

AuthType Basic

AuthUserFile /home/cpanelusername/.htpasswd

require valid-user

</FilesMatch>

 

Note: Be sure to replace replace examplefile.extension with your file's actual name and replace cpanelusername with your actual cPanel username.

 

12. Click on the Save Changes button.

13. Click on the Close button.

 

This will protect the specified file, while leaving all other files in the folder unprotected.

 

Password Protect Multiple Files

 

You can protect more than one file by using wildcard names. On the FilesMatch line in the previous .htaccess code example, try one of the directives below:

 

<FilesMatch "*.html">

 

<FilesMatch "file.*">

 

<FilesMatch "*.*">

To add yourself to the whitelist so that you can connect to mysql remotely using admin tools such as phpMyAdmin, Navicat, MySQLFront or MySQL-Admin follow the below steps:

- Log into your control panel at www.yourdomain.com/cpanel 
- Click on the 'Remote MySQL' under the 'Databases' menu 
- Type % in the Host field  
- Click on 'Add Host'

You should now be able to connect successfully.

When you order an SSL we assign a static IP to your account. A static IP is required for securing the traffic between your website visitors and your website. The SSL encrypts the session between the visitor and your site. When we assign a static IP, the new information about where the site is located has to propagate across the internet, this usually only take around four hours.

The command line option from SSH is: mysql -d -p database_name > file.sql. Where 'database_name' is the name of your database, and 'file.sql' is the name of the file you would like to write the table structure to. You will be prompted you for a password (-p). Normally mysqldump gives you the entire database, with the '-d' option, you need to tell it to not include the data, just the table structure.

If you have forgotten or lost your username or password you can have your welcome email resent, which contains your cPanel and billing logins. To have your welcome email resent please email us at support@rfehosting.com

Yes, a manual for cPanel is available. Go here to view it.

You would need to move your content to the public_html folder (for the main domain). You can move the files through cPanel by dragging and dropping the content to the correct location using the file manager or with an ftp program. 

Since we run a shared hosting environment, we have to uniquely identify your usernames to your account only. We do this by attaching your system username and an underscore '_' before all the databases and users that you create. This only applies to your database name and database username, you password stays normal.

Please remember:
- Your username can only be up to 7 characters long, every character after that will be cut off.  
- You need to add your user to your database after the two are created.
- Database Server/Host Address- If your script or program is going to be accessing our database locally, meaning it is stored on your account, the server/host address will always be: localhost.

You can password protect directories (folders) via cPanel, protecting all the files within the password protected folders.

Note: At this time, cPanel can only protect directories, not individual files. Any file that needs protection can be placed in a protected directory.

To password protect a directory:

  1. Log into your cPanel and click on the Password Protect Directories icon found under Security.
  2. Choose Web Root (you may also need to select Show Hidden Files)
  3. Click on the name of the directory that you wish to password protect.
  4. Check the box for Password protect this directory.
  5. Fill in Name the protected directory field. This will be the message shown to visitors when they try to login and can be anything you like.
  6. Click on the Save button below.
  7. Click Go Back.
  8. Fill in a Username and Password at the bottom of the page, and clickAdd/modify authorized user.

To ensure your directory has been password protected, launch your browser and view the directory. If the browser prompts you to login, then your folder has been password protected.

Warning! This password has a maximum of 8 characters. Any characters typed beyond the first 8 will not be required by visitors.

 

404 Error When Using a URL with a Shared Server SSL

If you are accessing a password protected directory with a URL that includes the use of a shared server SSL (https://securexxx.rfehosting.com/~<user>/<whatever>) and receiving a
404 error, this is because  Apache is looking for a 401 page and serving a 404 when it is not found.

To resolve this, add a single line to the .htaccess file in the protected directory, to give Apache the 401 page it is looking for (ErrorDocument 401 "Authorization Required").

Example

In the following code, please be sure to replace yourusername with your actual cPanel username, and also be sure the gator114 is replaced with your actual server number. This information can be found in your welcome email as well as on the left navigation menu in your cPanel.

 

Before Fix:

AuthType Basic

AuthName "home"

AuthUserFile "/home/yourusername/.htpasswds/public_html/home/passwd"

require valid-user 

 

After Fix:

AuthType Basic

AuthName "home"

AuthUserFile "/home/yourusername/.htpasswds/public_html/home/passwd"

require valid-user

ErrorDocument 401 "Authorization Required"

 

500 Error After Login

Check the folder ownership on the .htpasswds folder (above public_html). Change them from user.user to user.nobody and ensure the permissions are set to 750 and then refresh your protected page. The error will be gone.

 

It is essential to keep a local copy of your website to protect it from any number of disasters. It is easy to backup your files, databases, email forwarders (aliases), and email filters in cPanel under 'Site Management' and 'Backup' or 'Backup Wizard'. You can also use a cron job to regularly backup your databases.

For cPanel & WHM 11.48

 

 

Overview

cPanel's Home interface provides access to all of cPanel's features. 

Notes:

Icon

The options that are available in your cPanel Home interface, and its appearance, depend on the way in which your web host configures cPanel and your account. For more information, contact your hosting provider.

Customize the cPanel interface

The cPanel interface organizes features into boxed sections, to allow you to find related features quickly. 

  • To change the order in which these sections appear, click and drag a section's heading bar to the new position in the interface. 
  • To hide a section, click the icon in the top right corner of the heading bar.
  • To reveal a hidden section, click the icon in the top right corner of the header bar.

cPanel interface features

The following interface features are available in cPanel's Home interface, organized by location.

Feature
Description

Home

Click the Home icon from anywhere in the cPanel interface to return to the Home interface. You can also click the Home  link at the bottom of any interface to return to the Home interface.

This icon is located at the top of every cPanel interface.

Help

The Help feature opens a new window with information about the current interface, a link to the cPanel & WHM documentation, links to video tutorials, and a link to the Contact Customer Support interface (Home >> Contact Customer Support) that you can use to contact customer support.

The Help icon is located at the top of every cPanel interface.

Notes:

Icon
  • You can also access the Help and Contact Customer Support features, and our documentation, from the links at the bottom of the interface.
  • Your hosting provider determines if the Contact Customer Support feature is available.

Logout

Click the Logout icon to log out of your cPanel account. You can also access this feature from the Logout link at the bottom of the interface.

Important:

Icon

Make certain that you click Logout after you access your cPanel account from any computer that others may use.

This icon is located at the top of every cPanel interface.

 

Switch Theme

The theme is the framework of the cPanel interface. Use the Switch Theme menu to switch to a different theme.

  • Your web host's configuration determines the themes that are available to you.
  • This documentation is for the x3 theme. For more information about the Paper Lantern (paper_lantern) theme, read our Paper Lantern documentation.

This feature is located on the left side of the cPanel Home interface.


Notices

The Notices feature displays important messages from your hosting provider.

This feature is located on the left side of the cPanel Home interface.

Find

Enter a keyword in the Find text box to search for a cPanel feature. 

  • The icons that display will automatically filter to show the results. 
  • To unfilter the Home interface, click X to the right of the text box.

This feature is located on the left side of the cPanel Home interface.

Frequently Accessed Areas

This section displays links to the cPanel features that you access the most often.

This feature is located on the left side of the cPanel Home interface.

Stats

The Stats table displays information about your cPanel account and its resource usage. To increase your account's resources, contact your hosting provider about an upgrade to your hosting plan.

  • Click Expand Stats to view more information about your account.
  • For more information about this feature, read the Stats section below.

This feature is located on the left side of the cPanel Home interface.

Switch Account

The Switch Account feature allows resellers to select another cPanel account to manage from within the cPanel interface.

Note:

Icon

This feature only appears in the cPanel interface if you are the administrator of more than one cPanel account and your hosting provider enables this feature. 

This feature is located in the top center of the cPanel Home interface .

 

Stats

Notes:

Icon
  • The CPU Usage, Memory Usage, and Entry Processes statistics are only available if your server uses the CloudLinux™ operating system.
  • The File Usage statistic is only available if your server administrator enables it.

The expanded Stats table displays the following information:

Statistic
Description
Main Domain The primary domain on your account.
Home Directory The directory on your server in which your website’s folders and files reside.
Last Login From The IP address from which you last accessed your cPanel account.
CPU Usage

The amount of CPU that your cPanel account currently uses.

File Usage

The number of inodes (files and directories) that your account has used, and your account's inode limit.

Memory Usage

The amount of memory that your cPanel account currently uses.

Entry Processes

The number of PHP scripts that are in use by your cPanel account.

Disk Space Usage The amount of disk space that your account occupies on the server, in Megabytes, and the amount of disk space that is allocated to your account.
Monthly Bandwidth Transfer

The amount of data that has transferred to and from your account for the month to date in Megabytes, and the total monthly bandwidth that is allocated to your account.

Email Accounts The number of email accounts on your account, and the total number of email accounts that your cPanel account allows.
Subdomains The number of subdomains on your account, and the total number of subdomains that your cPanel account allows.
Parked Domains The number of parked domains on your account, and the total number of parked domains that your cPanel account allows.
Addon Domains The number of addon domains on your account, and the total number of addon domains that your cPanel account allows.
FTP Accounts The number of FTP accounts on your account, and the total number of FTP accounts that your cPanel account allows.
Mailing Lists The number of mailing lists on your account, and the total number of mailing lists that your cPanel account allows.
All SQL Databases The number of SQL databases that you have created, and the number of databases that you are able to create for each database type.
MySQL Databases The number of MySQL® databases that you have created, and the potential number of MySQL databases that you are able to create.
MySQL Disk Space The amount of disk space that your MySQL databases use.
Mailing List Disk Space The amount of disk space that your mailing lists use.
Hosting package The name of the web hosting plan that your hosting provider assigned to your cPanel account.
Server Name The name of your server.
cPanel Version The version of cPanel & WHM that currently runs on your server.
Theme The version of the cPanel interface layout that you currently use.
Apache version The version of the Apache server that currently runs on your server.
PHP version The version of the PHP scripting language that currently runs on your server. This information is useful when you install PHP scripts.
MySQL version The version of MySQL that currently runs on your server. This information is useful when you install MySQL databases on your website.
Architecture The type of microprocessor that powers the server.
Operating system The system software that manages the server.
Shared IP Address

If your domain uses a shared IP address, that IP address will display.

Note:

Icon

Multiple accounts on a cPanel & WHM server may share an IP address.

Dedicated IP Address If your domain uses a dedicated IP address, that IP address will display.
Path to sendmail The location of the sendmail program on your server. This is useful if, for example, you create a script that allows visitors to send you email with a form on your website.
Path to Perl The location of the Perl interpreter on your server. This information is necessary in order to write Perl scripts.
Perl version The version of Perl that runs on your server. This information is necessary in order to write Perl scripts.
Kernel version The version of your server’s kernel, which is the central operating system component.
cPanel Pro The version of the cPanel Pro software that currently runs on your server.
Service Status

Click Click to View to display the Server Status interface, which displays the status of the services on your server.

The Service Status interface may include the following services:

Service
Description
cpsrvd The cPanel service daemon.
imap An email protocol for mail retrieval.
httpd The Apache webserver’s daemon. This daemon serves web pages to your visitors.
named The DNS server. This service is required in order for your domains to appear on the Internet.
Server Load Your server’s current CPU load. If this service's status icon is red, your server has performance issues.
Memory Used The amount of RAM that your server uses, shown as a percentage.
Swap Used The amount of swap memory that your server uses, shown as a percentage. Servers use swap memory in place of RAM when there is a RAM shortage.
Disk /$volume The amount of hard disk space that your server uses, shown as a percentage. If this service's status icon is red, delete old or unused files.

The Status column will display one of the following icons:

Status
Description
The service is running.
The service is busy, or the disk space is almost full.
The service has a problem, or the disk space is full.

 

At the bottom of the Home interface, there are five links that change the basic display preferences of cPanel’s interface. 

Link name
Description
Lite Graphics or Full Graphics Toggles the display of the header and footer graphics, and allows for reduced memory demands and load times.
Hide Icons or Show Icons Toggles the display of the feature icons. They can display only hyperlinks, or both icons and hyperlinks. Hide icons to reduce memory demands and load times.
Reset All Interface Settings

Click to reset any changes to the interface.

Note:

Icon

This feature does not reset the current theme.

Reveal All Boxes

Click to expand or reveal sections that you minimized.

Reset Box Order Click to change the order of interface sections to cPanel’s default setting.

Using Track DNS Tools in cPanel

One of the most useful tools in cPanel that is often overlooked is the Track DNS function. Oftentimes, when your site is not working properly, our agents use networking tools similar to this feature in cPanel to help diagnose common issues that prevent your site from functioning. Track DNS includes:

  • Domain Lookup, commonly referred to as a WHOIS lookup, allows you to find out information about any domain such as the owner of the domain name, which registrar the domain name is registered with (the company from which the domain was purchased) as well as current DNS settings. This can be a very useful tool to make sure your DNS is set up properly right after DNS changes have been made.
  • Trace Route allows you to trace the route from the server your site is on to the computer you are accessing cPanel from (i.e. the number of servers and what servers your data must pass through to get to your site). This is helpful in determining any network connection issues from your location to your server.

Domain Lookup and Trace Route

To perform a domain lookup or a trace route:

  1. Log into cPanel.
  2. In the Advanced section, click the Track DNS icon.
  3. To look up information on any domain, enter the domain (e.g. domain.com) into the text box under Domain Lookup, and click Look Up. This will display information regarding the domain registrar and current DNS settings.
  4. To perform a Trace Route to your specific server from your location, click the Trace button under Trace Route.

Note: Trace Route for Shared Servers This tool generates a traceroute from the server address to the IP you are connecting to cPanel from. To be provided with your trace route, please click the Track DNS icon from the cPanel home page, then click the Trace button.

 

There are two different ways to connect to a MySQL database:

Locally - from a script on the server, to the server for which the settings are:
Hostname: localhost
Username: username_dbuser
Password: dbpassword db_name: username_dbname db_table: dbname_table 

Remotely - from a remote computer, using Shell, ODBC, or Navicat.
The settings are the same as above, but you must use yourdomain.com in place of 'localhost'.

A 500 Internal Server Error can be caused by many things, including but not limited to invalid permissions, invalid ownership, bad lines in your php.ini or .htaccess file, invalid requests in the script, and others not mentioned here.

Typically this is not a problem with the server itself, and can be most often resolved by modifying something in your site's configuration. Please check the Error Logs in cPanel for specific information.

 

Example of Server 500 Error:

A Server 500 error will generally look something like this:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Bad permissions, Writable by group

A bad permissions error may look something like this:

[Sat Feb 06 12:05:13 2011] [error] [client 192.168.1.5] SoftException in Application.cpp:601: Directory "/home/user/public_html" is writeable by group

In this instance the folder had permissions for a folder set too high. To correct this, the permissions need to be changed from "777" to "755".

Directories and folders should be 755. Executable scripts within the cgi-bin folder must be 755. Images, media, and text files like HTML should be 644.

  • Files - 644
  • CGI Scripts - 755
  • Directories - 755

You can modify permissions with the File Manager, located in the "Files" category of the cPanel, an FTP client, or using the chmod command in SSH/Bash.

Bad .htaccess, Invalid code, command, or syntax

In the .htaccess file ("dot htaccess"), you may have added lines that are either worded badly or conflicting. The best way to troubleshoot this is comment out the lines in the .htaccess.

You can comment out a line in the .htaccess by adding # to the beginning. You are wise to save an original copy of any file before you make changes.

For example, if the .htaccess looks like this:

DirectoryIndex default.html
AddType application/x-httpd-php5 php

Then try something like this:

DirectoryIndex default.html
#AddType application/x-httpd-php5 php

Broken lines and lines that start with php_flag are the most common mistakes. If you cannot determine which line is the problem, then comment out every line.

Other common .htaccess errors:

FollowSymlinks:

An error may look like the following:

[Sat Feb 06 12:05:13 2011] [error] [client 192.168.1.5] /home/user/public_html/.htaccess: Option FollowSymlinks not allowed here

In this example the error is simple to fix; in the file specified, use a permitted directive--in this case use "SymlinksIfOwnerMatches" instead of "FollowSymlinks", or remove the line entirely.

Syntax Not Closed:

An error may look like the following:

[Sat Feb 06 12:05:13 2011] [error] [client 192.168.1.5] [alert] [client 66.249.72.82] /home/user/public_html/.htaccess: /home/user/public_html/.htaccess:3: <IfModule>ExampleRule/Module> was not closed.

Again, the solution is to simply fix the syntax, or remove it. In this case, close the ending "</IfModule>"; directive properly and put the rules on their own line to resolve the problem.

These are just a few common examples that can be caused by bad .htaccess parameters. What you encounter will likely vary, however generally the error message is descriptive enough to determine an error from it without further investigation.

Improperly configured php.ini

ForceType:

When you are using files with (or without) an extension different then the normal extension for that filetype you can use ForceType in your .htaccess file to make it clear to the server how to handle that file (or all the files in the folder) (this works on servers without phpsuexec).

An example: When you have a file called "item" (like Nucleus uses for FancyURL's) and want it to be parsed by the server as php you use the following code in your .htaccess file:

ForceType application/x-httpd-php

However, because our servers use phpsuexec this will result in an internal server error. To solve this you can simply use SetHandler instead of ForceType, so your .htaccess-file becomes:

SetHandler application/x-httpd-php

php_value:

On a server without phpsuexec it is possible to use the php_value statement in a .htaccess file to change the settings of php (actually overwrite the settings from php.ini). On a sever with phpsuexec this will also result in a server error. To solve this you can use a php.ini file which you put in the same folder as where you would have put your .htaccess file. In that php.ini file you can change all the php values. You only have to put the values you want to modify in that file. By example if you want to set the short_open_tag to Off you would have used short_open_tag? = off in your .htaccess file. Using a php.ini file this results in:

[PHP]
short_open_tag = Off

Still having issues?

If you are still having difficulties resolving this issue you may contact us via http://www.rfehosting.com/support

A database is a structured, organized set of data. In computing terminology a database refers to a software used to store and organize data. Think of it as a file cabinet where you store data in different sections called tables. When you need a particular file you look into that particular section (table) and get the file (data) you need.

WordPress uses MySQL as its database management system. MySQL is a software used to create databases, store and get data when requested. MySQL is also an open source software, just like WordPress and works best with other popular open source software, such as Apache web server, PHP, and Linux operating system.

To install WordPress you need a MySQL database. All WordPress hosting providers offer MySQL included in their hosting packages. During the installation (See: Complete WordPress Installation Tutorial), you provide WordPress your database information, and then WordPress takes care of rest of the things.

What is Database Host

Database host is the computer hosting your database on a MySQL server. Most of the time it is localhost and entering localhost in the host field would connect WordPress to your database. However, some web hosting providers may use different host names to manage MySQL servers. You will find your host name in the MySQL or Database sections of your hosting control panel. Ask your hosting provider if you cannot find the host name.

Example: an office database may have a table called employee_records. This table may have following columns:

  • employee_id
  • employee_name
  • employee_joining_date
  • employee_phone_no

WordPress will automatically create tables inside your database. At the time of writing this, a default installation of WordPress would create the following tables:

  • wp_commentmeta
  • wp_comments
  • wp_links
  • wp_options
  • wp_postmeta
  • wp_posts
  • wp_terms
  • wp_term_relationships
  • wp_term_taxonomy
  • wp_usermeta
  • wp_users

Each of these tables would have different columns where data is stored. For example, wp_users table in WordPress has these columns:

  • ID
  • user_login
  • user_pass
  • user_nicename
  • user_email
  • user_url
  • user_registered
  • user_activation_key
  • user_status
  • display_name

What is SQL Query

SQL is abbreviation for Structured Query Language, it is a special programming language used to manage databases. An instruction issued by SQL to the database server to retrieve data is called a query. WordPress uses MySQL queries to get data and use it to generate web pages. A typical MySQL query looks like this:

SELECT * FROM wp_posts WHERE ID = 23;

SQL is not just limited to retrieve data from the tables. It can also update, insert and delete data from tables and even create new tables. This how WordPress stores and edits all your website data by storing and retrieving it from the database using SQL queries.

How to Manage WordPress Database

It is important to learn how you can do certain tasks on your WordPress database. This can help you troubleshoot some common WordPress issues, help you recover your website, and make your website more secure in general. For example, you would want to learn how to create regular backups.

WordPress databases can be managed using phpMyAdmin, which is an open source web application with a nice easy graphical user interface to manage MySQL databases. There are also many WordPress plugins available which can help you create WordPress database backups.

Sometimes referred to as the file path or full path, the absolute path is the location of a directory or file in a computer. It contains the root directory as well as all other sub directories that contain the file or directory. Paths are used extensively in operating systems to represent file and directory relationships. They are also necessary to the operation of the internet and form the basis of URLs.

In addition to absolute paths, there are also relative paths. These define the location of a file relative to your working directory, or the directory you are currently located in. Absolute paths use a root directory that is usually at the top of the file tree. This means that no matter what directory you are currently in you can always use this path to locate a resource on the system.

To give you some examples, in Linux and Unix based operating systems and web servers the absolute path usually starts with a forward slash /. Each directory is then separated by forward slashes.

Example:

1 /home/john/www/blog/index.php

In Microsoft Windows based operating systems and web servers it usually starts with a drive letter and is separated by backslashes.

Example:

1 C:\Windows\Users\john\html\docs\blog\index.php

On the internet, URLs follow the Unix convention of using forwards slashes to separate files and directories on servers.

Apache or Apache Server is the most widely used web server software. Developed and maintained by Apache Software Foundation, Apache is an open source software available for free. It runs on 67% of all webservers in the world. It is fast, reliable, and secure. It can be highly customized to meet the needs of many different environments by using extensions and modules. Most WordPress hosting providers use Apache as their web server software. However, WordPress can run on other web server software as well.

What is a Web Server?

Wondering what the heck is a web server? Well a web server is like a restaurant host. When you arrive in a restaurant, the host greets you, checks your booking information and takes you to your table. Similar to the restaurant host, the web server checks for the web page you have requested and fetches it for your viewing pleasure. However, A web server is not just your host but also your server. Once it has found the web page you requested, it also serves you the web page. A web server like Apache, is also the Maitre D’ of the restaurant. It handles your communications with the website (the kitchen), handles your requests, makes sure that other staff (modules) are ready to serve you. It is also the bus boy, as it cleans the tables (memory, cache, modules) and clears them for new customers.

So basically a web server is the software that receives your request to access a web page. It runs a few security checks on your HTTP request and takes you to the web page. Depending on the page you have requested, the page may ask the server to run a few extra modules while generating the document to serve you. It then serves you the document you requested. Pretty awesome isn’t it.

chmod is a Linux/Unix shell command which is used to change permissions of files and directories. chmod is an abbreviation of change mode. Under some web hosting environments, a user may need to use this command to change some file or directory permissions to make them writable by WordPress. If users don’t have access to a Unix shell, then they can still use this command by using an FTP program.

In plain English: there are times when you want to add a plugin from your WordPress dashboard, upgrade a plugin, add image, or something similar. In some of these cases based on your web hosting settings, you might not be able to do any of that because the file/folder permissions are not correct. In this case, you would need to use the chmod.

cPanel is a web based hosting control panel provided by many hosting providers to website owners allowing them to manage their websites from a web based interface. This program gives users a graphical interface from which they can control their portion of the Unix server. The tools provided are designed to simplify running and controlling a website. It uses a tiered structure that allows different levels of access. Administrators and end users can control the different aspects of the server and the website directly through their browser. CPanel is generally accessed using https on port 2083 or simply by adding “/cpanel” to the end of the host name. Depending on the hosting provider the cPanel will generally have some sort of auto installer or package dedicated to content management systems like WordPress.

With WordPress installed, a user can us cPanel to manage the features offered by their WordPress hosting plan. Some of these popular features are the ability to manage databases, domain names, mail accounts, and back ups. Software like cpanel, makes it extremely easy for users to manage their hosting with little or no technical knowledge of web hosting on their own without breaking anything.

FTP or File Transfer Protocol is an internet protocol used to transfer files across the internet from one computer to another. For example, when you are installing a software like WordPress on your website, then you will most likely use FTP in order to upload all of the WordPress files from your personal computer to your server. In order to do this, you need something called an FTP client. The FTP client is software that runs on your personal computer and allows you to transfer files to and from your web server. Filezilla and WS_FTP are examples of easy to use FTP clients.

Most WordPress web hosting service providers give users access to FTP, so that they can upload or download files from their web hosting server directly from within their control panel. WordPress users may need an FTP client to upload WordPress files to their web hosting server before they can install WordPress.

Besides installing WordPress, if you plan on using plugins or modifying your theme’s functions.php file then it is good to understand how to use FTP. Sometimes adding a plugin or making a change to the functions.php file can cause the “white screen of death” and lock you out of your site due to poorly written code or compatibility issues between plugins. If you know how to use FTP, then you can simply connect to your server using your FTP client and delete the files that are causing the problems.

 

HotLink protection prevents other websites from directly linking to files on your website. Other sites will still be able to link to any file type that you don't specify (ie. html files). An example of hotlinking would be using a <img> tag to display an image from your site from somewhere else on the net. The end result is that the other site is stealing your bandwidth. You should ensure that all sites that you wish to allow direct links from are listed on your 'Hotlink Protection' page, found in your cPanel under 'Site Management'. This system attempts to add all sites it knows you own to the list, however you may need to add others.

Memory usage in WordPress refers to the amount of memory used by a PHP script. This script could be a theme, a plugin or a core WordPress file. A well written WordPress plugin or theme will attempt to reduce its own memory usage and not cause heavy load on your server by using excessive memory. PHP scripts consuming too much memory can also slow down a website. Many shared web hosting service providers have safeguards in place to automatically kill PHP scripts that are exceeding more than an allocated amount of memory, resulting in website downtime, and sometimes even suspended hosting accounts. To optimize memory usage in WordPress, it is strongly recommended that you use a caching plugin which reduces the load on your web server by serving cached copies of webpages.

In many cases you can see for yourself how much memory the server you are hosted on is using. In cPanel, you can click on “Service Status: Click to View” at the bottom left of your cPanel log-in page if your host allows you to see such things. Knowing what the normal usage is will help you to spot when things are abnormal and possibly a risk to your website. The memory usage is shown as a percentage of total memory. Other hosts who do not use cPanel may have similar options available to view memory usage other than through fatal errors that are displayed when too much memory is being used. If needed, you can also ask your host to increase your allocated memory when running scripts or plug-ins that require them, although this is not recommended unless you know exactly what you are doing.

When using the common PHP installation on a webserver, PHP runs as the user nobody and it doesn't require the execute flag to be enabled. The problem with this is that if mod_openbasedir is not installed, every user will be able to read your PHP files because everyone is virtually sharing the same username (nobody).

PHP Files are not meant to be read, but parsed, and that is where the problem resides. PHP files have to be parsed, otherwise everyone who is able to read your PHP file will see settings that you would probably want to keep private, such as your MySQL username and password.

PHPSUEXEC fixes all this because it requires PHP to be run as the file owner's username and it also fixes file ownership problems. This is a common issue on a few Content Management Systems such as Joomla and also on the popular blog software WordPress. It also adds security to your files as you can use permissions such as 600 or 700 in your files and your visitors will still be able to view them in their browsers. PHPSUEXEC will also refuse to serve any pages that are at security risk, for example with 777 as permissions.

Secure Shell (SSH), known as Secure Socket Shell, is a UNIX-based command interface and protocol for securely getting access to a remote computer. It is widely used by network administrators to control Web and other kinds of servers remotely.

SSH is actually a suite of three utilities - slogin, ssh, and scp - that are secure versions of the earlier UNIX utilities, rlogin, rsh, and rcp. SSH commands are encrypted and secure in several ways. Both ends of the client/server connection are authenticated using a digital certificate and passwords are protected by being encrypted. SSH uses RSA public key cryptography for both connection and authentication. Encryption algorithms include Blowfish, DES, and IDEA. IDEA is the default. The SSH feature is primarily for advanced users with a working knowledge of UNIX.

SSH is only avalable on our VPS/Dedicated Plans.

The maximum php upload file size is 64MB on our shared hosting servers.

The path to public html is: /home/your-cpanel-username/public_html

If you login to you cPanel account at www.yourdomain.com/cpanel and select 'Softaculous' under 'Software/Services' you will find a selection of Addon Scripts such as blogs, content management and E-Commerce. Softaculous allows you to easily install and configure the most popular applications available.

The current E-Commerce programs available are:

PrestaShop
AbanteCart
WHMCS
Magento
osCommerce
Loaded 7
Zen Cart
TheHostingTool
TomatoCart
BoxBilling
OpenCart
Avactis
Quick.Cart
LiteCart
SimpleInvoices
X-Cart
CubeCart
AlegroCart
Open Source Point of Sale
CS-Cart
Axis
phpCOIN
SeoToaster Ecommerce
Blesta
Zeuscart
Open eShop
Thelia 2
ClientExec
Invoice Ninja
Shopware

RFE Hosting supports the latest stable version - http://httpd.apache.org/docs/2.2/

All files and folders should be uploaded to the public_html directory.

The public_html folder can be accessed either by FTP or via 'File Manager' under 'Site Management' in cPanel.

To access your hosting account via FTP connect to www.YOURDOMAIN.com

Be sure to create an index file for your home page, this can be index.htm, index.html, index.php, etc.

Please note our Linux servers are case sensitive so index.htm and Index.htm are two separate files. Index.htm will not be recognized as the default first page. It must be index.htm (.html, .php, etc.) in lowercase.

We restrict outgoing port access as a result of the shared hosting environment. In this environment every account on a server shares a single IP address. As a result some outgoing ports are blocked because no single account is assigned the IP address for the box.

Purchasing a dedicated IP address allows your account to have the ability to use a SSL certificate.

We require that you pay for the dedicated IP address because we have to purchase the IP addresses from our provider. Leasing the IP addresses is done in large batches to minimize costs.