Creating an account in WHM

Web Hosting Tutorials, Cpanel Hosting No Comments »

The following quick guide covers the creation of hosting packages and accounts in WHM.Firstly, before proceeding it may be useful to set out the differences between a package and an account .

1] What is meant by PACKAGES in WHM ?
Packages are the hosting plans which you intend to sell to your clients.Accounts are where the client’s domain, username and password are set up after they purchase a package.

2] How to Log in into WHM ?
Access to WHM is achieved by logging into www.yourdomain.com/whm/ replacing yourdomain.com with the main domain of your hosting account. You may try using an IP to login to WHM as for eg: 192.0.0.1/WHM. Also you can use port number for WHM as 2086 www.yourdomain.com:2086.

3] How to set up Packages ?
The first step you should follow is to set up packages which you can then sell to your clients.

1. Click on the Add Packages link in the Packages menu.
2. Enter the name you wish to give the package and the maximum disk space the client can use in the Package Name and Quota fields.
3. Enter the maximum number of items allowed in the Max Ftp Accounts, Max Email Accounts, Max Email Lists, Max SQL Databases, Max Sub Domains, Max Park Domains, and Max Addon Domains fields.
4. Select if CGI access and FrontPage Extensions are allowed in the relevant tick boxes.
5. Enter the maximum bandwidth in megabytes allowed by the account in the Bandwidth Limit field.
6. Select a default CPanel Theme for the package.
7. Click on the default feature list for the account in the Feature List field.
8. Click on the Add button at the bottom of the screen.

4] How to set up New Accounts ?
1. Go to Account Functions and click on the option Create a New Account in the side panel.
2. Enter the Domain you wish to create a site (Without typing www.).
3. Press your tab key and the system will autocomplete the UserName. You may type a different username you wish to use.
4. Enter the Password you wish to use and press tab.
5. Ignoring the options to set each resource, from the drop down list select the Package you wish to assign to the domain.
6. Enter a contact email address for the account holder.
7. Click the ‘Create’ button at the bottom of the page.

You should then see a message confirming the creation of that account which will look similar to this for eg:

WWWAcct 10.1 (c) 1997-2006 cPanel, Inc.
===================================+
| New Account Info |
+===================================+
| Domain: yourdomain.com
| Ip: 192.0.0.2 (n)
| HasCgi: y
| UserName: yourdoma
| PassWord: test
| CpanelMod: x
| HomeRoot: /home
| Quota: 50 Meg
| NameServer1: ns1.domain.com
| NameServer2: ns2.domain.com
| NameServer3:
| NameServer4:
| Contact Email:
+===================================+
User yourdoma added
Changing password for yourdoma
Password for yourdoma has been changed
Account Creation Complete!!!
Ftp Password Files synced Vhost Passwords synced
This list will display the username and password which you will need to provide your client with so that they can access their account cpanel which is located at www.clientdomain.com/cpanel/ It will also confirm the nameservers which the domain will need to be pointed at in order that it points at the client account on the server.

Install Image-Magick

Web Hosting Tutorials, Cpanel Hosting No Comments »

* You are able to install imagemagick perl module through whm >> software >> Install perl module.

Enter the module name in check box click on search it will display module name.
Click on module name to install.
* You are able to install imagemagick through cpanel script. Please check following script.
# /scripts/installimagemagick
* You are also able to install imagemagick manually. Follow the following steps to install imagemagick.
Download the imagemagick from ftp://ftp.imagemagick.org/pub/ImageMagick/
# wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.2.6-8.tar.gz
# tar -xvzf ImageMagick-6.2.6-8.tar.gz
# cd imagemagick-6.2
# ./configure
# make
# make install

I have created database through cpanel but unable to access database remotely

Web Hosting Tutorials, Cpanel Hosting No Comments »

To Solve this problem …

Go to Cpanel >> MySQL Databases >> Access Hosts:

Add IP of the machine from which you want to access your database or just add %.

At remote connection you have to set Hostname = localhost/ server name.

Password protect directory error “ MySQL user springs not found: /agora/protected/”

Web Hosting Tutorials, Cpanel Hosting No Comments »

Client is not able to login to password protect directory. Apache error logs display the error “MySQL user springs not found”

Password protect directory uses .htpasswd file for username and password details but error logs showing mysql user error means two type of authentication modules are configure in your apache web server. Mod_auth_passthrough is already configure in apache later mod_auth_mysql is also installed on server due to which authentication take user as a mysql user. To solve the issue you have to add the following code in .htaccess

AuthMySQLEnable Off

IPTables : Block all incoming connection at port 22 (SSH)

Web Hosting Tutorials, Cpanel Hosting No Comments »

Use of iptables to block all incoming connection at port 22  (SSH) …

1. iptables -A INPUT -p tcp -s 0/0 –sport 513:65535 -d server-ip –dport 22 -m state –state NEW,ESTABLISHED -j DROP

2. iptables -A OUTPUT -p tcp -s server-ip –sport 22 -d 0/0 –dport 513:65535 -m state –state ESTABLISHED -j DROP

VPS Optimization : MySQL Optimization

Web Hosting Tutorials, Cpanel Hosting No Comments »

On a normal VPS configuration ( 256 MB RAM , Burstable upto - 1 GB )

To get Best MySQL performance , change settings in my.cnf on server as per below ..

———————————
[mysqld]
max_connections = 400
key_buffer = 16M
myisam_sort_buffer_size = 32M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1000
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 16M
query_cache_type = 1
tmp_table_size = 16M
skip-innodb

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 32M
sort_buffer = 32M
read_buffer = 16M
write_buffer = 16M

[mysqlhotcopy]
interactive-timeout

——————————–

VPS Optimization : Apache Optimization

Web Hosting Tutorials, Cpanel Hosting No Comments »

On a normal VPS configuration ( 256 MB RAM , Burstable upto - 1 GB )

To get Best Apache performance , change settings in httpd.conf on server as per below ..

————————–
Timeout 200
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 3
MinSpareServers 5
MaxSpareServers 15
StartServers 5
MaxClients 20
MaxRequestsPerChild 2000
HostnameLookups Off
————————–


WordPress Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login