How to access Web Disk (WebDav) on cPanel server

July 2, 2011 · Filed Under cPanel Hosting Tutorials · Comment 

The Web Disk feature is cPanel’s implementation of the WebDav protocol. This feature allows you to manage files associated with your website. By creating an account and accessing your Web Disk, you can navigate, upload, and download files to and from your web server as though they were part of your personal computer.

How to access Web Disk (WebDav):

1. Login to cPanel and click on Web Disk icon.
2. Scroll down the page and click on “Access Web Disk” button.
3. Choose your locate system’s operating system.
4. Scroll down and hit the Go button.
5. Click the Save button.
6. On your computer, hit Save, Open, and Run.

Web Disk allows to drag and drop the files/folders easily from your local system to your website.

How to create a MySQL database from cPanel

February 10, 2011 · Filed Under cPanel Hosting Tutorials · Comment 

1. Login to your cPanel (https://yourdomain.com:2083).

2. Once logged into cPanel for the domain (https://yourdomain.com:2083 or use IP address instead of domain name if the domain is not pointing to the server), click MySQL databases under the Databases section.

3. Enter a name for the database and click Create Database.

4. Once the database is created, click Go Back.

5. Enter a username and a strong password for the database and click Create User.

6. Once the user is created, click Go Back.

7. Now you need to add the user to the database. Under Add User To Database, select the appropriate user and database.

8. Click Submit.

9. Select the appropriate database privileges for the user and click Make Changes.

- Kailash Aghera

Fantastico error ‘You cannot install more than one script in the root directory of a domain’

January 21, 2011 · Filed Under cPanel Hosting Tutorials · Comment 

If there is no script installed in the root (i.e. public_html etc.) for your domain name but you still get the message stating that you cannot install more than one script in the root directory of a domain, it means that a previously installed script was not properly removed. To resolve this problem you should follow these steps:

1. Log in cPanel and go to File Manager
2. Navigate to .fantasticodata in your Home Directory
3. Delete the file installed_in_root.php

Make sure that show hidden files/folders is enabled in your file manager.

Enable gzip compression on cPanel server

September 9, 2010 · Filed Under cPanel Hosting Tutorials · Comment 
To enable gzip compression on cPanel server, mod_gzip.c or mod_deflate.c module should be installed on the server. You can check the loaded module via SSH. Login to you server and use the following command to check the loaded Apache modules:

/usr/local/apache/bin/httpd -l
If one of the module is installed on the server, you can enable gzip compression for an account by adding required code in .htaccess file. You need to add the following code into the .htaccess file to enable the gzip compression for the domain.

#compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
<Files *.html>
SetOutputFilter DEFLATE
</Files>

Once you add above code, you can verify it from the following link:

http://www.gidnetwork.com/tools/gzip-test.php

The test result should show as follow:

Web page compressed? Yes
Compression type? gzip

Author: Kailash Aghera

Enable “Update now” link in AwStats on cPanel server

July 4, 2010 · Filed Under cPanel Hosting Tutorials · Comment 

To enable the manual statistics update (“Update now” link) in Awstats, you should edit the following configuration file:

[1] Open the following file:

tmp/awstats/awstats.yourdomain.com.conf (substitute yourdomain.com with your actual domain name)

[2] Look for the following line:

AllowToUpdateStatsFromBrowser=0

Change the above value to 1:

AllowToUpdateStatsFromBrowser=1

[3] Save your configuration file.

If you have any questions related to cPanel, just ask your questions in our webmaster forum.

Prevent the user nobody from sending email from cPanel server

December 13, 2009 · Filed Under cPanel Hosting Tutorials · Comment 

If you are running PHP script as an Apache user on cPanel server, it is difficult to find the account if someone sends large amount of emails via PHP script. It is due to the fact that all emails will be sent as a nobody user. cPanel provides settings to block emails which are sent via nobody user. To enable this option, follow the below steps:

- Login to your WHM.

- Go to Server Configuration -> Tweak Settings.

- Select option “Prevent the user “nobody” from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)” and save it.

Please note if PHP processes are running as a nobody user and you enable above option, your clients will not be able to send emails outside their domains using PHP mail() function.

Kailash Aghera

How to change MySQL database collation from phpMyAdmin in cPanel

May 5, 2009 · Filed Under cPanel Hosting Tutorials · 5 Comments 

Sometime you may require to change MySQL collation in your web hosting account to use foreign character encoding. There are many ways to change MySQL collation. Here are the steps to change MySQL collation from phpMyAdmin in cPanel:

[1] Login to your cPanel and click on “phpMyAdmin” icon.
[2] Click on your database name and the go to “Operations” tab.
[3] At the bottom of the page you will see the collation option. You can now select a collation from the drop down menu and click on the Go button.

Please note that the new collation will be set for new tables only. Old table will use the previous collation under which they were created. If you want to use new collation for already created tables, you will need to change collation for all tables.

Next Page »

Page 1 of 212
Untitled Document