18 Nov

Solving ‘421 Too Many Connections’ Error in FileZilla for Seamless FTP Transfers

FileZilla is a convenient tool for FTP file transfers in cPanel. However, encountering a ‘421 too many connections’ error can disrupt this process. To ensure smooth file transfers, let’s explore two methods to fix this issue.

Understanding the Error:
FileZilla throws this error when attempts exceed 8 connections from the same IP address without closing older ones. Incorrect settings might also trigger unsuccessful connection attempts.

Error Message:
“Response: 421 Too many connections (8) from this IP Error: Could not connect to the server.”

Method 1: Refresh Connections via cPanel

1. Log into your hosting account and access cPanel.
2. Look for “FTP Connections” under the “Files” section. If you can’t find it there, scroll down to locate it.

3. Open “FTP Connections” to see all active connections. Click “Reload” to refresh them.

Method 2: Increase FTP Connections from FileZilla

1. Open FileZilla and navigate to the File Manager option, which might vary based on your operating system. For instance, in iOS, you’ll find an icon, while Windows might display options like File, Edit, etc. Access the File Manager or Site Manager.

2. Click on “My Sites” from the left-sidebar and open the “Transfer Settings” tab.

If the settings area is accessible, select “Limit number of simultaneous connections,” and set the “Maximum number of connections” to more than 8. Click “Ok” to save the settings.

Please note: FileZilla doesn’t facilitate the disconnection of old connections; you’ll still need to use your cPanel account for that.

By following these steps, regardless of the presence of older connections with incorrect settings, you should be able to establish a successful connection between FileZilla and your hosting server.

These methods ensure a hassle-free experience with FileZilla for FTP transfers.

Explore our range of shared and reseller hosting plans!

25 May

Introducing Nagad as a New Payment Option – Convenient and Secure!

We are excited to announce that we have expanded our payment options to provide you with even more convenience and flexibility. As part of this effort, we are now accepting payments through Nagad, a trusted Digital Financial Service offered by the Bangladesh Post Office.

We understand that seamless and secure transactions are of utmost importance to our valued clients, and we believe that Nagad meets these expectations perfectly. With Nagad, you can now make payments directly from your Nagad account using our Nagad Merchant Account. To initiate the payment process, simply follow the steps outlined below:

Log in to your Nagad account.
Navigate to the “Merchant Pay” option.
Enter our Merchant Number: 01841377417.
Ensure that the payment amount matches the total stated on the invoice. There is no need to include any additional payment charges.
Use the invoice number as a reference while sending the payment.

using NAGAD APP

using NAGAD USSD Code

By introducing Nagad as a payment method, we aim to simplify the payment process for you and provide a seamless experience. This secure platform offers various benefits, including real-time transaction notifications, instant payment confirmations, and a user-friendly interface. With Nagad, you can enjoy peace of mind knowing that your payments are being handled securely and efficiently.

Should you encounter any issues or have any questions regarding payments through Nagad, please don’t hesitate to reach out to our dedicated support team. We are here to assist you and ensure a smooth transition to this new payment method.

We value your business and continuously strive to enhance our services to meet your evolving needs. We sincerely hope that the introduction of Nagad as a payment option will bring added convenience to your experience with us. We appreciate your trust and look forward to serving you with the utmost dedication.

Thank you for choosing our services!

26 Jan

Setup Node.js Application in cPanel

We have Cloudlinux installed on shared hosting server which comes with Python and Node JS support. In this tutorial, WE will learn how to easily set up Node.js applications from the cPanel interface.

In order to set up a Node.js application using cPanel interface, use the following steps.

Step #1: Create the application
First, you must create an application. To do this, follow these steps:

Log in to cPanel >> Software >> Setup Node.js App

 

 

On the Node.js selector page, click CREATE APPLICATION to start the application setup:

 

Fill in the fields on the application setup form:

 

 

 

 

 

 

 

 

 

  • Node.js version – select your preferred version from the drop down list
  • Application mode – choose Development or Production from the list. Development may be chosen initially and changed to production later.
  • Application root – the file system location for application files. The entry will be appended to /home/username to form the complete path to the application files in the cPanel home directory.
  • Application URL – the address of the application on the Internet.
  • Application startup file – the initial file that will be processed when launching the application.

Once all information is properly submitted, click CREATE:

 

The application starts automatically. To view a test page for the application, click OPEN:

 

You should see the “It Works!” message appears with the installed version.

Now that a working application is installed, you can enhance the environment with the package.json settings file and the npm package manager.

To do this, follow the next steps:

Step #2: Create the package.json file

To create the package.json file, follow these steps:

cPanel >> File Manager

 

 

In the left hand column of File Manager, click the text of the application root folder:

 

 

 

