Categories

Articles

  CORS header ‘Access-Control-Allow-Origin’ missing

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 domain

Two ways to get the result you want: 1) In .htaccess file: Options +FollowSymlinks...

  Run OPTIMIZE TABLE to defragment tables for better performance

For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...

 #1045 Cannot log in to the MySQL server iin phpmyadmin

While acessing phpmyadmin through cpanel it was asking for username and password, however...

 /scripts/cpbackup isn't working

Try rm -rf /home/cpbackuptmp/cpbackup/daily rm -rf /home/cpbackuptmp/cpbackup/weekly  ...

 Add New Bank Transfer Gateway on WHMCS

To add new Bank Transfer create new php file:banktransfer2.php Under whmcs/modules/gateways/Copy...

 AryanIct.com standard Domain Name Server Resolvers

If you get an error about not being able to resolve the host, you need to edit your...

 CSF Blocking Gmail SMTP email sending

Problem:Your VPS server or scripts are configured to send email using GMail's SMTP but emails are...

 CSF error : No response from subprocess

While checking CSF firewall from WHM >>ConfigServer Security & Firewall No response...

 Canonical redirect to main domain from other domain

It is a simple matter of matching %{HTTP_HOST} not equal to www.domain.com and redirecting that...

 Check /usr/tmp permissions

Run following commend to solve the issue:   chmod 1777 /usr/tmp

 Check The Number Of MySQL Open Database Connections on Linux Or Unix-like Server

MySQL show status command to see open database connections example First, connect to the your...

 Clean /tmp on Centos/cPanel server

Open SSH to your server, if SSH will not connect due to disk space full in tmp, reboot your...

 Cpanel / SuPHP – chmod All Files 644, All folders 755

