How to host a domain with spf and dkim on license expired whm/cpanel server from shell ?

    Posted in Whm/Cpanel on May 24, 2018


    We will see how we can host a domain on a whm/cpanel server if server license is expired. some time we need to host a domain on server with immediately and then we find out that server license is already expired then there are to ways so we can host a domain on server first we activate the license and then do it from whm panel and second way is we just access server via ssh and do it as soon as possible.

    Today I will show you the second way that how we can host a domain on server with spf and dkim.

    first of all ssh server with root details

    ssh root@serverip

    enter password and press...[Read more...]

    How to configure backup in WHM

    Posted in Whm/Cpanel on May 23, 2018


    Hello Guys,

    From this Article You can breifly learn How To Enable Server Backups in WHM/cPanel:-

    Step1:- Configure Global Settings:-

    A:- Log in to WHM using your server’s root credentials, and select Backup Configuration under the Backup section in WHM’s main menu. You can begin typing “backup” into the search menu to narrow the list of menu options.

    B:- Now choose the type of backups you want cPanel to create:-

    1:- Compressed backups use the least amount of disk space, potentially giving you more restore points than could get with the other methods. Compressed backups take longer to complete...

    [Read more...]

    How to Create a WHM user without an associated domain

    Posted in Whm/Cpanel on May 16, 2018


    Create a WHM user without an associated domain :-

    Step 1 :- Log in as the root user on the server via SSH.

    Step 2 :- To create a new user, run the following command:

    adduser username

    Step 3 :- To set a password for the new user, run the following command:

    passwd username

    Step 4 :- To create an entry in the resellers file that grants the user full permissions, run the following command:

    echo "username:all" >> /var/cpanel/resellers

    Step 5 :- Log in to WHM as the root user.

    Step 6 :- In WHM go to Edit Reseller Nameservers and Privileges interface . Home >> Resellers >> Edit Reseller Nameservers ...

    [Read more...]

    How create cpanel account from command line

    Posted in Whm/Cpanel on May 08, 2018


    We can create a cpanel account from command line or terninal.

    There is a command (or script) is available to this. here is the command to do it.


    There are many options if you want to setup:

    The Syntax of this command is as follows with options:

    /scripts/wwwacct <domain name> <username> <password> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit>

    there are many other options are also available.


    /scripts/wwwacct cloud web@12345 0 x3 n n n  0 0 0 0 0 0

    here is the meaning of all above option...

    [Read more...]

    How change server's hostname from whm panel

    Posted in Whm/Cpanel on May 01, 2018

    Hello Guys,

    Today we learn how we can change hostname from WHM. this will help you to change server's hostname from browser you will not need to login server from ssh and no need to run commands on shell or terminal

    Step 1: First of all login into WHM with root details; then go to search box and search for "change hostname" then you will see same as bellow snapshot.


    Step 2: Click on "change hostname" tab then a new page will open go to then end of the page then you will see following:


    Step 3: Enter hostname as server.domainname or mail.domaionname and click on change button


    That's it hostna...

    [Read more...]

    How to Install Nginx on CentOS 7

    Posted in Linux Servers on Apr 17, 2018


    NGINX (short for Engine X) is a free, open-source and powerful HTTP web server and reverse proxy with an event-driven (asynchronous) architecture. It is written using C programming language and runs on Unix-like operating systems as well as Windows OS.

    It also works as a reverse proxy, standard mail and TCP/UDP proxy server, and can additionally be configured as a load balancer. It is powering many sites on the web; well known for its high-performance, stability and feature-rich set.

    In this article, we will explain how to install, configure and manage Nginx HTTP web server on a CentOS 7 or R...

    [Read more...]

    How to resolve 'License Invalid' or licensing error(s) in whm

    Posted in Whm/Cpanel on Mar 16, 2018


    How to resolve 'License Invalid' or licensing error(s) in whm ?

    Step 1: first of all login on server as root user.

    Step 2: Please run following cammand as root user

    /etc/init.d/cpanel restart

    If this cammand will not resolve your issue then follow step 3.

    Step 3: now run following command on server to check license is active or expired.


    this cammand will refresh your license key. if this cammand show license expired that means you need to contact your license provider or server provider(if license is with server).

    [Read more...]

    How we can disable mails from a particular domain on Cpanel

    Posted in Whm/Cpanel on Mar 16, 2018


    How we can disable mails from a particular domain on Cpanel?

    Step 1 :- Login to WHM and go to Main >> DNS Functions >> Edit MX Entry for the


    Step 2 :- Edit the Domain


    Step 3 :- choose "Remote Mail Exchanger" this will Configure server to not accept mail locally and send mail to the lowest MX record.


    Step 4 :- Than Click on Save button.


    Note :- If are Not pointed to your dns and just use IP forwarding to run on your server you can remove the dns entry for by delete the dns zone for as it not used.

    [Read more...]

    How to install CSF Firewall on cPanel

    Posted in Whm/Cpanel on Mar 11, 2018

    Config Server Firewall (CSF) is a Stateful Packet Inspection (SPI) firewall, Login/Intrusion Detection and Security application for Linux servers. It's is a security tool that can protect your server against attacks, such as brute force, and improve server security.

    This application will work as a WHM plugin and is free. Follow these instructions to complete a basic CSF installation:

    Install CSF: Log into your server as root, using SSH.

        # cd /usr/local/src/
        # wget
        # tar -xzf csf.tgz
        # cd csf 
        # sh

    You will see "Installati...

    [Read more...]

    How to configure VNC on ubuntu

    Posted in Linux Servers on Mar 07, 2018


    How to Install VNC on Ubuntu 16.04

    Install VNC on Ubuntu 16.04

    As you know, VNC is a protocol that allows sharing the desktop and controlled remotely over the internet. This simple guide helps you to install VNC on Ubuntu 16.04 machines.

    Before installing the VNC server, let us install Xfce desktop.

    $ sudo apt-get update
    $ sudo apt-get install xfce4 xfce4-*

    Install the VNC server using the following command.

    $ sudo apt-get install vnc4server

    VNC server listens on port 5900, but if you plan to setup port-offset in VNC; we can run a VNC service on a sub-port of the default port 5900.

    For examp...

    [Read more...]