Monday, September 10, 2012

How do I log into WHM?

It easy to log into your WHM Panel, you can go to any of the following links. And just make sure to customize the links as necessary.

This is for if the domain name is already propagated

http://www.yourdomain.com/whm
http://www.yourdomain.com:2086
http://whm.yourdomain.com/

Or, if you have run out of bandwidth, try one of these by using server IP address:

http://ServerIP/whm
http://ServerIP:2086
https://ServerIP/whm
https://ServerIP:2087



And then Enter your WHM username into the Username field. Enter your password into the Password field. Click Log in.

How to Setting Private Nameservers for Reseller Account?

What is Reseller Center? This set of features allow you to add or remove reseller status on existing accounts, email resellers, apply ACLs to resellers, reset package permissions, and configure existing reseller accounts.

Go to WHM and click Reseller Center under Resellers


At Reseller Modifications, Choose or highlight reseller username to be set. This set of features allows you to modify the way your resellers interact with your web server.

Now try to Select edit/Privileges and nameservers
Scroll to bottom of the page for the Nameserver entry and add the private name servers.


Also make sure that A records are setup for the private name servers in the zone file as well.

How to Add and Set a Package in WHM?

You will need to create a package before have an cPanel account in WHM.
How to create cpanel Account? Once logged into WHM, go to Add a Package under Packages.
Give a name to the package in the blank for New Package Name.


Note: Package names preceded by a reseller's username followed by an underscore can only be seen by the corresponding reseller. Packages are limitations on resources an account is allowed to use. For example, you may specify how much disk space an account is allotted. These limitations are bundled and saved so that they can be applied to accounts later. This streamlines setting up new accounts, since you can sell predefined packages to your cPanel account holders or resellers.

What is Resources
Quota (MB): Defines the amount of space on the server’s hard drive the new account will be allowed to use. This option is defined in Megabytes (MB). Make sure to consider what kind of content your user intends to host, as this will greatly affect how much disk space he will need.
Bandwidth (MB): Defines the amount of information the new account will be allowed to transfer each month. This option is defined in Megabytes (MB). Make sure to consider what kind of content your user intends to host, as this will greatly affect how much bandwidth he will need.
Max FTP Accounts: Defines the maximum number of FTP accounts that the new account will be allowed to have at 1 time.
Max Email Accounts: Defines the maximum number of email accounts that the new account will be allowed to have at 1 time.
Max Email Lists: Defines the maximum number of mailing lists that the new account will be able to have at 1 time. Mailing lists are handled by an application known as Mailman.
Max Databases: Defines the maximum number of both MySQL and PostgreSQL databases the new account may have.
Max Subdomains: Defines the maximum number of subdomains for the new account.
Max Parked Domains: Defines the maximum number of parked domains for the new account.
Max Addon Domains: Defines the maximum number of addon domains for the account.
Maximum Hourly Email by Domain Relayed: New option in WHM 11.3x version to set email sending per hours.
Maximum percentage of failed or deferred messages a domain may send per hour: This configuration option allows you to define how overages are handled when a domain exceeds the maximum number of emails allowed per hour. By default, additional messages are queued for delivery and sent in the next hour.

Settings
Dedicated IP: Only check this if you want accounts being set up with this package to automatically have a Dedicated IP assigned to cPanel Account.
Select Options: You can check or uncheck the options for Shell Access, FrontPage Extensions and CGI Access, depending on what you want the accounts to have access to.
cPanel Theme: The default cPanel theme that is set for this account when created with this package.
Feature List: If you ever set up a custom Feature List, you select it here.
Locale: The language that the cPanel will be using.

When done, click on Add.

Thursday, September 6, 2012

How to Install Wordpress from Softaculous?

Well, who don't know Softaculous Installation Script are famous software utility in cPanel?. And now, I will tell you How to installing WordPress from the cPanel control panel using Softaculous with easy.

1. Log in into your cPanel Account, and scroll down until you find Software/Service tab, and find Softaculous Icon.


2. Once in, you can view a brief information regarding WordPress at Softaculous. Click the Install link placed above the header to initiate the installation.


3. Softaculous will show automatically fill in default settings, you may want to customize them.


4. Its required to populate the empty boxes, tyep the name of new directory in Directory field. Or let it blank if  to install in your main directory.


5. Click Install once it done.

6. After installation progress, you will see a confirmation page of your installation. Try to open the link to see your WordPress site and open the WordPress admin login with your username and password had set during the installation.

Hopefully this helpful.

Wednesday, August 8, 2012

How to Assigning Dedicated IPs to Subdomains?

