admin has written 156 articles

Optimal W3 Total Cache settings

Overview W3 Total Cache is a comprehensive caching plugin for WordPress that will dramatically speed up pageviews and consolidate page requests. WordPress works faster, and people who visit your page can do more in less time, with no downsides. It works so well, it is even used on this knowledgebase, kb.hostineer.com. Installing Login to your…

Django quickstart

Overview Django is a web framework based on Python. Python is available on all packages, and a Django application may be uploaded on any package. But, to create a new project on the server and complete this quickstart, a package with terminal access is necessary. This quickstart covers using Django with Passenger available on v6+ platforms. Quickstart From…

Updating WordPress

Overview Periodic updates for WordPress and its plugins are released to introduce new features, address performance problems, and resolve security vulnerabilities. Keeping WordPress up-to-date is critical to ensure that your site operates without interruption and without being hacked. How to update One-Click Method As of May 10, 2016 one-clicks have returned to the control panel on all…

Installing packages

Overview Python uses a package management system called “pip“. Package management is available on newer hosting platforms v4.5 and above. Terminal access is necessary to use the feature. Package management All packages installed reside under /usr/local/lib/python/<VERSION> where <VERSION> is the Python version. Python versions may be switched on-the-fly using pyenv on v6 platforms. Important platform info: all commands listed here use pip.…

Running Node.js

Overview Node.js is a performant JavaScript backend built off Chrome’s JavaScript engine (v8). It’s also wicked fast. Node.js and its accompanying package management, npm, are available on newer platforms (v6+) without any additional compilation from source. Accounts with terminal access are eligible to use Node.js and npm. Running Node.js with Passenger Newer hosting servers, v6+…

Running Redis

Overview Redis is an advanced key-value cache and store, similar to memcached with better performance. It is available on newer platforms (v6+) without any additional compilation from source. Accounts with terminal access are eligible to use Redis. Quickstart From the terminal, run: redis-server –bind 127.0.0.1 –port PORT where PORT is a preassigned port to the account.…

Separating mail to same user, different domain

Overview Accounts may host multiple domains under one account. In certain circumstances, an e-mail address on one domain must deliver to a different inbox than the same e-mail address on a different domain: info@mydomain.com must not deliver to the same inbox as info@myotherdomain.com Solution Each user within the control panel (Users > Manage Users) provides a…

Mail filtering

Overview Message filtering is done prior to delivery via maildrop. Each message goes through two levels of filters: (1) global — processed first in /etc/maildroprc followed by (2) local per-user filters in $HOME/.mailfilter. Basic filtering recipes are provided below. Syntax and usage may be found in mailfilter(7). Important: on older platforms, (less than v6), remember to…

Unable to send e-mail

Overview Client is able to receive e-mail, but not send. If client is unable to both send and receive e-mail, then refer to Accessing e-mail for proper login details. Note, this does not affect webmail. Only desktop/handheld mail clients apply. Causes Firewall restriction on port 25 ISPs commonly implement firewall blocks upstream on port 25…