When switching from DSO to SUPHP in cpanel (a must for anyone who takes security seriously on a...

 Create OpenVPN User Account

Initially, the Access Server virtual appliance uses PAM (Pluggable Authentication Modules) to...

 Disk usage problem: WHM is showing incorrect disk usage and cpanel also

The problem happens when the disk quota file get corrupted on server. You can run the following...

 Display Bank Account Details on PDF invoice WHMCS

Add the below file to : /hub/templates/theme-name/invoicepdf.tpl # Offline payment methodsif...

 Find spam script location with Exim

Sometimes you can have a "tell a friend" feature on your website, or other type of email...

 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...

 How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 6

About 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.5

VPN, or virtual private network, is a secure method of connecting remote internet resources...

 How to Fix: Webmail - squirrel, horde and roundcube doesn't work . Fails to load

The domain is missing from /etc/userdomains - ran /scripts/updateuserdomains --force to fix...

 How to Install Red5 on cPanel/WHM (CentOS) server

Installing Red5 on cPanel/WHM CentOS and RedHat Linux serversFollow the instructions and Red5...

 How to change SSH port

You can change the ssh port by following commendnano /etc/ssh/sshd_configChange#Port 22toPort *...

 How to clear /tmp on Centos/cPanel server

First 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 Server

You can try searching for them with a command such as: Code: find /home -name 'error_log'...

 How to edit cpanel crontab

You have to do it from root shell via SSH using the command:crontab -eThis will throw you into an...

 How to edit my.cnf

To edit a file, first make a back-up.cp /etc/my.cnf /etc/my.cnf.oldNow open it in nano:nano...

 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 ini_set() has been disabled for security reasons

1. 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 email

Getting an SMTP error 451 Temporary local problem - please try later error when trying to send...

 How to install Red5 Media Server on CentOS VPS and Dedicated Servers

1. Install Java using yum. (The -y flag provides a ‘yes’ answer to all prompts.)...

 How to install phpMyAdmin on Centos 6

Install phpMyAdmin Now, we are ready to install the phpMyAdmin package. This software is not...

 How to restart cron daemon

You have to do it from root shell via SSH using the command:/etc/init.d/crond restart

 How to transfer cPanel accounts from one server to another cPanel server

The server we are transferring the accounts from : OLD SERVERThe server to are transferring...

 Importing Databases via SSH

Using Command Line (SSH) to import your MySQL database The file must be in .sql format. It can...

 Install Nginx RTMP Ubuntu

Nginx RTMP Protocol Nginx-RTMP is an open source extension module for the Nginx web server that...

 Installing ImageMagick

This is a quick howto on installing ImageMagick on a CPanel Server using the CPanel provided...

 Installing Staytus from scratch

To begin, you'll need a server running Ubuntu 16.04. For this tutorial, we're going to assume...

 Magento install error - Exception printing is disabled

Here is a known error which can occur when installing Magento: There has been an error...

 Moving from one SolusVM to other SolusVM

To move using vzdump 1st install it run the below:yum install vzdump If your master has...

 MySQL Optimization cPanel

The best way to get optimization recommendations for your specific hardware resources and...

 Nginx-RTMP on Ubuntu 14.04

Updating Ubuntu and Installing Nano sudo apt-get update sudo apt-get upgrade sudo...

 Plesk Linux Backup Manually Restore

please make sure that if you use a FTP / SFTP-client to upload a backup-file ( i.e.:...

 Plesk Panel Websites SSH Directory

Code: /var/www/vhosts/%domains.com%/ Want to change or edit the Plesk default page? Quote:...

 Remove Default Sort in WooCommerce and ‘Showing All Results’ Notice

In 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 Area

To change or remove the "Joomla! is Free Software released under the GNU/GPL...

 Removing ACL List from WHM

If you need to remove some ACLs/lists from the dropdown that you have already created.Open a SSH...

 Reset default permissions cpanel accounts

Running these from SSH one by one should work;for CPAccess in `ls -A /var/cpanel/users`; do chown...

 Restore default and disabled features WHM

Feature lists are stored in plain text files in /var/cpanel/features 1st delete them, so you...

 SSH Warning MAC perl warning setting locale failed

Open Terminal and Run: touch ~/.bash_profile; open ~/.bash_profile     and paste the...

 SSL NGINX for SolusVM 1.x

Manual Setup In most cases you will already have a valid certificate for your master which...

 Scanning for Rootkits with chkrootkit

Up-to-date and secure installations, firewalls, limited ssh access and strong passwords are all...

 Server Load Issue ModSecurity persistent IP database size alert

ModSecurity 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 cPanel

Softaculous is the great feature available in Cpanel which has replaced with Fantastico. It...

 SolusVM VPS Offline

Please reboot into openvz kernel and follow the instructions given below then create a new...

 Sorry, a DNS entry already exists, please delete it first (from all servers in the dns cluster) - WHM

When trying to add a new domain in WHM, you may get an error like this. Account Creation Status:...

 Start and Enable Firewalld on CentOS 7

Enable Firewalld To enable firewalld, run the following command as root: systemctl enable...

 Stream Live HLS Video Ubuntu Nginx

The first step is to read and set up your server "Nginx-RTMP on Ubuntu 14.04".  Instead of...

 That username already exists on the system WHM

The 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 cPanel

The server must be in runlevel 3 before the installation can continue. This tutorial will help...

 Transferring Wordpress site from one domain to other domain

 Uninstall Apache service

CentOS Uninstall Apache service Type the following command to remove all httpd* and...

 Update CloudLinux license key

On new server i was using CloudLinux 30 day trail key. To change CloudLinux Licence key, run...

 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 CSF

You can certainly make use of the file /etc/csf/csf.pignore which can be used to whitelist either...

 You have a local DNS server running but do not appear to have any recursion restrictions set

You 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 boot

Try to reinstall the latest kernal sometimes on CloudLinux initrd img is missing.yum reinstall...

 cPanel / WHM replace php.ini file of users with root

You can run below code: find .-name "boom.txt"-exec cp ~/replace.txt {} \;  

 cPanel License Update

Login to root via SSH and run:/usr/local/cpanel/cpkeyclt

 cPanel SSH Commands List

List of commands for cPanel. Note that this is for SSH.  Restart chkservd:...

 how to disable ping on linux servers

What 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 frozen

Code: 2016-08-30 02:45:48 1beNoq-0002Ca-Th <= root@myvps.myhostname.com U=root P=local...