CSF can be configured in Web Host Manager (WHM) as well as over ssh. You need to open up the following file:
nano /etc/csf/csf.conf
and add the port you mean to open to the needed line:
# Allow incoming TCP portsTCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,26"# Allow outgoing TCP portsTCP_OUT = "20,21,22,25,37,43,53,80,110,113,443,587,873"
CSF then needs to be restarted for the...
Sunday, March 30, 2014
I’ve been on a web tweaking kick lately: how to speed up your javascript, gzip files with your server, and now how to set up caching. But the reason is simple: site performance is a feature.
For web sites, speed may be feature #1. Users hate waiting, we get frustrated by buffering videos and pages that pop together as images slowly load. It’s a jarring (aka bad) user experience....
Tuesday, March 25, 2014
Login to your server as root and fire the following command, using which you can check if your server is under DDOS attack or not:netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort –nThis command will show you the list of IP’s which have logged in is maximum number of connections to your server.
ddos becomes more complex as attackers use fewer connections with more number of attacking IP’s.In such cases, you should get less number of connections...
Saturday, March 1, 2014
The items that come with the default wp-config-sample.php file are in blue.
All extra items that you can add are in black, as normal (only add these if you're going to use them).
Database Settings
DB_NAME : Database Name used by WordPress
DB_USER : Username used to access Database
DB_PASSWORD : Password used by Username to access Database
DB_HOST : The hostname...
Subscribe to:
Posts (Atom)