Archive for the 'WHM/Cpanel hosting' Category
Friday, April 13th, 2007
How to modify the Cpanel bandwidth exceeded page message. This page is shown for clients automatically when they run out of bandwidth.
Bandwidth counts are reset every month.
– Login to the server as root in SSH.
– This will make a backup copy of the original file incase you need to revert back
cp /usr/local/cpanel/apache/mod_bwlimited.c /usr/local/cpanel/apache/mod_bwlimited.c.bak
– Then type:
vi /usr/local/cpanel/apache/mod_bwlimited.c
509 Bandwidth Limit ExceededSearch for the line n in the file and change it to whatever you like… carefully….
Save the file and now client will get message that you have set when they exceeds there bandwidth limits.
– Root users can change bandwidth from root WHM with the option called “View Bandwidth Usage†>> Limit (Best Fit) option for that perticular domain or user.
Or Client had allready used his all the bandwidth, then he/she can purchase a extra B/W for running month or upgrade his/her plan to next higher plan.
Posted in WHM / cPanel Help, WHM/Cpanel hosting | No Comments »
Thursday, April 12th, 2007
If fantastico is installed on the server, but the fantastico icon is not present in cpanel then you will have to check 3 things on the server as,
1) Make it sure that Option fantastico is CHECKED in the feature list assigned to that account.
In order to check this, you will have to login into the root WHM and select the option called Packages >> Feature Manager and edit the feature list that is assigned to that account.
You can check which feature list is assigned to the account from edit package option in whm.
2) First check the theme that cpanel is using.
And after that please check the symbolic link to the fantastico directory is present or not.
In order to create the symbolic link, run the following command say for theme bluelagoon as
– ln -s /usr/local/cpanel/3rdparty/fantastico
/usr/local/cpanel/base/frontend/bluelagoon
3) Please check the cpanel version and If you are running cpanel version called CPANEL 10.4.0C150 or next and icon is not present in cpanel’s own themes like x, x2,xmail etc, then run the command as a root via SSH
—————-
mv /usr/local/cpanel/3rdparty/fantastico/xskin.html
/usr/local/cpanel/base/frontend/x/cells/fantastico.html
Posted in WHM / cPanel Help, WHM/Cpanel hosting | No Comments »
Wednesday, April 11th, 2007
For installation of ioncube for perticular account then goto
http://www.ioncube.com/loaders.php
download it one server server where it is available. you need to do the following process on the server.
1 go to user directory and wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
2 Extract the tar file with tar -zxvf ioncube_loaders_lin_x86.tar.gz
3. change the permission chown user:user ioncube
4. then goto ioncube directory cd /home/user/ioncube and again change the ownership of all files to user:user
5.after changing the permission copy ioncube-encoded-file.php and ioncube-loader-helper.php in public_html by
cp ioncube-encoded-file.php ../public_html/
cp ioncube-loader-helper.php ../public_html/
6.then goto public_html folder of that user and again change the ownership to user:user for ioncube
7 Now ioncube is get installed you can access that using access ioncube by http://domain.com/ioncube-loader-helper.php
enjoy…..:)
Posted in WHM / cPanel Help, WHM/Cpanel hosting, PHP/Mysql Hosting | No Comments »
Wednesday, April 11th, 2007
While sending emails from your email address and you get the error Unrouteable address with RCPT reject. That means the problem at receivers end.
Check the following things.
1. Check the domains entry is available in userdoamins.
2. Check the domains entry is is available in localdomain
3. check the domain must having catchall address set if not then set
vi /etc/valiases/domain.com
*: username
4. also make sure that the mail folder having ownership user:mail
5 restart exim services once.
6. Now your problem will get resolved.
Posted in Email issues, WHM/Cpanel hosting | No Comments »
Wednesday, April 11th, 2007
MX Record is an entry in a domain name database that identifies the mail server that is responsible for handling e-mail for that domain name.You can have website on one server and MX record on some another server and in that case you will have to ulter your MX entry in DNS zone for that perticular domain.
You can have multiple MX records for a same domain and it will check for MX record set with priority.
lowest number will receive mail first that is lower number will have highest priority.
1)You will have to login as a root in WHM
2)Go to the option called DNS Functions >> Edit DNS Zone
3)Select the domain from list and edit that domain
You will see the entries like
XYZ.com. 14400 MX 0 XYZ.com.
mail 14400 CNAME XYZ.com.
4)Suppose you want to change MX to point to the ip 176.199.1.90 then you will have to do the changes in MX record as
XYZ.com. 14400 MX 0 mail.XYZ.com.
mail.XYZ.com. 14400 A 176.199.1.90
5)Save the chnages and remove the entry for XYZ.com from /etc/localdomains.
6)Edit the /etc/remotedomains file - this tells Exim to not handle mail for this domain.
vi /etc/remotedomains
Add the domain name to this file.
Save the changes.
7)You can check the changes done in MX record for the domain at — http://www.dnsstuff.com/
Posted in Email issues, WHM/Cpanel hosting | No Comments »
Wednesday, April 11th, 2007
This can be done with .htaccess, visitors must input username and password before they can access the protected directory.
Step 1.
Create the file “.htaccess†with the following content under the directory you want to protect, you can specify the password in any place as long as Apache can access it.
AuthUserFile /home/account/passwd/.htpasswd
AuthGroupFile /dev/null
AuthName “Titleâ€
AuthType Basic
require valid-user
Step 2.
Generate the password file “.htpasswd†under the directory /home/account/passwd/ with the following command:
# htpasswd -c .htpasswd user_name
You will be reminded to input password for the user “user_nameâ€, this command can be called multi times to generate multi users.
Step 3.
This step may not be necessary. If there is an entry about the directory you want to protect in Apache configuration file, make sure AllowOverride has the option authconfig.
For example, when protecting Awstats pages, the Apache configuration file should be modified as following:
Options None
AllowOverride authconfig
Order allow,deny
Allow from all
Restart Apache
# /usr/local/sbin/apachectl restart
Posted in UK Hosting, UK Dedicated Servers, US Dedicated Servers, US Hosting, WHM/Cpanel hosting, Semi-Dedicated Hosting, PHP/Mysql Hosting, Linux Hosting, Linux Dedicated Servers, Linux Reseller Hosting, Linux VPS Hosting, Perl / cgi Hosting, Affordable Hosting | No Comments »
Wednesday, April 11th, 2007
If you are not aware of my.cnf files configuration and want to use mysql server to optimize your database usage then replace this configuration file.
————————————————————————————
[mysqld]
socket = /var/lib/mysql/mysql.sock
safe-show-database
old-password=1
max_connections=500
interactive_timeout=100
wait_timeout=30
connect_timeout=30
thread_cache_size=8
key_buffer=32M
join_buffer=8M
max_allowed_packet=32M
table_cache=1024
sort_buffer=32M
record_buffer=8M
thread_cache_size=128
max_user_connections=30
thread_concurrency=4
myisam_sort_buffer_size=64M
query_cache_limit=2M
query_cache_size=32M
query_cache_type=1
old-passwords = 1
[safe_mysqld]
err-log=/var/log/mysqld.log
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=32M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_bufer=16M
[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[mysqlhotcopy]
interactive-timeout
Posted in WHM/Cpanel hosting, Linux Hosting, Linux Dedicated Servers, Articles -- Webhosting | No Comments »
Wednesday, April 11th, 2007
Robots.txt file is a simple text file which is responsible for preventing crawling of your site’s pages. Suppose you have certain pages which are not SE friendly such as pages including repeated keywords, some hidden tags with keywords and some other bugs which may be responsible for getting your site banned from search engines.
The robots.txt file is a simple text file which can be created using Notepad.
It should be saved at root directory of your site. eg.http://www.yoursitename.com/robots.txt.
Format :
User-agent: robot or spider name
Disallow: files or directories.
If you want to exclude all the search engine spiders from your entire domain, Just use this tiny code, but be sure you need it.
User-agent: *
Disallow: /
If you want to prevent your certain directories, you can specify them in Disallow field.
User-agent: *
Disallow: /directoryname1/
Disallow: / directoryname2/
Similarly if you want to restrict specific files then type in the path of the files.
User-agent: *
Disallow: / directoryname1/filename.html
If you don’t want certain spiders crawling your site, which are not useful for you or are just eating up your bandwidth, you can specify them in User-agent. Eg. You don’t want bot of Alta vista (Scooter) from crawl your whole site use following code.
User-Agent: Scooter
Disallow: /
While using robots.txt file you should be careful, It may stop your specified pages from appearing in search engines.There are many hundreds of bots and spiders crawling the Internet, most of them respect your robot.txt file while some may not.
Note :
(*) You can include comments in your robots.txt file, by putting a pound-sign (#) at the front of the line to be commented.
(*) You can find the names of robots which are crawling around your site in your log file..
Posted in US Hosting, US Dedicated Servers, UK Hosting, UK Dedicated Servers, WHM/Cpanel hosting, Windows Dedicated Servers, Windows VPS Hosting, Windows Reseller Hosting, Windows Hosting, Semi-Dedicated Hosting, PHP/Mysql Hosting, Joomla Hosting, Affordable Hosting, Articles -- Webhosting, Linux Dedicated Servers, Linux Hosting, Perl / cgi Hosting, Linux VPS Hosting, Linux Reseller Hosting, Uncategorized | No Comments »
Wednesday, April 11th, 2007
Sometimes we get some errors while using outlook express but we can’t understand what they mean and what could be the solution for that.
Following are the usual errors codes with their solutions ;
0×800CCC00 - Authentication did not load.
Solution :
*) Try closing and restarting Outlook express
*) If still getting same error, wait 20-30 minutes for a server reset of your account then try again.
*) It could be a corruption of the user account in Outlook Express. Try setting up a second identity and see if it works.
0×800CCC01 - INVALID CERTIFICATE CONTENT
0×800CCC02 INVALID CERTIFICATE DATE
Solution :
*) Get your certificate re-issued by your authority server.
0×800CCC03 - USER ALREADY CONNECTED
Solution :
*) Close all connections on all machines, wait 20-30 minutes and try again.
*) If you are not logged in on another machine or poplocked then someone may be using/downloading from your account or something is wrong with your account.
*) Sometimes due to improper disconnection your account gets ‘Poplocked’ so to get out of it either wait 20-30 minutes for it to time out or get somebody to shell into the mail server and stop the mail task that is running on the account.
0×800CCC05 NOT CONNECTED TO SERVER
0×800CCC0D CANT FIND HOST - Cannot locate server
Solution :
*) You may have typed wrong mail server in your account settings or the server may be down.
*) Reboot the computer and try again.
*) Data may not be moving across the network properly. Check DNS numbers, remove and then reinstall TCP/IP in Control Panel > Network.
0×800CCC0A MESSAGE DOWNLOAD INCOMPLETE
0×800CCC19 TIMEOUT
Solution :
*) This error may be due to corruption of pop3uidl file. Close the Internet connection and all programs. Search for the file ‘pop3uidl and delete it. Reconnect and it should work.
0×800CCC0F CONNECTION DROPPED
Solution :
*) may be modem or network cable was disconnected. If this happens frequently then try updating the modem drivers or adding an Init string.
0×800CCC10 INVALID ADDRESS - Address not known on server
Solution :
*) Check the spelling in the TO: field of the e-mail. Delete the old message from the Outbox and then try it again.
0×800CCC12 SOCKET READ ERROR - Unable to send Winsock request
Solution :
*) Remove the TCP/IP protocol and reinstall it. In windows, go into Network from the Control Panel. NOTE: You may need your Windows CD for this task!
0×800CCC16 INVALID ACCOUNT - User account not recognized
Solution :
*) Check the spelling of the account name and re-enter the password taking care to spell it correctly.
0×800CCC18 SICILY LOGON FAILED - Logon attempt failed
Solution :
*) Check account information, making sure account is not case sensitive, close Outlook Express, restart the computer and try reconnecting.
*) Create a different identity and see if it will logon on from this identity with the same information.
*) Make sure the account is still active with the ISP.
0×800CCC1A SECURE CONNECT FAILED - Unable to connect using SSL
Solution :
*) Your ISP may not require an SSL connection. Turn off SSL in the e-mail account properties and try again.
Posted in US Hosting, US Dedicated Servers, UK Hosting, UK Dedicated Servers, WHM/Cpanel hosting, Windows Dedicated Servers, Windows VPS Hosting, Windows Reseller Hosting, Windows Hosting, Semi-Dedicated Hosting, PHP/Mysql Hosting, Joomla Hosting, Affordable Hosting, Articles -- Webhosting, Linux Dedicated Servers, Linux Hosting, Perl / cgi Hosting, Linux VPS Hosting, Linux Reseller Hosting, Uncategorized | No Comments »
Wednesday, April 11th, 2007
What is Web-Based Email ?
Web-Based Email is an Internet-based email system that lets you send and receive
email messages from a Web browser. All you need to use Web-Based Email is an Internet
connection and the Internet Explorer Web browser (Internet Explorer v5.5 or later).
How do I access my Web-Based Email account ?
You can log on to your Web-Based Email account from your Web browser by going
to the Web address for your account. The Web address is the same as your domain
name, except you replace “www†with “emailâ€. For example, if your Web address
is “www.example.comâ€, your email address is “email.example.comâ€.
Posted in Linux VPS Hosting, WHM/Cpanel hosting, Linux Reseller Hosting, Linux Hosting, Affordable Hosting, Linux Dedicated Servers, Articles -- Webhosting | No Comments »
|
|