Click +File to create a new file:

 

In the New File dialog box, type the filename package.json, and then click Create New File:

 

 

 

 

 

 

 

 

Right-click or secondary click on the package.json file in the right-hand column of File Manager and then click Edit. An edit dialog box appears:

 

 

 

 

 

 

 

 

 

In the Edit dialog box, click OK.

Type the following text in the editor screen:

{
"name": "app",
"version": "1.0.0",
"description": "My App",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}

Click Save Changes to save the file and Click Close to close the editor.

Step #3: Install npm

To install npm, follow these steps:

cPanel – Software – Setup Node.js App

 

 

In the Actions column of the Web Applications list, click the pencil icon of the application you want to edit >> Click Run NPM Install >> The NPM installation runs and displays a success indicator when complete.

 

 

 

To install packages with NPM and do other command line tasks related to the application, log in via SSH and enter the virtual environment for the application using the command shown in the information box at the top of the application setup page:

 

 

 

Great! Now you know how to install Node.js app using the cPanel interface.

23 Aug

How to install CloudLinux on cPanel Server

cPanel server with Cloudlinux is a very popular setup in the webhosting industry especially for shared webhosting industry because this give an administrator right power to control resource of each user and at the same time best performance and page load speed for their website with advance level security protection.

Before installing cloudlinux We highly recommend to upgrade MySQL to MariaDB 10.2 because by default MySQL comes with 5.6 and end of life of this version is February 28, 2018. You can upgrade MySQL to MariaDB from WHM >> SQL Function >> MySQL/MariaDB Upgrade.

Next We are going to install Cloudlinux, Download Cloudlinux installation script:

wget https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy

Install the script:

sh cldeploy -i [For IP based license]

or

sh cldeploy -k [For IP based license]

Then reboot the server:

reboot

You can install Lvemanager using below command(In most case it will be automatically installed):

yum install lvemanager

Next install cagefs with the following command:

yum install cagefs
/usr/sbin/cagefsctl –init
cagefsctl –enable-all

Next We need Alt-PHP (PHP Selector):

yum groupinstall alt-php
yum update cagefs lvemanager

Now you can proceed to your WHM >> Cloudlinux LVE Manager and here you can configure Cloudlinux Features including cagefs, python, nodejs and php selector.

If you are running Apache server, you can install mod_lsapi. It can improve performance for many web sites.

Log into SSH and run the following commands:

yum install liblsapi liblsapi-devel –enablerepo=cloudlinux-updates-testing
yum install cpanel-mod-lsapi –enablerepo=cloudlinux-updates-testing
/usr/bin/switch_mod_lsapi –setup
/usr/bin/switch_mod_lsapi –enable-global
service httpd restart

If you still have questions or concerns, feel free to contact us by sending email to following address: support [at] tetrahostbd.com

18 Jun

How to create backups in cPanel

A full cPanel backup includes all account files, databases, email accounts and settings. We recommend creating a full cPanel backup before any major data modification/migration or to keep data backup of an account.

1. Go to cPanel > Files section > Backup menu:

with cPanel Jupiter Theme

with cPanel Retro Theme

2. Click on Download a Full Website Backup:

3. By default, a full cPanel backup will be saved into your account home directory.
Go ahead and change Backup Destination if you would like to choose another target location for the backup.

Please provide your Email Address where the server will send an notification once its completed generating the backup and is ready for download.

Click on Generate Backup to proceed:

4. You will see the following message notifying about the start of the backup generation process:

5. Click on Go Back to monitor the status of the generation process real time.

The green checkmark next to the backup name will indicate that the backup generation has been completed. You can now either download it or navigate to the remote server to see if the backup is there:

14 Jul

cPanel – How to access sFTP

sFTP is more secure method then normal FTP method. The SSH File Transfer Protocol (sFTP), also known as the Secure File Transfer Protocol, enables secure file transfer capabilities between hosts.

There are three steps:

1. Enable SSH access for the respective account

At TetraHost, SSH access is by default disabled for security reason. If someone needs it for some valid purpose, they can request for it by contacting our support desk. In order to access sFTP, SSH access must be enabled.

2. Generate Public/Private Key

Once SSH access is enabled please follow the below instruction to generate Public/Private key:

— Login to respective cPanel Account with username and password
— Visit Security >> SSH Access menu >> Manage SSH Keys
— Generate a New Key with requested information
— Once the keys are generated, you will have to download them
— Before downloading the Private Keys, please convert it to PPK format to use with FTP client

3. Add Key to FTP Client Software

Once you have the Private Keys save to your computer, follow below steps to establish an sFTP connection:

— Open your FTP Client Software such as FileZilla or WinSCP

