After installing Monit, you may want to use the web Interface. To access it you need to go to http://your.ip.address:2812 eg http://127.0.0.1:2812
Read More »To keep thing short, I straight into Monit installation assuming you have installed CentOS7. Configure EPEL repo to download the latest version
Read More »If you are using VestaCP and facing this problem, can try the following fix. Check the FTP user path in /etc/passwd using
Read More »To force a website domain with https and www, simply add this line to your www root htaccess file RewriteEngine On RewriteCond
Read More »Fastest way to replace a table field string with SQL statement. UPDATE [THETABLENAME] SET [THEFIELDNAME] = REPLACE(THEFIELDNAME, 'string_to_replace', 'new_string')
Read More »SQL query statement to find duplicate records in a database table. SELECT fieldname1, fieldname2, COUNT(duplicatefieldname) FROM tablename GROUP BY duplicatefieldname HAVING COUNT(duplicatefieldname)
Read More »If you are using NOW() at your MySQL query, you may have problem when you hosted the file at different timezone server.
Read More »This is the code use to change server timezone to Malaysia Time. Simply create a .htaccess file in the root folder, and
Read More »Below are the quick command to check a domain name TXT DNS record using Mac OSX terminal. dig -t txt example.com
Read More »Sometime we would like to add a string in the beginning of a string value, an example is to add a “6”
Read More »
