Installing SSL on server using WHM


Almost all webmaster try to have SSL certificate on their ecommerce sites so that all transactions can be done securely. Domain which need to have SSL certificate should be hosted on dedicated IP where you can install SSL certificate for it. You can order SSL certificate from any provider and can install it for your domain. Once you have generated or received an SSL certificate, you can install the certificate using WebHost Manager. You need to have both the certificate and key files to install the certificate. Following steps would be helpful for you to install SSL certificate.
*) Login to WHM.
*) Click on Install an SSL Certificate and Setup the Domain under the SSL/TLS menu.
*) Enter the domain, user name, and IP address for the certificate in the Domain, User, and IP Address fields.
*) Click on the Fetch button to paste the .key and .crt files for the domain into the fields, if they are currently on your server. Otherwise, copy and paste the .key and .crt files into the available display areas.
*) Paste the ca bundle for the certificate in the bottom display area
*)Click on the Submit button.
that’s all you have successfully installed an SSL certificate for required your domain.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

This post was written by on December 15, 2008

Tags: , ,

How to add a range of IPs on a BSD box.

FreeBSD is a popular free Unix like open source operating system that is based on the Berkeley Software Distribution (BSD) version of the Unix operating system. FreeBSD runs only on the Intel PC platform (i386 and higher) having atleast Pentium processor and also on amd64, Alpha/AXP, IA-64, PC-98 and UltraSPARC processors. You can consider FreeBSD as an alternative to Linux which will run Linux applications. Its said that its fast, stable, and is appropriate for Internet server or as a file server. FreeBSD supports all major X Window desktops, such as KDE and GNOME.

If you want to add Dedicated IPs on server having FreeBSD you need to follow following instructions.
First login to your FreeBSD server as a ‘non-root’ user. You should have an account in the ‘wheel’ group. Once you logged in your server just run the following commands to switch users to ‘root’

su -
Password:
server#

you will get command prompt as ‘#’ which indicates that you are operating server as ‘root’ user. Now run following commands as root :
ee /etc/rc.conf

now for example, if we want to add 4 IPs for your server [ 192.168.1.3 - 192.168.1.6 ] you need to implement following :
Code:
ifconfig_fxp0=”inet 192.168.1.2 netmask 255.255.255.248″
ifconfig_fxp0_alias0=”inet 192.168.1.3 netmask 255.255.255.255?
ifconfig_fxp0_alias1=”inet 192.168.1.4 netmask 255.255.255.255?
ifconfig_fxp0_alias2=”inet 192.168.1.5 netmask 255.255.255.255?
ifconfig_fxp0_alias3=”inet 192.168.1.6 netmask 255.255.255.255?

Note that changes to the _aliasNN and also the netmask changes to 255.255.255.255 from 255.255.255.248. The IP’s will not work unless you use a 255.255.255.255 netmask for the alias IP’s.

Once you added the entries to your file you need to press ‘ESC’ and have to save this file. You need to reboot the server so that all new IP’s would get bounded with your server and you can use them.
You have other option too, you can also use ifconfig command for adding IP’s on your server, in this case you don’t have to reboot your server. You can also add extra Dedicated IPs if you have WHM/cPanel control panel with your server. just login to your WHM account and add new Dedicated IP using WHM >> Add a new IP.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, Uncategorized, cPanel Hosting, cPanel hosting accounts

This post was written by on November 25, 2008

Setting or Changing MYSQL Root Password

Setting/changing MYSQL root Password
Setting up mysql database password is one of the important tasks which a webmaster should take care of. If you have never set a root password for MySQL, then server does not require a password at all for connecting as root and if you have already set password for your database and for some reason if you want to change it then you can do so using following commands.
To setup root password for MySQL databases for first time you need to login to your server as root and will have to use mysqladmin command at shell prompt as follows:

$ mysqladmin -u root password “mysql_password“

However, if you want to change/update your root password, then you will have to use following command

$ mysqladmin -u root -p oldpassword newpassword

after you fire above command you will have to provide password for your MySQL database.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

This post was written by on November 5, 2008

Tags: , ,

Reset WordPress admin password using cPanel

You have wordpress blog and for some reason you want to reset admin password of it. You can do so easily using your control panel cpanel. Your webhosting service  provider will provide you cpanel as webhosting control panel using which you can easily manage all aspect of your hosting account. cPanel includes a very useful tool called phpMyAdmin which is used to mange your databases so if you want to reset password for your blog then most convenient way is through phpMyAdmin databases management tool.
You need to login to your control panel cPanel >> MySQL Databases section, scroll down and click on phpMyAdmin link or
Goto cPanel >> Databases>>phpMyAdmin


