Web Hosting

How to Binding Multiple IP’s to a Server

Posted on

cd /etc/sysconfig/network-scripts/ cat ifcfg-eth0 Then copy the contents of this file on to a notepad Change the IP in the copied text to the IP that you wantpico ifcfg-eth0:x where x is the device number Then copy what you have on the notepad to this file. Then command the following: ifup ifcfg-eth0:x where x is […]

Control Panels

Cpanel/ Webmail accessing behind firewall

Posted on

IMPORTANT: Installation requires that you have access to cPanel, so you need to use a system that isn’t behind a firewall to install it. instructions – 1) Load up cPanel (www.yourdomain.com/cpanel or www.yourdomain.com:2085) 2) Add a subdomain called cpanel. 3) Copy the script cpanelproxy.php to the /public_html/cpanel/ directory. 4) Modify (or add) the file /public_html/cpanel/.htaccess […]

Control Panels

WHM / Cpanel / Webmail Tutorials

Posted on

Cpanel / WHM Tutorials If Whm/Cpanel/Webmail are not loading in ssl mode (2087/2083/2096) then first you can try httpd (stop/strat/restart) If it not works then https authentication is usually run by the stunnel for c-panel; and since the error is shown only when data transfer using stunnel is done; you can try a stunnel restart. […]

Web Hosting

MySql sample my.cnf file

Posted on

[client] port=3306 socket=/var/lib/mysql/mysql.sock[mysqld] port=3306 datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sockskip-locking skip-innodb query_cache_limit=1M query_cache_size=32M query_cache_type=1 max_connections=500 interactive_timeout=100 wait_timeout=14400 connect_timeout=10 thread_cache_size=128 key_buffer=150M join_buffer=1M max_allowed_packet=16M table_cache=1500 record_buffer=1M sort_buffer_size=1M read_buffer_size=1M read_rnd_buffer_size=768K max_connect_errors=10 thread_concurrency=4 myisam_sort_buffer_size=64M log-bin server-id=1[mysql.server] user=mysql basedir=/var/lib [safe_mysqld] err-log=/var/log/mysqld.log pid-file=/var/lib/mysql/********.pid [NOTE : here it should be server hostname] open_files_limit=8192 [mysqldump] quick max_allowed_packet=16M [mysql] no-auto-rehash [isamchk] key_buffer=64M sort_buffer=64M read_buffer=16M write_buffer=16M [myisamchk] key_buffer=64M sort_buffer=64M […]

Web Hosting

Script for /etc/init.d/named

Posted on

If you are having problems with named service, check out the script on the server under /etc/init.d/ Most probably it will be the script for FreeBSD Server. You can make it sure by typing /etc/init.d/named –help You will view that it just has “start & stop” options. You will not find any restart option. You […]

Web Hosting

To disable any (Horde/Squirrel/Neomail)

Posted on

Is there anyway to disable Horde, or other webmail applications for users who don’t want them? ==================================================Let’s say the user’s username is sunil, first you will need to SSH into the server as root, now use your favorite editor, and edit the file:#/var/cpane/users/sunil Now, if you wanted to disable all webmail applications and enable squirrelmail, […]

Web Hosting

Updating /scripts…rsync: failed to connect to rs

Posted on

If you get following error while running the script following is the solution: root [~]# /scripts/updatenow Updating /scripts…rsync: failed to connect to rsync.cpanel.net: No route to host rsync error: error in socket IO (code 10) at clientserver.c(83) Done =================================== This error is caused when you have a firewall blocking connections to and from the cPanel […]