If you plan to perform Install SSL Certificates on a subdomain of the domain itself. With condition the subdomain must have its own dedicated IP. An example is the https://subdomain.domainname.com where subdomain installed dedicated IP and SSL Certificates, the following explanation how to assigning dedicated IPs to Subdomains with easy.
  • Make sure there are empty as the destination IP is the use of subdomain
  • Go to the SSH server console
  • Type cd /var/cpanel/userdata
  • Then to the destination username cpanelnya account, for example here is the user should examp, type cd examp
  • In the examp user directory, there are files, and for example you want to change the subdomain Sub1, from the example.com domain that already exists, for example sub1.example.com
  • Open the file sub1.example.com, use your favorite text editor such as (vi, vim, pico, nano, etc.)
Edit the IP address as the following example:

customlog:
-
format: combined
target: /usr/local/apache/domlogs/example.com
-
format: “\”%{%s}t %I .\\n%{%s}t %O .\”"
target: /usr/local/apache/domlogs/example.com-bytes_log
documentroot: /home/examp/public_html
group: Group1
hascgi: 1
homedir: /home/examp
ip: 192.168.0.2 <— CHANGE THIS IP
owner: Example
phpopenbasedirprotect: 1
port: 80
scriptalias:
-
path: /home/examp/public_html/cgi-bin
url: /cgi-bin/
-
path: /home/examp/public_html/cgi-bin/
url: /cgi-bin/
serveradmin: webmaster@example.com
serveralias: www.example.com
servername: example.com
usecanonicalname: ‘Off’
user: examp
userdirprotect: ”
  • Edit IP 192.168.0.2 in the example above with the IP Server that will be used.
  • Save the file
  • Do a rebuild Apache, type: /usr/local/cpanel/scripts/rebuildhttpdconf
  • Do restart Apache, type: /usr/local/cpanel/scripts/restartsrv_apache

Done, you can try doing Installing SSL Certificates via WHM and will appear sub1.example.com with IP that was set above.

How to use Cron Jobs at cPanel?

Cron jobs allow you to automate certain commands or scripts on your site. You can set a command or script to run at a specific time every day, week, etc. For example, you could set a cron job to delete temporary files every week to free up disk space.

Notice: 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.

How to use Cron Jobs?

Click Cron Jobs icon at Advnaced Tab, see this picture


Cron Email meaning You can have cron send an email everytime it runs a command. If you do not want an email to be sent for an individual cron job you can redirect the command's output to /dev/null like this: mycommand >/dev/null 2>&1


Put your email address and click Update Email at sample above

To add New Cron Job, use this feature setting as this picture

After new Cron Job was set, it wil show at Current Cron Jobs

How to create MySQL Databases at cPanel?

MySQL Databases allow you to store lots of information in an easy to access manner. The databases themselves are not easily read by humans. MySQL databases are required by many web applications including some bulletin boards, content management systems, and others. To use a database, you'll need to create it. Only MySQL Users (different than mail or other users) that have privileges to access a database can read from or write to that database.

Databases offer a method for managing large amounts of information easily over the web. They are necessary to run many web-based applications such as bulletin boards, content management systems, and online retail shops.

If you need to create a database as well as the account that will access it, we recommend using the MySQL Database Wizard. Alternatively, you may create a database, add users, and link a database to an existing user account using this screen.

How to creat MySQL Databases?

Click MySQL Databases icon at Databases Tab, see this picture

In the New Database field, type a name for the database. The new database will appear in the Current Databases table.

After you create the database, you will need to add users and their privileges so that the database can be filled and managed. Please note that MySQL user accounts must be created separately from mail and web administrator accounts.

Under Add New User, enter a username. Enter a password in the Password field. Click Create User.

Privileges define how the user is able to interact with the database. For example, they will determine whether or not the user can add and delete information. To define a user’s privileges:

Under Add User to Database, select a user from the User drop-down menu. From the Database drop-down menu, select the database to which you wish to allow the user access. Click Add. From the MySQL Account Maintenance screen, select the privileges you wish to grant the user, or select ALL PRIVILEGES. Click Make Changes.

How to Redirects your Domains at cPanel?

What is Redirects? this feature allows you to make a specific web page redirect to another page and display the contents of that page. This way you can make a page with a long URL accessible by a page which has a shorter and easier to remember URL.

How to Redirects Domains?

Click Redirects icon at Domains Tab, see this picture

- Enter the URL you would like to redirect, using the pull-down menu and corresponding text box.
In the redirects to field, enter the URL to which you would like to redirect users.
- Select whether to redirect with or without www. preceding the URL
- Click the Wild Card Redirect box if you wish to redirect all files within a directory to the same filename in the new directory.
- And then click Add

A permanent redirect 301 setting will notify the visitor's browser to update any bookmarks that are linked to the page that is being redirected.
Temporary redirects 302 setting will not update the visitor's bookmarks.

