Blocking brute force attack against WordPress wp-login.php
Using ModSecurity You can add the below rules in your Apache configuration file. It will block the attacks. # This has to be global, cannot exist within a directory or location clause . . . SecAction phase:1,nolog,pass,initcol:ip=%{REMOTE_ADDR},initcol:user=%{REMOTE_ADDR},id:10011 # Setup brute force detection. # React if block flag has been set. SecRule user:bf_block “@gt 0” […]
Exim command line
Exim is a powerful MTA. Exim is highly configurable, and therefore has features that are lacking in other MTAs. It has always had substantial facilities for mail policy controls, providing facilities for the administrator to control who may send or relay mail through the system. Exim also comes with powerful utilities to manage mail queue […]
Put site in maintenance mode with .htaccess
Sooner or later you’ll probably run into situation when you will have to put your site in maintenance mode so that you can upgrade your site or move it to a new server or make changes etc. Below is the simplest way to do it using .htaccess if your site is running on Apache. First […]
How to outsource web hosting support services?
We at Server Tech Support offer server support services for those who are planning to outsource web hosting technical support to manage their servers. We have, with us a strong team of server specialists that can remotely assist you with regard to any issue related to your server, may it be an emergency support or […]
What is outsourced web hosting support?
In outsourced web hosting support the support provided to the clients is handled by an outside company. Companies providing outsourced technical support for web hosts offer support via helpdesk/email, phone, and/or chat (some companies). Outsourced technical support company may be providing support either part time or full time. Reliable and reputed technical support companies that […]
Setup new cPanel/WHM Server
First of all setup below recommended partitions while installing the CentOS/RedHAT operating system. Partition Size Comment / 80GB OS Base /boot 500MB boot loader /usr 32GB used by cPanel, Apache, PHP and other applications /var 64GB MySQL, cPanel config and log files /tmp 4GB swap twice the size of RAM 4GB max is ok for […]
How to install MP4box on CentOS 6
MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a .mp4. MP4Box is a command line tool, but can be used with graphical user interfaces such as […]
Add SPF records to all domain on Plesk server
Sender Policy Framework (SPF) is an email validation system designed to prevent email spam by detecting email spoofing, a common vulnerability, by verifying sender IP addresses. SPF allows administrators to specify which hosts are allowed to send mail from a given domain by creating a specific SPF record (or TXT record) in the Domain Name […]
apt-get and dpkg commands on Debian and Ubuntu
The RPM commands doesn’t work on Ubuntu or Debian. For these operating systems there is apt-get and dpkg commands. Here are some of the examples to list and get package information on debian and ubuntu servers. List all packages installed server root@sts:~# dpkg –get-selections acl install adduser install apache2 install apache2-mpm-prefork install apache2-utils install apache2.2-bin […]
How to flush BIND cache
BIND or named is the most widely used DNS software on the Internet. On Unix-like operating systems it is the de facto standard. Originally written by four graduate students at the Computer Systems Research Group at the University of California, Berkeley (UCB), the name originates as an acronym from Berkeley Internet Name Domain, reflecting the […]