— Go to settings menu and add the key to the client. For Filezilla it is available under Edit >> Settings >> SFTP menu. For WinSCP, Click on Manage >> Authentication

— Now provide FTP login details and SSH Port instead of default FTP port to establish an sFTP connection

30 Jul

WordPress Security: Tips To Secure A WordPress Website

WordPress, the most popular Content Management System(CMS) in the market, which powers almost 42.4% of all the websites on the Internet. This popularity also brings some problems to your room making it the most targeted CMS by hacker to get benefited using a site. If you are serious about your website, then you need to pay proper attention to your site and WordPress security best practices. Keeping your WordPress site secure takes a little effort but should be top of the agenda for anyone serious about their website.

Hacker uses two approaches to hack WordPress websites. They target individual sites as well as large clusters. Nothing in this world is hack-proof but what We can try is make this as difficult as possible, so they go elsewhere.

In this tutorial, We will share our Best Tips to keep your WordPress website secure.

1. Update your WordPress

WordPress is an open source software which is regularly maintained and updated. By default, WordPress automatically installs minor updates. For major releases, you need to manually initiate the update. Not updating your themes and plugins can mean trouble. In most cases, WordPress-powered sites are compromised because their core software, files, themes, and plugins are outdated making them traceable. WordPress also comes with thousands of plugins and themes that you can install on your website. These plugins and themes are maintained by third-party developers which regularly release updates as well. Every WordPress site administrator should regularly check for update and keep WordPress including plugin and theme files up-to-date.

How to configure automatic updates

You can configure automatic updates as well. To auto-upgrade WordPress core, insert this code into your wp-config.php file:

define( 'WP_AUTO_UPDATE_CORE', true );

For plugins, use:

add_filter( 'auto_update_plugin', '__return_true' );

For themes, use:

add_filter( 'auto_update_theme', '__return_true' );

2. Install a WordPress Security Plugin

Many users find it easier to rely on a one-stop security solution. If that is the case with you, one of the following WordPress security plugins might be suitable:

iThemes Security – available in both a free and premium version, iThemes provides over 30 different ways to improve the security of your website.

WordFence – is another security plugin that offers both a free and premium version. With just over 11 million downloads, WordFence has a strong user base who depend on this plugin for their security needs.

Sucuri – While Sucuri maintains a free plugin in the WordPress repository, they also provide a more comprehensive service that includes: malware and blacklist scanning, DDoS protection, malware cleanup, firewall protection and more. One of the great features of the Sucuri service is that it includes cleanup in the event that you site is compromised.

3. Install SSL Certificate

SSL (Secure Sockets Layer) is a protocol which encrypts data transfer between your website and users browser. This encryption makes it harder for someone to sniff around and steal information. For instance, our hosting service comes with free SSL on all plans which customer can avail from cPanel >> Let’s Encrypt SSL.

4. Use a Strong Password

The most common WordPress hacking attempts use stolen passwords. You can make that difficult by using stronger passwords that are unique for your website. Not just for WordPress admin account, but also for database user, WordPress hosting account.

5. Disable File Editing

If a user has admin access to your WordPress dashboard they can edit any files that are part of your WordPress installation. This includes all plugins and themes. It can be accessed by going to Appearance >> Editor. Another way you can find the plugin editor is by going under Plugins >> Editor. If you disallow file editing, no one will be able to modify any of the files – even if a hacker obtains admin access to your WordPress dashboard.

To make this work, add the following to the wp-config.php file (at the very end):

define('DISALLOW_FILE_EDIT', true);

6. Change your WP-login URL

By default, the URL We use to log into our dashboard is either wp-login.php or wp-admin, added after your site’s main URL. For instance, YOURSITE.com/wp-login.php and guess what, those two are also the most accessed URLs by hackers who want to get into your database. If you change that URL, you reduce the chances of finding yourself in trouble. Guessing a custom login URL is way harder for hackers.

The iThemes Security plugin does this trick. For instance, your login URL can turn into something like YOURSITE.com/my_site.

7. Securing wp-includes Folder

The wp-includes folder contains only the files that are strictly necessary to run the core version of WordPress, one without any plugins or themes. Remember, the default theme still resides in the wp-content/theme directory. Thus, no visitor (including you) should require access to content of the wp-include folder. You can disable access using this following code snippet by updating your default .htaccess file:

# Block the include-only files.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>

8. Hide wp-config.php and .htaccess files

While this is an advanced process for improving your site’s security, if you’re serious about your security it’s a good practice to hide your site’s .htaccess and wp-config.php files to prevent hackers from accessing them. We strongly recommend this to be done by an experience developer because a slight mistake can take down your site. You should start by taking backup of the files as well. To hide the files, there are two things you need to do:

Go to your .htaccess file and add the following code,