How to create Parked Domains at cPanel?

What is Parked Domains (Domain pointers)? it mean allow you to "point" or "park" additional domain names to your existing hosting account. This will allow users to also reach your website when entering the "parked" or "pointed" domain into their browsers.

How to create Parked Domains?

Click Parked Domains icon at Domains Tab, see this picture

Enter your domain name and click Add Domain.
Domains must be registered with a valid registrar before they can be parked. In addition, they will not be functional unless they are configured to point to your DNS servers.

You may also remove Paked Domains if not use anymore.

How to create and use Addon Domains at cPanel?

An addon domain allows visitors to reach a subdomain of your site by typing the addon domain's URL into a browser. This means that you can host additional domains from your account, if allowed by your hosting provider. Addon Domains Subdomains are relative to your account's home directory. And the addon domain’s files will be stored in a subdirectory of your public_html folder.

How to create Addon Domains?

Click Addon Domains icon at Domains Tab, see this picture

 And enter your new domain name, Subdomain/FTP Username, Documen Root (path of your addon domain), Password and then click Add Domain.


This Addon Domain feature must be enabled for your account before you can use it. Addon domains will not function unless the domain name is registered with a valid registrar and configured to point to the correct DNS servers.

How to create and use Sub Domains at cPanel?

Subdomains are URLs for different sections of your website. They use your main domain name and a prefix. For example, if your domain is domain.com a sub-domain of your domain might be subdomain.domain.com.

Subdomains are relative to your account's home directory. The icon signifies your home directory which is /home/your-cpanel-user.

How to create Sub Domain?
Click Sub Domains icon at Domains Tab, see this picture

And enter your new name for domain at Subdomain field, also destination or path your subdomain directory, then click Create.
It is important to remember that it takes time for the subdomain to become recognized by other computers on the web. Visitors will not be able to view your subdomain immediately; the process takes anywhere from 2 days to a week.

Subdomains can be useful for creating unique user accounts for “vanity domains.” This is helpful if, for example, you have a blog, or any other type of website that uses a domain specifically titled for a user.

Tuesday, August 7, 2012

How to use Password Protect Directories at cPanel?

Password Protect Directories is option will allow you to require a username and password to access a folder or folders from the web. This can be very useful when you need to limit access to a certain part of your site.

How to use Password Protect Directories?

Click Password Protect Directories icon at Security tabs, see this picture


And click the folder to protect

Security Settings mean When a user accesses the protected directory through the web, they will be prompted to enter a username and password. The name that you choose for the protect directory will appear as well.

At least Create User to protect your directory, enter new user and click add/modify authorized user.


Thats all, now when you access the folder site, it will appear and prompted valid username and password.

How to know your Latest Visitors Stats at cPanel?

Latest Visitors Stats is the quick stats lists the most recent 300 visitors or people that have accessed to your website in the last 24 hours. But,  If your web site or the associated domain you choose to view visitor information on has not received 300 visitors, it will only show the number of visitors who have actually accessed or visited your web site.

How to check you Latest Visitors Stats?

Click Latest Visitors icon at Logs tabs, see this picture, and select your domain to view the visitor stats.


Here is the sample log visitor stats from cPanel Account.


Once you have chosen the domain you want to view the last 300 visitors for in Step above, the next page will list sections based on the "Host" IP address, URL, size and etc.

How to know your Website Statistic use Awstats at cPanel?

AWStats is an open source Web analytics reporting tool. and short for Advanced Web Statistics and available on cPanel account features. AWStats is powerful log analyzer which creates advanced web, ftp, mail and streaming server statistics reports based on the rich data contained in server logs file formats including Apache (NCSA combined/XLF/ELF log format or common/CLF log format).  Data is graphically presented in easy to read web pages.

So, Awstats produces visual statistics about visitors of your site.

How to know your website static using AWStats?


Click Awstats icon at Logs tabs, see this picture, and select your domain to view the stats.
Here is the sample monthly website statistic with graph

And here is the sample daily website statistic


With this AWStats tools, you can check all your website real statistic.

How to Create FTP Accounts at cPanel?

FTP accounts allow you to access your website's files through a protocol called FTP. You will need a third-party FTP program to access your files. You can log into via FTP by entering 1seminyak.com as your FTP host and the username and password of the account you wish to log into.
How to Create FTP Accounts?

Click FTP Accounts Icon at Files Tab like this picture


Put your new FTP data accounts such like Login, Password, Retype Password, Directory of FTP and Quota to able use File manager. And then click Create FTP Account.


Your new user of FTP Account created, you may use FTP software to use this tools.

How to check your Disk Space Usage at cPanel Account?

What is Disk Space Usage?

