How to Change A record for all domains on Cpanel server

If you migrated all accounts from old server to new server with different IPs then you have to change DNS records with new IPs for all domains. Please use following step to replace the IPs on new server. #cd /var/named/ #replace “1.2.3.4”  “11.12.13.14” — * 1.2.3.4 is old IP  and 11.12.13.14 is new IP I […]

See More

Unable to locate clamd on Cpanel server

cPanel server provides ClamAV antivirus by default. We can install it though WHM >> Plugin >> ClamAV You can install Clamav antivirus using yum too. yum install clamd After that restart clamd service /scripts/restartsrv_clamd Thats all.      

See More

Linux Command History by Date and Time

  To check command history with data and time on linux server set following path on the server. root@hr-webserver# export HISTTIMEFORMAT=’%F %T ‘ after that you can check command history as follows. root@hr-webserver#history | grep wget 24 2013-12-12 10:55:24 wget 23 2013-12-12 11:23:15 wget Thats all. Try it.    

See More