How to recover key file for aws instance

    Posted in Amazon Cloud Services on Jun 05, 2018


    If you lose the private key for an EBS-backed instance, you can regain access to your instance. You must stop the instance, detach its root volume and attach it to another instance as a data volume, modify the authorized_keys file, move the volume back to the original instance, and restart the instance. For more information about launching, connecting to, and stopping instances, see Instance Lifecycle.

    This procedure isn't supported for instance store-backed instances. To determine the root device type of your instance, open the Amazon EC2 console, choose Instances, select the instance, and c...

    [Read more...]

    How to Manually Install Joomla Using cPanel

    Posted in Joomla Hosting, Whm/Cpanel on May 30, 2018


    One of our students was having trouble installing Joomla in cPanel, so we created this tutorial for him.

    This tutorial will cover setting up the database, the files, and the configuration of the Joomla install.


    Step #1. Log into cPanel

    • Go to
    • Log in with the username and password. Hosting companies usually send an email with this info when you first sign up with them.


    Step #2. Set up the database


    • Click on the "MySQL Databases" icon
    • Create a new database:


    • Scroll down and create a new database user. Use the password generator for a good secure password. Save this p...
    [Read more...]

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