Databases showing 0MB in cPanel

Databases showing 0MB in cPanel  From command line 1. Run the command. # /usr/local/cpanel/bin/setupdbmap 2. Edit cPanel configuration file. disk_usage_include_sqldbs=1 ( you need to set it to ‘1’ if ‘0’ ) in file /var/cpanel/cpanel.config 3. Run the following script. #/scripts/update_db_cache You can also enable this from the WHM control panel. WHM >> Server Configuration >> […]

See More

Database connection error: RoundCube in cPanel

DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. You’ve to check number of things for troubleshooting this. Please do follow the steps below: 1, Check your MySQL is running or not. From the command-line you can follow the below pasted command: /etc/init.d/mysqld status If it’s running the output should […]

See More

How to redirect HTTP to HTTPS using htaccess in Vesta Control Panel

  Redirect HTTP to HTTPS using htaccess in Vesta Control Panel You can automatically redirect visitors to the secured (HTTPS) version of your site to make sure your communications are encrypted by using following .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

See More