Disk Usage in cPanel Viewer provides an overview of the disk space that your account is using. It shows disk usage totals for your account’s directories and all of its databases rather than for individual files or databases. Use the File Manager to see disk usage data for individual files, and the MySQL main page to see data for individual databases.

This is a sample picture showing the disk space usage at cPanel account.


How to check your Disk Space Usage?

Click Disk Space Usage Icon at Files Tab like this picture

How to Backup and Restore your MySQL Database?

The database is also importan for your website, just ignore this guide if you don't have any database for your website scripts are not use MySQL Databases.

Databases offer a method for managing large amounts of information easily over the web. They are necessary to run many web-based applications such as bulletin boards, content management systems, and online retail shops.

If you need to create a database as well as the account that will access it, we recommend using the MySQL Database Wizard. Alternatively, you may create a database, add users, and link a database to an existing user account.

How to Download a MySQL Database Backup?

Click Backups Icon at Files Tab like this picture


And download and select the databases from Download a MySQL Database Backup


How to restore a databases file?

Upload your database file at Restore a MySQL Database

How to Backup your Full Website from cPanel Account?

Did you know how backup are important? this will safe your cPanel account if something have problem.

Backups allow you to download (to your computer) a zipped copy of either your entire site (including your home directory, databases, email forwarders configuration, and email filters configuration) or one of the previously mentioned parts of your site. These are not automatically scheduled backups. Automatically scheduled backups need to be enabled by the server owner/administrator.

Full Backup
A full backup includes all of the files in your home directory, your MySQL databases, and your email forwarders and filters. You can back up your account to preserve your data, or to move your account to another cPanel server.

How to Backup?

Click Backups Icon at Files Tab like this picture


Last, you can download all full backup of your cPanel Account by clicking Download or Generate a Full Website Backup, save it on your computer.


Or you may use this for other option

 
How to restore a backup file?

Upload your backup file at Restore a Home Directory backup

Thats it, i suggest you to always backup your cPanel Account.

Monday, August 6, 2012

What is Error Log in cPanel?

This feature 'Error Log' displays the last 300 errors that have occurred on your website. This can be useful for finding and fixing broken links and misconfigured web applications. Checking it often will aid in keeping your website running smoothly.

How to Check the Error Log?

Just go and click Error Log Icon at Log Tabs like this picture

This is a sample Error Log in one cPanel Account


You may check every error log to fix and correct your website from this tool.

How to use Email Forwarders in cPanel?

After succesfull login into your cPanel area, just click Forwarders icons in Mail Tab like this picture


What is Email Forwarders?

Forwarders allow you to send a copy of all mail from one email address to another. For example, if you have two different email accounts, joe@example.com and joseph@example.com, you could forward joe@example.com to joseph@example.com so that you do not need to check both accounts. Note that the forwarded mail will still be delivered to the original address as well.

Now, click Add Forwarders to add new forward email


Fill out your email at address section
Put destination email to receive email forwarders from this tools

The first option (Forward to email address) will forward mail sent to non-existent addresses according to what is specified in the ‘Forward to email address’ field. Selecting the first option is a very bad idea as you will likely receive a large volume of junk mail sent to random addresses at your domain (e.g. somethingemail@yourdomain.com). For this reason, we recommend that all customers set the default address behavior to ‘Discard with error to sender (at SMTP time)’.

The first step in fighting incoming junk mail is to turn off e-mail “catch-all”. This is done by setting the default address behavior to ‘Discard with error to sender (at SMTP time)’.

Another description for Pipe.

When piping to a program, you should enter a path relative to your home directory. If the script requires an interpreter such as Perl or PHP, you should omit the /usr/bin/perl or /usr/bin/php portion. Make sure that your script is executable and has the appropriate hashbang at the top of the script. If you do not know how to add the hashbang, just make sure to name your script file with the correct extension and you will be prompted to have the hashbang added automatically.

How to change your cPanel Style?

After succesfull login into your cPanel area, just click Change Style icons in Preferencs Tab like this picture

The feature allows the overall look and feel of cPanel to be altered to fit your personal style. Several pre-installed styles are available to choose from.


Choose your new style and save it.
Now your new cPanel style are changed.

How to change your cPanel Password?

After succesfull login into your cPanel area, just click Change Password icons in Preferences tabs like this picture

And then put your old password, and new password. Recommended to use Password Generator for high level password like this picture



It's Done

Now you can use new password when login to your cPanel account

How to create and access Webmail Accounts

After succesfull login into your cPanel area, just click Email Accounts icons like this picture



And then give the email account, password, retype password, Mailbox Quota and click Create Account, like this picture



It's Done

Now how to access your webmail account? just type this link:



http://yourdomainname/webmail
http://yourdomainname:2095
http://yourserverip:2095