How to redirect the site

A redirect allows you to make one domain redirect to another domain, either for a website or a specific web page. For example, create a redirect so that www.example.com automatically redirects users to www.example.net.

Please follow the following step for redirect the website

  1. Login to cPanel.

2. In Domain section Click on Redirect icon.

3.In redirection, type selects Permanent 301 redirection.

4. Next field select domain name which you want to redirect.

4. Choose the domain where you want to redirect.

6. Click on Add button.

Procedure to Setup Node.js App in cPanel

Node.js is a popular, event-driven JavaScript runtime you can use to build robust web applications.

Log into cPanel
Choose Setup Node.js App under Software
Click Create Application

Fill in the Application root field (this is the directory in which you will upload for application files)
Select your Application URL and startup file (if you do not name a startup file, app.js is used as the default)
Fill in the remaining fields with your preferred values
Click Create when ready
Create virtual enviroment for your application.

Transferring from cPanel to cPanel in WHM


cPanel provides a tool that you can use to transfer from cPanel to cPanel, from one server to another

Login to the WHM as root.
In the menu at the left, search for and then click on Transfer Tool. You will see several options that you will need to select or fill in. They include:
Root Password– Add the root password so that the root user can be used for authentication. If you’re using the root user leave Restricted Restore unchecked.
Once all of the information has been selected and added for the Remote Server Information and Authentication, click Fetch Account List.
When the processing is complete, you will see Additional Options. The Keep DNS Zone would need to be unchecked UNLESS your servers are in the same DNS cluster. If you have any doubts, please contact our live technical support team.

How to Migrate Your Website Using cPanel

This article will assist you with migrating your website from another hosting company that uses cPanel to ewebhostingstore.com Hosting offers Shared Hosting Plans, featuring cPanel. If your previous hosting company uses cPanel, then migrating your website(s) can be done easily, using a cPanel backup.
Generate cPanel Backup
To generate a cPanel backup, follow the steps in our tutorial: Backup Your cPanel.
Download cPanel Backup

Upload cPanel Backup

Now, using FTP, upload the cPanel backup file (you just created and downloaded) to your InMotion Hosting server.

After you have generated your cPanel backup from your old host’s server, download the backup file to your desktop using FTP.

Then, proceed to the next section to upload the cPanel backup you just downloaded from your computer to your ewebhostingstore Hosting Account.

Request cPanel Account Restore

Once you have uploaded your cPanel Backup, submit a Website Transfer Request from your Account Management Panel (AMP).

Simply, fill out the Website Transfer Request form and include these details in the Additional information to help us locate your data section.

  • Authorization to overwrite the existing cPanel account, with the restored cPanel account. (See warning below)
  • Location of your cPanel backup file
  • Name of your cPanel backup file
  • Comprehensive list of websites expected to be restored from backup file.
  • Comprehensive list of databases expected to be restored from backup file.

Please keep the following in mind when requesting a cPanel Account Restore:

  1. Customers can request assistance with restoring as-is free cPanel backups from a previous hosting provider.
  2. Website Transfer Service doesn’t guarantee removal of hack content
  3. Website Transfer process doesn’t include the transfer of Domain Registrations or emails accounts. 
  4. Emails associated with a cPanel account backup are restored as-is

WARNING: Restoring a cPanel account from a cPanel backup file will overwrite the existing user’s cPanel data (including website files, emails, databases, etc.). Any data that has been saved in the existing cPanel user’s account (on your ewebhostingstore Hosting server) will be deleted and replaced with the data contained in the cPanel backup file. However, the existing cPanel account’s username (assigned by ewebhostingstore Hosting) will remain the same.

Test Your site

Once our Website Transfer Team notifies you that the restoration has been completed, you may test your website(s) to make sure everything is working properly. If you have not yet pointed your domain to our name servers, you can test your site through either your Temporary URL or by making a hosts file modification.

Update Name Servers

The final step in the process of migrating your website(s) from another host using cPanel to InMotion Hosting, is to update the name servers for your domain(s) to point to ewebhostingstore hosting.

Once you have updated the name servers with the registrar of your domain, it can take anywhere from 4-24 hours for these changes to propagate.

Congratulations! You now know how to migrate your website(s) using the cPanel Backup/Restore process to move your website from another host (that uses cPanel) to InMotion Hosting.

Learn more about server management from Managed VPS Hosting Product Guide.

Set Up and Run a Cron in cPanel

cron job is an automated background task scheduled to happen at a specific time. A few examples include checking for updates, backups, or sending out reminder notifications. Cron jobs are important because they automate tasks that reduce manual operations to help with security, performance, and functionality for an administrator and all of the users of the server or website.

Log in to the cPanel.

Scroll through the cPanel to find the Cron Job icon. Click on it.