After you got in phpMySQL you have to select Wordpress dataases from the drop-down list, you will get all batabase tables, now open SQL tab and just fire following SQL query in it.
UPDATE `wp_users` SET `user_pass` = MD5( ‘new_password_here’ ) WHERE `wp_users`.`user_login` = “admin_username”;
new_password_here” -  your new password goes here
admin_username” – the username for which you are updating password shouls be used here.
Just click on GO button and you have updated/reset password for Admin/user for yoru WordPresss Blog. If everything goes fine you can login to your WordPrress blog using new password.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

This post was written by on October 23, 2008

Tags: , ,

cPanel Drupal Hosting

 Every reputed webhosting service provider will support Drupal hosting, if you are using Drupal CMS for developing your website then you should check if your preferred webhost support this CMS on their servers. linux hosting plan as PHP-MySQL is perfect combination on Linux hosting plans. You will be offered with cPanel as your webhosting control panel where you will be having Fantastico as addon within your cPanel. You can install Drupal or other CMS using Fantastico addon of your cpanel. Installing Drupal is very simple and is just a single click operation through Fantastico. Using cpanel you can manage your website hosting account and can easily manage databases and other stuffs of your drupal application.
You can consider Drupal as one of the leading content management systems (CMS) available free of cost as its open source CMS which is written in PHP programming language. It have many powerful features and have easy management tools which can be used for managing, developing your website. If you are planning to publish small websites, blogs or major community websites you can consider Drupal as your website development application. Drupal CMS have builtin tools which are very useful for developing small or large corporate website.


Using Drupal you can create Community web portals,Social Networking sites,E-commerce applications ,Personal web sites or blogs etc very easily though you don’t have much technical web-programming knowledge. Drupal is very easy to install and can be operated even if you are newbie in website development. You can have Search engine friendly URLs which would help you for better ranking in Google, you can have multiple categories, can easily implement search function within your site which will help your website visitor to browse your site deeper. You can create a webforum, blog, wiki or any other website as per your requirement using Drupal CMS thus Drupal is getting more popularity and is widely used.
Thus if you are planning to use Drupal you need to get a reliable website hosting service provider who will offer you Drupal hosting package.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

This post was written by on October 22, 2008

Tags: , , ,

cPanel website backup restore feature.

As a system administrator you should always try to keep your system up and running all the time, Its your responsibility for ensuring backup and making it available in case of system crash. A system with no backups is useless as if in any case your system got halt then there’s no way for getting your system back. So its always recommended to have a latest backup for your server.
A good backup strategy should be implemented and which may composed of backup, storage, verification, and restoration. Backup component covers methods for taking backups and about the data which has to be backup. Backup storage covers both terms related to what media you want to take backup and where you want to keep your backup.
You should also verify your backup as its most important factor which is needed to be considered, you should have latest backup available for your system which can be used to restore system if for some reason it get down.

Two main strategies for backups are to be considered : Disaster Recovery and Archival.

Disaster Recovery : These backup are designed for restoring your system to a normal working state. This can be achieved by taking backup of entire system which can be used to restore it on another machine and you can continue with your work.
Archival strategy : It termed as retrieving all backup data you have for a particular server/system and to restoring your system as a effective working system.
Both strategies works in conjunction, while archiving your data you usually reinstall and reconfigure the operating system before restoring the data;  this process takes longer time and is more error prone. So you have to be careful while you are working on Archiving your data. You should test your backup strategy before you implement them on working system.  You can test Disaster Recovery backup system by restoring your system backup onto a fresh system so that you can confirm that you ca recover your system from an emergency. An archival system can be tested by retrieving files and verifying them, you can crosscheck that you have found the files you need and are readable after system restoration.


If you are into webhosting industry you should take backup of your account/server as frequent as possible. If you are using Linux hosting package you can backup your server/account using cPanel administrative interface.
Using cPanel you can easily take backup of your hosted site, your databases or even your home directory. First of all you need to login to your control panel cPanel. Just try to find “ backup “ icon using which you can initiate backup process for your hosting account. On backup page you have several option available you can download or restore your MySQL Databases and also web data. You have option for Generating Full backup or Downloading full backup on this page. You need to provide backup destination where all your backup files would be stored. You can choose “ Home Directory “ as Backup Destination “ you also need to provide your email address as you will be receiving email once your website backup is completed. That’s all, you just need to proceed by clicking “Generate Backup”. Button and will have to wait till you receive email confirmation. Once you got your confirmation email you can download this backup copy from the location you have specified to your local machine. You will have zipped copy of your backup data stored on the location you have specified while creating backup. You can store this backup copy of your website data on your local machine  or can burn it on CD.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