<Files wp-config.php>
order allow,deny
deny from all
</Files>

<Files .htaccess>
order allow,deny
deny from all
</Files>

Another security measure that you can take is to restrict wp-config.php file permission. Set the file permissions to 600 so that only true owners can edit the wp-config file. To change the file permission of wp-config, select the file from cPanel >> File Manager and then choose the option ‘Permission’.

9. Disable PHP File Execution in Certain WordPress Directories

Another way to harden your WordPress security is by disabling PHP file execution in directories where it’s not needed such as /wp-content/uploads/.

You can do this by opening a text editor like Notepad and paste this code:

<Files *.php>
deny from all
</Files>

Next, you need to save this file as .htaccess and upload it to /wp-content/uploads/ folders on your website using File Manager or FTP Client.

10. Change Security Keys

It is recommended that you change the WordPress Secuity key periodically so that if someone/something got login credentials, resetting the security keys will log them out immediately. You can generate a new set of security keys and place them in the ‘wp-config.php’ file and here is the URL where you can generate new set of keys. It’ll help secure your WordPress site. Its generate new keys every time someone browse the URL.

11. Choose a Good Hosting Company

You should find/choose a good hosting provider who has up-to-date security system deployed on their servers. You might look for Cloudlinux, Litespeed, Imunify360 Scanner etc. A company with good support and daily backup system will help you to run your WordPress site properly.

12. Don’t Use Nulled Themes

We have seen, people are using nulled theme for their website which is one of the main reason for security breach of a site. You should try to get the premium theme by paying the charges to actual seller. Nulled themes contain hidden malicious codes, which could destroy your website and database or log your admin credentials very easily.

13. Monitor your site – to find any unusual activity.

14. Back up your site regularly – in-case of emergency.

15. Use Latest PHP Version – PHP is used for backend coding and using latest version of PHP will enhance the site security parameter.

16. Use Clever Usernames and Passwords – do not go with the common ones, think and use harder.

17. Captcha Protection – Protecting your site with google captcha protection.

That’s all, we hope this article helped you learn the top WordPress security best practices as well as discover the best WordPress security plugins for your website.

17 Jun

How To Fix: cPanel User, Over Quota Causing Internal Server Error 500

Sometime our cPanel user account can get over quota which might cause webmail to stop working. cPanel user can free up disk usage by deleting unwanted data or upgrading the hosting package so that it can have more free space.

Sometime on performing these two action, user might still not be able to access webmail and showing following error message:

“User is Over Quota” or “Internal Server Error 500”

On such occasion the server admin needs to manually remove cPanel overquota file.

What you have to do is remove cpanels overquota file manually. Let’s say that user “domain1” is having issue described above.

root@server [~]# cd /var/cpanel/overquota/
root@server [/var/cpanel/overquota]# ls
./ ../ domain1 domain2 domain3 domain4
root@server [/var/cpanel/overquota]# rm domain1

After you deleted the file located at /var/cpanel/overquota/domain1, webmail should start to work again.

23 Feb

WordPress Update Released v5.1, Update Your WordPress NOW!


WordPress has released an update on Thursday, 21 February, 2019. We urges all our client to update their WordPress developed site to latest released version.

In order to update, please login to your WordPress Admin Panel >> Dashboard >> Updates >> here you should find with an option to update WordPress to latest Version or you can use “Re-install Now” button to have latest version installed for your account. Sites that support automatic background updates are already beginning to update automatically.

More information on the latest update is available on the following URLs:

Version 5.1

WordPress 5.1 Release Candidate

If you face any trouble updating your WordPress to latest version feel free to contact us. If you want us to update your WordPress, please create an support ticket with your WordPress Admin login details and We will update them for you.

Thank you for choosing TetraHost

Support Desk, TetraHost
M: +880 191 3377417 | E: support@tetrahostbd.com
https://www.tetrahostbd.com

13 Dec

WordPress Update Released v5.0, Update Your WordPress NOW!

WordPress has released an update on 6th December, 2018. We urges all our client to update their WordPress developed site to latest released version.

In order to update, please login to your WordPress Admin Panel >> Dashboard >> Updates >> here you should find with an option to update WordPress to latest Version or you can use “Re-install Now” button to have latest version installed for your account. Sites that support automatic background updates are already beginning to update automatically.

More information on the latest update is available on the following URLs:

Version 5.0

WordPress 5.0.1 Security Release

If you face any trouble updating your WordPress to latest version feel free to contact us. If you want us to update your WordPress, please create an support ticket with your WordPress Admin login details and We will update them for you.

Thank you for choosing TetraHost

Support Desk, TetraHost
M: +880 191 3377417 | E: support@tetrahostbd.com
https://www.tetrahostbd.com