In this post, I’ll share the configuration file I use for Postfix installations and highlight some of the directives I use to combat incoming SPAM. If you want to use it, go ahead. nano /etc/postfix/main.cf nano /etc/postfix/main.cf...
name service cache daemon (nscd) cache is persistent by default on CentOS 7, to flush it, you need to run: nscd -i hosts -i stands for invalidate. You can also check if nscd‘s cache is persistent by running nscd -g...
In a recent article, I discussed many methods for removing the large ibdata file, one of which involves transferring the MySQL data directory to a different partition. However, if you do so, you must also inform PHPMyAdmin of the location of the...
In this guide I will use cPanel’s Dynamic DNS feature to create a subdomain, then add that subdomain to CSF to automatically whitelist each IP that calls the URL. #1 Create Dynamic DNS In cPanel go to Dynamic DNS and create a new subdomain...
503 Service Unavailable error on a shop hosted on shared cPanel server, apache error log: tail /usr/local/apache/logs/error_log 2022-04-29 11:04:21.728438 [T0] [31.32.33.34:49768-H3:3D8F707E6843B0DF-0#APVH_XXXXXX.com:443] Max retries has been...
ibdata file is used to store all tables of databases that use the innoDB engine, so if you delete it, you will lose all data. To keep each database files in a separate file add innodb_file_per_table in your my.cnf file under [mysqld] section. Here...
In this guide, I will be setting up CWP on a small VPS, then install WordPress. This process consists of: Installing CWPSetting up CSFChange Default package limitsSet a custom PHP versionCreate a new accountCreate MySQL database and userInstall...
Here I will cover two approaches to increase file size and number of uploads limits in PHP: using the .htaccess fileusing the php.ini Why you should use .htaccess file As always, I recommend utilizing the. htaccess file because the directives will...
For logrotate we create a configuration file inside /etc/logrotate.d/ directory and check if there is a logrotate file in /etc/cron.hourly/ – if not copy it from cron.daily Apache EXAMPLE 1: logrotate file that will only rotate a single file...
For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly increase the size of Softaculous...