This post was written by on October 2, 2008

Tags: , ,

webhosting Control Panel checklist :

Control panels are must for managing your webhosting account and are offered for free or at much cheaper cost. All webhost offers you control panel with their hosting plans. You have range of webhosting control panels available, you can choose any one as per your requirements and budget. Most popular webhosting control panels are cPanel, Plesk, Helm, WHM etc… Control panels are very useful for managing your webhosting account they  give you freedom for managing all your domains, subdomains, FTP accounts, email accounts, adding blogs, forums to your website etc… If you are not much technically sound then webhosting control panels are made for you. They have very user friendly interface and are easy to navigate and manage.

What to look while choosing control panel :
You should go through demo version for your provided control panel so that you can go through its interface and can crosscheck for its functionality. Most webhost offers you with control panel but as a webmaster you should always check its functionality. You should also check for its Graphics Interface, OS they support, their features etc…

Graphical Interface : Structure and design of your control panel should be easy to understand and navigate as you would be using it most of the time and thus its interface should be easy to understand and operate. Almost all control panels provides you with different skins which can be customize as per your feel and requirements, you can change fonts, colors and structure for design of your control panel.

Support for operating system : This is most important feature which should be look into before proceeding with any host. Make sure the OS you are using is supported for the provided control panel. Most control panel support Windows OS and Linux OS but if you are using Apple Mac OS X then you should check if provided webhosting control panel would work fine on Apple systems.

Fulfilling your needs : Make sure to check if the control panel which is provided by your webhost has all features that you are looking for. Your webhosting Control panel should fulfill all your technical stuffs which you may need to get done. If your main concern for using control panel is for setting domains and email accounts for your clients then make sure you can manage these stuffs easily using your control panel.

Posted under Linux cPanel Hosting, Shared cpanel Hosting, cPanel Hosting, cPanel hosting accounts

FTP error codes…

FTP is most widely used application using which you can manage upload download data for your website/server. While using FTP program you may come across many error or message which you need to understand and will have to react accordingly.
Following are few of them which you should know.
421 -: too many users logged to the same account.

530 -: It represent that wrong login password has been used

550 -: If the file exist it means you have no access to the file or dir. 550 error message stats that the account you have currently logged in does not have permission to perform the action you are trying to execute or you may be trying to upload to the wrong directory or trying to delete a file.

120 :- Service ready in nnn minutes.

125 :-  Transfer of data started, data connection is with server is open

150 :- File status okay; about to open data connection.

200 :- no error with fired command.

202 :- specified command is not implemented

211 :- System status

212 :- Shows directory status.

213 :- shows file status.

214 :- you can get meaning of a particular non-standard command very useful for non technical support guys.

220 :- Service ready for new user.

221 :- it stats that particular service is closing control connection.

225  :- Data connection open; no transfer in progress.

226  :- Closing data connection.

227  :- Entering Passive Mode

230  :- User logged in, proceed.

250  :- Requested file action okay, completed.

331  :- User name okay, need password.

332  :- Need account for login.

350  :- Requested file action pending further information

421  :- Service not available, closing control connection.

425  :- Can’t open data connection.

426  :- It indicates that connection is closed; and transfer is aborted.

450  :- Requested file action not taken.

451  :- Requested action aborted. Local error in processing.

452  :- Requested action not taken may be due to insufficient storage space in system.File unavailable (e.g., file busy).

500  :- Syntax error, command unrecognized. This may include errors such as command line too long.

501 :-  Syntax error in parameters or arguments.

502  :- Command not implemented.

503  :- Bad sequence of commands.

504  :- Command not implemented for that parameter.

530  :- Not logged in.

532  :- Need account for storing files.

550  :- Requested action not taken. Reason : File unavailable (e.g., file not found, no access).

551  :- Requested action aborted. Reason :  Page type unknown.

552  :- Requested file action aborted due to exceeded storage allocation (for current directory or dataset).

553  :- Requested action not taken. File name not allowed.