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.

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.

How to Set the PHP Version per Domain in cPanel

In this article, we would like to explain how to set the PHP version per domain in cPanel. The system administrator determines the default PHP version for the system.

Let us follow a few simple steps:

1. Log in to cPanel.
2. Select “MultiPHP Manager” under the “Software” section.

3. Select the domain whose version you wish to change.

4. After selecting the domain, click on the down arrow and select the version from the top right side of the screen as shown in the image given below.

5. Click on the “Apply” button and you will receive a success message as shown below.

This was the simple method of setting the PHP version for each domain in cPanel. We hope you enjoyed and found value in our content. Visit our website to view the most recent deals.

How to Set Up Email Forwarding in Cpanel

Email forwarding enables you to forward emails from one account to another. It’s helpful if you have multiple email accounts but want all your emails to arrive in the same inbox. To set up email forwarding, follow these steps.

1. Log in to your cPanel account.
2. Scroll to the email section and click on the Forwarders icon

3. On the Forwarders page, you have two options.   
 If you want to forward mail from a single email account to another, click on the blue Add Forwarder icon.    If you want to forward the mail of all the addresses from one domain to another email account, click the Add Domain Forwarder box.


To forward mail from one account to another:   
 Type in the name information of the address you want to be forwarded.
   1. Select the domain of the email address from the dropdown box.
    2. Fill in the email address you would like the emails to be forwarded.
    3. Click Add Forwarder

To forward mail from all the domain’s accounts
To forward all the mail sent to one domain:    Select the domain from the dropdown box.
   1. Fill in the email address you would like the emails to be forwarded.
   2. Click Add Domain Forwarder

Set Up: Adding an A record in cPanel 

Your domain name and IP address are linked by an A Record. The A record for your addon domain will by default direct visitors to your ewebhostinghosting account’s IP address. The addon domain can, however, always be changed to point to a new IP address.

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

Note: that you can only update the DNS zone records of the addon domains you’ve added to your hosting account using the Zone Editor. Use the Edit DNS Zone File function in your Eweb Hosting if you need to change the DNS zone records for your primary domain name or other domain names that you haven’t added to your account as addon domains.

  1. Click on Zone Editor under Domains in cPanel.

2. Find the addon domain name to which you want to add an A record in the Domains table.

3. Click + A Record from the Actions column.

4. Enter the hostname that the A records link to in the Name box of the Add an A Record dialogue.

5. In the Address column, type the IP address where the record should resolve.

6. Click “Add an A Record” when you’re ready.