How to access Web Disk (WebDav) on cPanel server
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
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’
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
/usr/local/apache/bin/httpd -l
#compress all text & html:AddOutputFilterByType DEFLATE text/html text/plain text/xml<Files *.html>SetOutputFilter DEFLATE</Files>
Author: Kailash Aghera
Enable “Update now” link in AwStats on cPanel server
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
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
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.





