.htaccess
http://www.webweaver.nu/html-tips/web-redirection.shtml
http://www.htaccesstools.com/
http://www.webweaver.nu/html-tips/web-redirection.shtml
http://www.htaccesstools.com/
http://superuser.com/questions/170866/how-to-run-a-cron-job-as-a-specific-user crontab -u <username> -e 0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1 30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1 35 3 * * * /usr/local/cpanel/scripts/upcp –cron 0 1 * * * /usr/local/cpanel/scripts/cpbackup 0 2 * * * /usr/local/cpanel/bin/backup 35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check 45 */4 *…
FirstĀ access the server command line. I used SSH over Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) But you can use the terminal/console if supported by your host, ftp or winSCP (https://winscp.net/eng/docs/guide_install) which may be easier. then access the file /etc/ips.remotedns For SSH I used the command: nano /etc/ips.remotedns you will need to know the nameservers for your domain I…
############ Creating Users ############ useradd————— create a user with default home directory useradd -m <username> Create a user with different home directory useradd -m -d <directoy> <username> Create A User With An Expiry Date useradd -e 2016-02-05 <username> ###note The date must be specified in the format YYYY-MM-DD How To Create A User And Assign…
Warning the following guide will teach you how to completely delete files from your server. This needs to be run as root so be EXTRA careful before running any command and double check the files that you delete, these will be non-recoverable. If you are working on a small VPS it is not uncommon to…
https://engintron.com/ – nginx fro WHM/cpanel Optimizing an Entry Level WHM/Cpanel VPS Server https://my.bluehost.com/cgi/help/2521 How To Enable GZIP Compression In cPanel WHM https://nixcp.com/free-cpanel-plugins/
http://www.wikihow.com/Find-a-File-in-Linux find / -type f -iname “libphp5.so” find / -type d -iname “ibdata1” find / -type f -iname “*arcconf” grep -R ‘AllowNoPassword’ / egrep ‘User’ /etc/apache2/apache2.conf grep DocumentRoot /etc/apache2/apache2.conf To find files larger than 100MB, use this command: find / -type f -size +100000k -exec du -h {} \; Search within files for specific text:…