Categories
Articles
If you are a developer and need CORS enabled to run your app you can enable it adding the...
Canonical redirect of www to non www for the same domainTwo ways to get the result you want: 1) In .htaccess file: Options +FollowSymlinks...
Run OPTIMIZE TABLE to defragment tables for better performanceFor this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...
#1045 Cannot log in to the MySQL server iin phpmyadminWhile acessing phpmyadmin through cpanel it was asking for username and password, however...
/scripts/cpbackup isn't workingTry rm -rf /home/cpbackuptmp/cpbackup/daily rm -rf /home/cpbackuptmp/cpbackup/weekly ...
502 bad gateway nginx PleskLog into Plesk. Go to Plesk > Tools & Settings > IP Addresses and press...
Add New Bank Transfer Gateway on WHMCSTo add new Bank Transfer create new php file:banktransfer2.php Under whmcs/modules/gateways/Copy...
Almalinux firewalld port addingsudo firewall-cmd --permanent --add-port=80/tcp success sudo firewall-cmd --reload success
Apache: Fatal Error Unable to create lock file: Bad file descriptor500 internal server errors on PHP websites. If you have CageFS enabled and the issue might...
AryanIct.com standard Domain Name Server ResolversIf you get an error about not being able to resolve the host, you need to edit your...
Block xmlrpc.php on entire server<FilesMatch "^(xmlrpc\.php)"> Order Deny,Allow Deny from all </FilesMatch> Or...
Bulk cPanel DNS Zone Update1. Back up ALL DNS Zonefiles. cp -a /var/named /var/named-backup 2. Update the Nameserver's...
CSF Blocking Gmail SMTP email sendingProblem:Your VPS server or scripts are configured to send email using GMail's SMTP but emails are...
CSF error : No response from subprocessWhile checking CSF firewall from WHM >>ConfigServer Security & Firewall No response...
Canonical redirect to main domain from other domainIt is a simple matter of matching %{HTTP_HOST} not equal to www.domain.com and redirecting that...
Check /usr/tmp permissionsRun following commend to solve the issue: chmod 1777 /usr/tmp
Check The Number Of MySQL Open Database Connections on Linux Or Unix-like ServerMySQL show status command to see open database connections example First, connect to the your...
Clean /tmp on Centos/cPanel serverOpen SSH to your server, if SSH will not connect due to disk space full in tmp, reboot your...
ConfigServer Security & Firewall allow port to specific ipLogin to WHM and navigate to the "ConfigServer Security & Firewall" page. On this page,...
Configure cPanel Webmail In Gmail?Facing problem in using webmail? Don’t worry you can use the Gmail interface to send and...
Cpanel / SuPHP – chmod All Files 644, All folders 755When switching from DSO to SUPHP in cpanel (a must for anyone who takes security seriously on a...
Create OpenVPN User AccountInitially, the Access Server virtual appliance uses PAM (Pluggable Authentication Modules) to...
Detect Outbound Server AttackIt’s not a secret and if you yourself are a linux systems administrator or a website developer or...
Disk usage problem: WHM is showing incorrect disk usage and cpanel alsoThe problem happens when the disk quota file get corrupted on server. You can run the following...
Display Bank Account Details on PDF invoice WHMCSAdd the below file to : /hub/templates/theme-name/invoicepdf.tpl # Offline payment methodsif...
E: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease' is not signed.The apt packaging system has a set of trusted keys that determine whether a package can be...
Error 419: Page Expired Laravel Post RequestAdd the below code on index.php: <?php ob_start();
Error: Unable to find a match: screenRun:dnf install epel-release dnf install screen
FIX Gmail TLS Negotiation failed, certificate invalid: SSL [Leaf certificate is self-signedWhile sending an email from Gmail to your server you receive:The response was: TLS Negotiation...
Find spam script location with EximSometimes you can have a "tell a friend" feature on your website, or other type of email...
Find the site is hosted at that IP addresscurl -v -H "Host: domain.com" 192.168.1.1 <- Here enter the server IP
Fix cPanel pcfg_openfile: unable to check htaccess file, ensure it is readable and that1st check the permissions and ownership values on the "/home/$username" and...
Fixed:”Function set_magic_quotes_runtime() is deprecated in PHP 5.3.0”Problem with set_magic_quotes on Application with Code Igniter. The problem is “Function...
Git failure error while updating cPanel or yum update?Error details ---> Package kernel.x86_64 0:2.6.32-642.el6 will be erased --> Finished...
Got a packet bigger than 'max_allowed_packet' bytes"If you are getting this error via root SSH access, please use the following command to...
HELO/EHLO with proper DNS Windows ServerI believe the main settings you're trying to set would need to be done through the MailEnable...
HOSTNAME resets after reboot Centos 7On CentOS7, changes to your hostname with the hostname command won't persist upon reboot....
Hostname resets after reboot CENTOS 7.8On CentOS7, changes to your hostname with the hostname command won't persist upon reboot....
How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 6About LAMP LAMP stack is a group of open source software used to get web servers up and running....
How To Install and Configure an OpenVPN Access Server on CentOS 6.5VPN, or virtual private network, is a secure method of connecting remote internet resources...
How to Change the RDP Port for a Windows ServerChange the RDP port by modifying the registry manually Press “Windows + R” to open Windows...
How to Configure Let’s Encrypt SSL on Apache (Ubuntu 16.04 / 17.10)Prerequisites You should be using a non-root user with sudo privileges as explained in Ubuntu...
How to Fix: Webmail - squirrel, horde and roundcube doesn't work . Fails to loadThe domain is missing from /etc/userdomains - ran /scripts/updateuserdomains --force to fix...
How to Install Red5 on cPanel/WHM (CentOS) serverInstalling Red5 on cPanel/WHM CentOS and RedHat Linux serversFollow the instructions and Red5...
How to Redirect IP to a domain nameYou can achieve this with a rewrite in an htaccess file in your website’s directory.You will want...
How to Remotely Connect to the MySQL Database in cPanel?Before using either of the following techniques, you will need to open up port 3306 in your...
How to Stop Windows Server Auto ShutdownIf your Windows Server license has expired, or your server doesn't have one, the server may...
How to change SSH portYou can change the ssh port by following commendnano /etc/ssh/sshd_configChange#Port 22toPort *...
How to clear /tmp on Centos/cPanel serverFirst wee need to install tmpwatch. yum install tmpwatch -y once tmpwatch is installed run...
How to clear Error Log of a cPanel Account.User the below code to clear Error Log:Replace User with Username:Code:for i in `find...
How to clear and find error_log cPanel ServerYou can try searching for them with a command such as: Code: find /home -name 'error_log'...
How to clear laravel.log fileRun the below code on the command: truncate -s 0 storage/logs/laravel.log
How to edit cpanel crontabYou have to do it from root shell via SSH using the command:crontab -eThis will throw you into an...
How to edit my.cnfTo edit a file, first make a back-up.cp /etc/my.cnf /etc/my.cnf.oldNow open it in nano:nano...
How to enable mod_remoteip cPanel ea-nginx1) Install mod_remoteip. A) Run the following command as root. yum install...
How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone:1: Create .htaccess file inside your public_html folder, OR the folder in which you have...
How to fix Fatal! Write Failure: /etc/valiases/Fatal! Write Failure: /etc/valiases/[sub.whmmainhost.tld]. Ignore any messages of success this...
How to fix failed to retrieve directory listing error in FileZilla FTP cPanelYou can easily fix this error by going into the site manager and adjusting your connection...
How to fix ini_set() has been disabled for security reasons1. Create php.ini file inside your public_html folder, OR the folder in which you have...
How to fix: Getting an SMTP 451 error when trying to send out emailGetting an SMTP error 451 Temporary local problem - please try later error when trying to send...
How to generate PFX from crt Linux.You need to run: openssl pkcs12 -export -out domain.name.pfx -inkey domain-name.key -in...
How to install KVM on CentOS 7 / RHEL 7 Server?Kernel-based Virtual Machine (KVM) is virtualization software for CentOS or RHEL 7. KVM turn your...
How to install PHP selector on cPanel with CloudLinux?If your server installed cPanel with CloudLinux and you will see the below error message atcPanel...
How to install Red5 Media Server on CentOS VPS and Dedicated Servers1. Install Java using yum. (The -y flag provides a ‘yes’ answer to all prompts.)...
How to install phpMyAdmin on Centos 6Install phpMyAdmin Now, we are ready to install the phpMyAdmin package. This software is not...
How to remove .php, .html extensions with .htaccessThe steps to remove file extensions are: Login to your cPanel account. Go to File Manager –...
How to restart cron daemonYou have to do it from root shell via SSH using the command:/etc/init.d/crond restart
How to restore a Plesk Panel backup via SSHRun below command: # plesk bin pleskrestore --restore /root/backup_info_1712180545.xml.tar...
How to restore larger than 2 GB Plesk backup?- In the backup settings allow "local FTP storage space" on your system.- Create a "fake"...
How to transfer cPanel accounts from one server to another cPanel serverThe server we are transferring the accounts from : OLD SERVERThe server to are transferring...
How to use Rescue Mode in any VPS1. List system partitions:root@sysresccd fdisk -l.... Device Boot Start End...
Identifying the php.ini values usedCreate a new cronjob that runs every minute with a command similar to the one below: php -i |...
Importing Databases via SSHUsing Command Line (SSH) to import your MySQL database The file must be in .sql format. It can...
Install Nginx RTMP UbuntuNginx RTMP Protocol Nginx-RTMP is an open source extension module for the Nginx web server that...
Installing ImageMagickThis is a quick howto on installing ImageMagick on a CPanel Server using the CPanel provided...
Installing Staytus from scratchTo begin, you'll need a server running Ubuntu 16.04. For this tutorial, we're going to assume...
Magento install error - Exception printing is disabledHere is a known error which can occur when installing Magento: There has been an error...
Manage a database hosted in Plesk using SQL Server Management Studio (SSMS)To connect to an SQL Server with a custom port, specify this port after a comma: 203.0.113.2,1433...
Microsoft Office Direct Download Links 2021, 2019, 2016, 2013, 2010Here you will find all official and original download links for Microsoft Office from Microsoft...
Moving from one SolusVM to other SolusVMTo move using vzdump 1st install it run the below:yum install vzdump If your master has...
MySQL Optimization cPanelThe best way to get optimization recommendations for your specific hardware resources and...
MySQL backups with mysqldumpThe basic method to backup databases is to use the mysqldump utility. Usage of this utility is...
Nginx-RTMP on Ubuntu 14.04Updating Ubuntu and Installing Nano sudo apt-get update sudo apt-get upgrade sudo...
OVH KVM Server SetupWe need to mark out all OVH Repo before we start building KVM: [root@asia ~]# cat...
OpenVPN ACCESS SERVER INSTALLATION via Repository CENTOS 6 and 7, 64 BITSCENTOS 7, 64 BITS The recommended method to install the OpenVPN Access Server is to...
Outgoing Tracking HTTP cPanelIf you run a "ps faux" look for any processes by that name, or any suspicious PHP processes (or...
Plesk Linux Backup Manually Restoreplease make sure that if you use a FTP / SFTP-client to upload a backup-file ( i.e.:...
Plesk Panel Websites SSH DirectoryCode: /var/www/vhosts/%domains.com%/ Want to change or edit the Plesk default page? Quote:...
Plesk SSH Terminal: connect to host 127.0.0.1 port 9999: Connection refusedDirect change of SSH service port number was not applied for Plesk SSH Terminal extension....
Remove Default Sort in WooCommerce and ‘Showing All Results’ NoticeIn an e-commerce environment using WooCommerce when there is only a few products to sell, it is...
Remove Joomla! is Free Software Text from the Admin AreaTo change or remove the "Joomla! is Free Software released under the GNU/GPL...
Removing ACL List from WHMIf you need to remove some ACLs/lists from the dropdown that you have already created.Open a SSH...
Reset default permissions cpanel accountsRunning these from SSH one by one should work;for CPAccess in `ls -A /var/cpanel/users`; do chown...
Restore default and disabled features WHMFeature lists are stored in plain text files in /var/cpanel/features 1st delete them, so you...
SSH Warning MAC perl warning setting locale failedOpen Terminal and Run: touch ~/.bash_profile; open ~/.bash_profile and paste the...
SSL NGINX for SolusVM 1.xManual Setup In most cases you will already have a valid certificate for your master which...
Scanning for Rootkits with chkrootkitUp-to-date and secure installations, firewalls, limited ssh access and strong passwords are all...
Server Load Issue ModSecurity persistent IP database size alertModSecurity persistent IP database (/var/cpanel/secdatadir/ip.pag) size is 26.46GB...
Server email problem not receiving error log {perl{enforce_mail_permissions}}}}}}/etc/exim.pl had 000 for permissions thus exim was not able to access that file. Change it to 644,
Softaculous does not apper in cPanelSoftaculous is the great feature available in Cpanel which has replaced with Fantastico. It...
SolusVM VPS OfflinePlease reboot into openvz kernel and follow the instructions given below then create a new...
SolusVM getting a showing Node Down after SolusVM getting a showing Node Down after updateConnect to the SolusVM Master/slave server over SSH. Move out you the current system PHP binary:...
Sorry, a DNS entry already exists, please delete it first (from all servers in the dns cluster) - WHMWhen trying to add a new domain in WHM, you may get an error like this. Account Creation Status:...
Start and Enable Firewalld on CentOS 7Enable Firewalld To enable firewalld, run the following command as root: systemctl enable...
Stream Live HLS Video Ubuntu NginxThe first step is to read and set up your server "Nginx-RTMP on Ubuntu 14.04". Instead of...
Test Internet Speed of Your VPS/ServerHow to Install SpeedTest CLI Step 1 – Login to your VPS as root or any user with superuser...
That username already exists on the system WHMThe domain being in the named.conf file will prevent a domain from being added in which case you...
The installation process detected that the server was in runlevel 5 cPanelThe server must be in runlevel 3 before the installation can continue. This tutorial will help...
Tomcat: Easy apache 4 How to add/enable on cPanel.INSTALLING TOMCAT ON CPANEL SERVER PART A We can install tomcat on cPanel server...
Transferring Wordpress site from one domain to other domain Uninstall Apache serviceCentOS Uninstall Apache service Type the following command to remove all httpd* and...
Update CloudLinux license keyOn new server i was using CloudLinux 30 day trail key. To change CloudLinux Licence key, run...
VM SetupChoose fastest mirror The another option to speed up DNF is to select fastest mirror from the...
WHM Cron LocationLocation: /var/spool/cron/USERNAME
WHMCS mass changing SQL statement from one server to anotherAn SQL statement like this will change all clients from one server to another: UPDATE...
What does "406 Not Acceptable" mean?Most likely, you are reading this article because you received an "Access Denied" error or a "406...
What is php.ini ?The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...
What is the php.ini file? and where is it?The php.ini file is an important configuration file of your PHP server.Create test.php file...
Whitelist a process on CSFYou can certainly make use of the file /etc/csf/csf.pignore which can be used to whitelist either...
Windows Server 2022 Evaluation (Eval) to Full VersionDownload Windows Server 2022 Evaluation English from...
Windows Update DisableDisable via registryThe Windows Registry is a great way to deactivate the update in Windows 10....
WordPress ModSecurity RulesThese rules will block access for the offending IP address for 5 minutes upon 10 failed login...
WordPress ModSecurity RulesThese rules will block access for the offending IP address for 5 minutes upon 10 failed login...
WordPress Unknown Collation utf8mb4_unicode_520_ci SolutionIf you're importing or migrating your WordPress database to a server that has an older version of...
You have a local DNS server running but do not appear to have any recursion restrictions setYou have a local DNS server running but do not appear to have any recursion restrictions set....
cPane / WHM: Security Advisor - Current kernel version does not match the kernel version for bootTry to reinstall the latest kernal sometimes on CloudLinux initrd img is missing.yum reinstall...
cPanel / WHM replace php.ini file of users with rootYou can run below code: find .-name "boom.txt"-exec cp ~/replace.txt {} \;
cPanel Installation and configuration of ea-Tomcat85Command line tip: In the examples provided below, $username represents the username associated...
cPanel License UpdateLogin to root via SSH and run:/usr/local/cpanel/cpkeyclt
cPanel Outbound Server Attack DetectionFirst, let’s deal with the server requirements: 1) Considering that the server is running cPanel...
cPanel SSH Commands ListList of commands for cPanel. Note that this is for SSH. Restart chkservd:...
cPanel custom DNS Zone Templates directory location?The DNS Zone templates are located in /var/cpanel/zonetemplates
cPanel delete all mail queueTo display the number of emails in the queue we use the command exim -bpcSo to remove all...
cPanel increase of disk space usage happening, and it is gone shortly after restarting the environmentThe rise in space is coming from your MySQL temporary tablespace that is enabled. Non-compressed,...
engintron dedicated ip redirect to default cpanel pageIn custom_rules add this: if ($host ~ "uoool.layerserver.com") { set $PROXY_DOMAIN_OR_IP...
how to disable ping on linux serversWhat is a ping: Usually a ping is used to check if a machine is up and to check the network...
how to force cpbackup /scripts/cpbackup isn't working/scripts/cpbackup --force
root @hostname cPanel / WHM emails are frozenCode: 2016-08-30 02:45:48 1beNoq-0002Ca-Th <= root@myvps.myhostname.com U=root P=local...