KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How to use Dynamic DNS to automatically whitelist your IP?

Category: Guides
Tags: # # #

Dynamic DNS offers a resolution to a common problem that many users have. ISP’s constantly change their IP, and for one reason or another, they get blocked by their server’s firewall. Often, it’s not the user’s fault. Its not that they are logging in 40 times with the wrong password, but rather they’ve simply exceeded the firewall’s […]

If you are experiencing database connection errors, then look no further for troubleshooting assistance! This guide details the common causes of the dreaded Database connection error, how to find the root cause, and what to do to fix it. The commands in this article work with MySQL or MariaDB on CentOS 6 or 7 cPanel […]

Cloudflare for Individual Users

25+ Reasons We Love Cloudflare Cloudflare can be an indispensable asset for your site and here are 25 awesome features that are enabled by default under their free plan: Brotli Standard level of Automatic Static Content Caching with instant cache purge Always Online (keeps the static portion of your site online when origin server is […]

What is the difference between MyISAM and InnoDB?

Category: Getting Started
Tags: # # # #

When you create a table in MySQL, or MariaDB, you can choose a storage engine. The storage engine is the way the table data is stored in files or sometimes memory. There exist several different storage engines, but the most commonly used ones are MyISAM and InnoDB, each of which are the default storage engine in different MySQL […]

How to Compress and Uncompress Files with cPanel

Introduction When transferring files to or from your server, it’s always best to compress them to make the transfer slightly smaller, and most importantly guard against corruption during the transfer process. What is compression? Any Windows, Linux and Apple computer are able to compress files. There are several different kinds of compression, but we’ll focus […]

Creating MySQL Backups and Importing them via Command Line

Category: Getting Started
Tags: # # #

Importing and dumping backups from command line is more efficient than using a GUI like phpMyAdmin. Command line queries for MySQL don’t follow any PHP limits, so importing or exporting MySQL backups is easier and it’s very unlikely that you’ll run into any errors that phpMyAdmin may. Dumping a MySQL database, explained The mysqldump command writes a plain text […]

.htaccess redirects and rewrite rules

Requirements: This requires the mod_rewrite module in apache. This is enabled by default on all KnownHost systems. .htaccess files can be used in a website’s document root directory (ex. /home/user/public_html/) for redirecting web site visitors from one document within your web site to another. .htaccess rules are recursive meaning that rules written in /home/user/public_html/.htaccess will apply […]

cPanel deprecated Ruby on Rails in cPanel & WHM version 66 since it is not supported on CentOS 7 servers. Rails is a Ruby application, and they support Ruby applications via cPanel’s Application Manager interface (Home » Software » Application Manager), so this can technically be done. However, I cannot promise that it will run seamlessly forever […]

How can I make a phpinfo file?

Occasionally, while troubleshooting issues with a site, it can be useful to see all in one place all the current configuration for php affecting a particular folder or file. This can be done with the php function phpinfo. Among other things, this function can tell you the currently loaded php modules, the currently loaded php settings, […]

How to access your servers IPMI/KVM

All of our dedicated servers (managed or unmanaged) come with the ability to utilize IPMI/KVM to access your server in the event that other normal methods don’t work (such as SSH). IPMI or Intelligent Platform Management Interface is useful in the event of several server-related events. Events as: Network unresponsive SSH not available Finalizing an […]