You will then see the Cron Jobs page. The top half of the page looks like the following:

Once you’re on the Cron Jobs page you can add cron jobs, add an email for cron job reports and notifications, and manage existing cron jobs at the bottom of the page where they are listed.

Procedure to Disable ModSecurity in cPanel

ModSecurity is server software for Apache that comes bundled with cPanel. ModSecurity helps protect your site from brute force attacks and, by default, automatically runs on all new accounts. ModSecurity should usually remain on. 

Disable ModSecurity for Individual Domains

  1. Log into cPanel.
  2. Choose ModSecurity listed under Security.
  3. Select the domain you are working with and switch ModSecurity from On to Off.
  4. Wait for the pop-up telling you that ModSecurity has been disabled.
  5. Troubleshoot the issue that you are having.
  6. Return and reactivate ModSecurity immediately after solving the issue you are experiencing. If you stop troubleshooting and need to wait before continuing, be sure to reactivate ModSecurity.

Procedure to set Auto Responder from cPanel

This feature allows you to configure automatic email response messages. This is useful, for example, when the recipient is unavailable.

To set the auto Resoponder login to your cPanel, using www.yourdomain.com/cPanel.Then select the.Auto resoponder from ‘Email managment’.Click on the Add Auto Responder from the cpanel from bottom and customize your message.Then click on create/Modify.

Step1: Login to cPanel>>
Step2:Click the Autoresponders button in the Mail section.

Step3:On the next screen, your Current Autoresponders will be listed. Click the Add Auto Responder button.

Step4: Click the Create/Modify button to save your Autoresponder.

You are finished when you see a message stating “You have successfully created… auto responder.

How to add CNAME record in Cpanel

A CNAME Record associates a real domain name with an alias name. CNAME records are frequently used to map the www and FTP subdomains. The CNAME records for your addon domain will by default point to the name of a certain Doteasy server. The addon domain can, however, always be changed to point to a different server.

Any modifications to DNS zone records should be made using the Zone Editor in cPanel.

NOTE: You can only update the DNS zone records of your addon domains (i.e., domains you’ve added to your hosting account as addon domains) using the Zone Editor. Use the Edit DNS Zone File tool in your Doteasy Member Zone if you need to alter the DNS zone records for your primary domain name or other domain names that you have not added to your account as addon domains

  1. In cPanel, select Zone Editor under Domains.

2. Find the addon domain in the Domains table for which you wish to add a CNAME record.

3. From the Actions column, select Add CNAME Record.

4. Enter the hostname that the CNAME records relate to in the Name box of the Add a CNAME Record window.

5. Enter the domain name that the record should resolve to in the Address field.

6. Click Add a CNAME Record once you are ready.

How to change file permissions on a Linux Server?

Permissions play a key role in safeguarding your data over the world wide web. You can define the permissions according to your preferences based on the level of access you wish to offer to the users. As a part of the security enhancement technique, you may sometimes need to protect the files from writing or editing. In that case, the following tutorial may come in handy. The information would help you assign appropriate permissions to the files.

One of the simplest ways to assign permissions is via. cPanel File Manager.

The below steps must be followed for making the changes:
1. Go to File Manager in cPanel.
2. Select the file to which you intend to assign permissions.

3. Right-click on the file and select “Change Permission”

4. Click on the required permissions you want to assign to the file.

5. Click on Change Permissions and the permission for the file would be changed.

How Do You Password-Protect a Directory?

This feature is particularly useful when you would like to protect any sensitive directories on your web hosting account.
After you enable this feature you will get a prompt message whenever you try to log in.
Now you will be shown how to protect a directory with a password in this article.

cPanel allows you to password-guard directories. All of the files in the password-protected folders are now safe.

Note– cPanel can only protect folders; individual files cannot be protected. A protected directory can hold any file that needs to be protected. Furthermore, it does not secure directories accessed locally or via FTP, SFTP, or Web Disk.

Steps for Using a Password to Protect a Directory

1. Go to your cPanel account and log in.
2. Go to the Files section and select “Directory Privacy” from the menu.

3. Select the directory you wish to secure by clicking on it.
4. You’ll be taken to a page called “Set permissions for “/home/demoweb/public_html”

5. As shown in the screenshot, select the option Password guard this directory.

6. In the Enter, a name for the protected directory field of Security Settings, type the name of the selected directory. It’s worth noting that this is the directory’s label. It has no effect on the directory’s real name.

7. Finally, press the “Save button”

8. After that, a confirmation page will appear. Select Go Back from the menu.


9. Then you must create a user who has permission to access this directory. Fill in the Username, New Password, and Confirm Password sections under Create User. The Password Generator button will help you to generate a strong password.

10. Then click on Save button.