Skip to Content

بلاگ

نحوه مدیریت امکانات WHM

How to manage features in WHM

If you have a Reseller hosting plan, VPS or Dedicated server, you can adjust the number of tools available in cPanel for your resold account via WHM > Packages Feature manager menu:

نحوه مدیریت امکانات WHM

You can either create a new Feature list or edit the existing one by checking/unchecking boxes with corresponding features in the cPanel menu for accounts where the selected Feature list is applied.

NOTE: It is recommended to configure a hosting package and feature list prior to creating a new cPanel account in WHM to simplify further cPanel accounts management process.

نحوه مدیریت امکانات WHM

NOTE: Reseller users don’t have access to the ‘default’ and ‘disabled’ feature lists, so several options are disabled for their custom created feature lists by default, and it is not possible to enable them. If you want to have full access to all cPanel/WHM features, you need to have root access to the server which is provided with VPS and Dedicated server plans.

In order to apply a custom feature list (different from the default one) to a specific hosting package, go to WHM > Packages > Edit package option, scroll down to the end of the page and select the desired feature list from the drop-down menu:

نحوه مدیریت امکانات WHM

Now all the existing and new cPanel accounts with this package will have the feature list you need.

That’s it!

ادامه مطلب

تفاوتهای هاست اشتراکی با سرور VPS

What is the difference between shared hosting and VPS?

It is the same difference as between a dedicated server and usual shared hosting.

With a VPS, you receive all the power of dedicated hosting with the ability to have your own set of services and customizable disk space. With shared hosting, you have limited administrative access and can’t customize software configurations, while with a VPS you can perform any actions from your control panel and don’t need to contact technical support with every single request.

ادامه مطلب

دلایل خرید یک سرور VPS

Why should I choose VPS hosting?

Virtual Private Server is the right choice for developers, webmasters, resellers and simply for those who run resource-intensive websites. We use KVM technology for virtualization, that is why each VPS with Namecheap performs and executes exactly like an independent physical machine and therefore offers security and flexibility for your sites, independence from neighbors, full control over your hosting environment and power of a dedicated server at an affordable price. KVM delivers 133% increase in disk speed performance comparing to XEN technology.

ادامه مطلب

VPS چیست؟

?What is a VPS

With a VPS, you open a world of possibilities that would not be possible on shared hosting because of restrictions.

VPS stands for Virtual Private Server. This refers to the partitioning of a physical server into multiple servers. In effect, each one acts just like a dedicated server, you get all the features of a dedicated server but at a lower price. Each VPS has its own operating system, and each can be rebooted separately. These operating systems each receive a specific share of the resources of the physical server, no more and no less, they are isolated from each other so that one cannot interfere with another. If one VPS experiences problems or tries to use too much memory or CPU resources, it has no effect on the others.

There are many advantages to selecting a VPS, it costs less than a fully dedicated server and provides a great deal of freedom and flexibility over the limitations and restrictions of shared hosting. You are limited only by the capabilities of the VPS, so select one powerful enough to meet your needs. You can always upgrade later if you decide it becomes necessary.

As for virtualization technologies we offer KVM VPS servers.

Since you are supposed to manage your VPS yourself, we recommend you have a good understanding of Linux commands and are familiar with the WHM/cPanel control panel. You can get a VPS without WHM/cPanel, but in this case, you would need to have very advanced knowledge of Linux.

If you don’t feel you have the technical expertise necessary to manage your own VPS, there is no need to let that stop you – you can select full management for an additional fee.

You won’t have root access, and it will act much like a shared hosting plan, but you will still make the decisions.

cPanel is required if you choose full management for a VPS.

ادامه مطلب

نحوه مدیریت User Role ها در وردپرس

How to manage WordPress user roles

Apart from the main Administrator account, WordPress supports so-called users with additional privileges. Such users can access the dashboard, but their operations are restricted to specific options.

There are 5 types of WordPress users:

Subscribers: basic account type assigned to all website visitors who signed up on your website. They do not have any special privileges. A logged in subscriber can only edit her/his own profile settings.
Contributors: can create new posts and approve comments.
Authors: users who can create new posts, approve comments and upload media files. However, they can’t access the WordPress website settings and edit existing posts of other users.
Editors:  these users can edit/create all posts and pages, add/remove media files of any other user.
Administrators: accounts with the highest level of access, they can edit any WordPress content items or settings.

NOTE: Before proceeding with any changes, make sure that you generate a full backup of your website. If you’ve created your site using Softaculous script installer, feel free to refer to this guide as well (step #4 – Backup software).

You can change the account type in the WordPress dashboard > Users section. In order to create a new user, click on the Add new option:

مدیریت User Role

On the next page, fill out the following fields: Username, E-mail, Password, First and Last Name (optional), Website for this account and select the desirable role from the drop-down list. Once done, click on Add New User:

مدیریت User Role

If you wish to change the role of the existing user, go back to the All Users list, check the user in question and set the new role via the Change role to… option:

مدیریت User Role

You can also change the user role manually in the database via phpMyAdmin.

NOTE: It is strongly recommended to back up the database before proceeding.

1. In cPanel go to phpMyAdmin menu in Databases section:

مدیریت User Role

Once there, select your WordPress database.

NOTE: You can check the database name of your installation in wp-config.php file, line define (‘DB_NAME’, ‘databasename’); 

2. Select the wp_users table, locate the account role you want to change and memorize its ID, you will need it later.

In this example, we will change the role of ‘Namecheap’ account, its ID is 6:

مدیریت User Role

3. Now go to the wp-usermeta table, click on Search.

Input the user ID into the user_id field and wp_capabilities into the meta_key field and click on Go:

مدیریت User Role

4. You will see a database cell containing a record specifying the current Role of the user. In our example, it is author. In order to change it, click on Edit:

مدیریت User Role

5. On the next page, you will need to replace the current meta_value with the new one according to the role you need:

a:1:{s:10:”subscriber”;b:1;} – Subscriber
a:1:{s:11:”contributor”;b:1;} – Contributor
a:1:{s:6:”author”;b:1;} – Author
a:1:{s:6:”editor”;b:1;} – Editor
a:1:{s:13:”administrator”;b:1;} – Administrator

In our example we are making a “Namecheap” user an administrator by inserting the corresponding code into her/his wp-usermeta database cell:

مدیریت User Role

That’s it!

ادامه مطلب

نحوه تغییر آدرس ادمین وردپرس

How to change your WordPress Admin URL

Using special WordPress plugins allows you to change the WordPress default login URL. Since WordPress brute-force attacks have become more frequent, changing the default login URL will prevent attackers from accessing your admin login form.

Following the steps below you will learn how to change the WordPress default URL using Lockdown WP Admin and iThemes Security plugins.

NOTE: Before proceeding with any changes, make sure that you generate a full backup of your website. If you’ve created your site using Softaculous script installer, feel free to refer to this guide as well (step #4 – Backup software).

Lockdown WP Admin

1. Install and activate Lockdown WP Admin plugin:

نحوه تغییر آدرس ادمین وردپرس

 

نحوه تغییر آدرس ادمین وردپرس

نحوه تغییر آدرس ادمین وردپرس

2. Go to Lockdown WP panel and enable Hide WP admin feature, enter the desired login URL then:

نحوه تغییر آدرس ادمین وردپرس

3. Choose the authentication method below:

نحوه تغییر آدرس ادمین وردپرس

If you use one of the HTTP Auth options the plugin will let you also create a secondary WordPress admin details. The secondary password and username would have to be entered in, even if someone guessed your secret login URL. The following authentication pop-up window comes up:

نحوه تغییر آدرس ادمین وردپرس

WordPress Login Credentials: selecting this option will prompt you to your normal WordPress admin username and password, prior to gaining access to the actual WordPress admin login page.

Private Usernames/Passwords: if you use it, you can configure a new secondary login from the Lockdown WP > Private Users section.

Save the changes and log out your WordPress Admin console. You should see the new login URL you set, while /wp-admin or /wp-login.php will serve a 404 error page.

iThemes Security

1. Install and activate iThemes Security plugin:

نحوه تغییر آدرس ادمین وردپرس

نحوه تغییر آدرس ادمین وردپرس

نحوه تغییر آدرس ادمین وردپرس

2. Navigate to Security > Settings:

نحوه تغییر آدرس ادمین وردپرس

Choose All:

نحوه تغییر آدرس ادمین وردپرس

Locate Hide Backend block and hit Configure Settings:

نحوه تغییر آدرس ادمین وردپرس

3. Enable Hide Backend feature:

نحوه تغییر آدرس ادمین وردپرس

In the Login Slug field, enter your new login location.

Once your changes have been made, click Save All Changes.

Unfortunately, changing the login URL itself is not enough. Since the plugin also updates the Meta widget in WordPress with the new updated URL, it is needed to remove either the whole widget or just the Log in link:

نحوه تغییر آدرس ادمین وردپرس

Remove Meta Widget from WordPress

1. Log into your WordPress Admin console and go to Appearance > Widgets:

Remove Meta Widget from WordPress

2. Click on Meta widget, then hit Delete:

Remove Meta Widget from WordPress

Remove the Log in link

1. Log into your cPanel and use File Manager menu.

Navigate to your /wp-includes directory. Right-click on the general-template.php file, then click Edit:

Remove the Log in link

NOTE: make sure that you copy the general-template.php file before performing any changes. You can either download it to your local machine or copy/paste it to another directory within your cPanel.

2. Find the following line in the code:

$link = ‘<a href=”‘ . esc_url( wp_login_url($redirect) ) . ‘”>’ . __(‘Log in’) . ‘</a>’; 

Comment the line with two forward slashes //

3. Put the following code on the next line:

$link = ”; 

The final code should look like this:

function wp_loginout($redirect = ”, $echo = true) {

if ( ! is_user_logged_in() )
//$link = ‘<a href=”‘ . esc_url( wp_login_url($redirect) ) . ‘”>’ . __(‘Log in’) . ‘</a>’;
$link = ”;

else

4. Go to your site. You should now see that the login link is gone from the Meta widget:

That’s it!

ادامه مطلب

نحوه ریست کردن پسورد ادمین وردپرس

How to reset WordPress admin password

There are three ways to reset a lost WordPress dashboard password:

Using the Lost Password option
Using Softaculous Apps installer
In the database

Using the Lost Password option

1. Open your WordPress administrative login page – it is usually located in http://yourdomain.com/wp-admin.

2. Click on the Lost your password? option, fill out the username or email address > Get New Password:

 

Get New PasswordGet New Password

 

3. Log into your email account, which is set as your administrative WordPress contact. You can find the email message with the password reset URL there, click on it:

password reset URL

4. Enter your new strong password twice on the opened page > Reset password:

Reset password

Using Softaculous Apps installer

In order to change the password for your WordPress admin user, follow next steps:

1. Log into cPanel and navigate to Softaculous Apps Installer menu:

Using Softaculous Apps installer

2. In the Softaculous interface find All Installations icon in the top right corner:

Using Softaculous Apps installer

3. In this menu you will see Scripts Installations list. Select the one you need to change the admin password for and click on Edit Details (pencil icon) next to it:

Using Softaculous Apps installer

4. Next you will see installation details page. Scroll down to Admin Account section. Here you need to enter your current username and the new password in Admin Password field:

Using Softaculous Apps installer

5. Once done, scroll down to the bottom of the page and hit Save installation details button:

Save installation details

6. After that you will receive the message about the successful update:

 

Feel free to log in to WordPress admin panel using the new password.

Reset the password via the database

If Lost your password? confirmation emails do not arrive, or if you have no access to the email account linked to your administrative dashboard, you can reset your password via MySQL database:

1. Log into your cPanel > section Files File manager and navigate to the document root of your WordPress website:

Reset the password via the database

2. To check what database is used for your WordPress website, open the wp-config.php file located in:

Reset the password via the database

3. Go to cPanel > Databases section > phpMyAdmin:

phpMyAdmin

4. Select the database in question, table wp-users and click on Edit next to the admin user:

phpMyAdmin

5. On the next page, type in your new strong password into the user_pass box, select MD5 in the Function column and click Go:

phpMyAdmin

You can now go back to the WordPress dashboard page and try to log in with the new password.

That’s it!

ادامه مطلب

نحوه انتقال وردپرس از یک subfolder

How to move WordPress from a subfolder

This article will take you through the process of moving your WordPress website from the subfolderyourdomain.com/wp to the domain root – yourdomain.com:

for cPanel paper_lantern theme
for cPanel x3 theme

NOTE: Before proceeding with any changes, make sure that you generate a full backup of your website. If you’ve created your site using Softaculous script installer, feel free to refer to this guide as well (step #4 – Backup software).

for cPanel paper_lantern theme:
Re-installation
Redirection
File migration and Database update

Re-installation

If you just installed your website and have done no or little development, WordPress re-installation will be the easiest way out.

You just need to go back to cPanel > Exclusive for Namecheap Customers section > Softaculous Apps Installer menu:

نحوه انتقال وردپرس از یک subfolder

Create a new one, make sure the In Directory field is empty and proceed with the installation:

نحوه انتقال وردپرس از یک subfolder

Do not forget to uninstall /subfolder website by hitting the red cross in All Installations menu:

نحوه انتقال وردپرس از یک subfolder

Redirection

If the website is pretty much done and re-installation is not acceptable, you can set up a hidden redirect – the installation will remain in the subfolder, but your website homepage will be yourdomain.com.

Take into account that this redirect will make /subfolder disappear only on the homepage, links will still have it – e.g., yourdomain.com/subfolder/contactus.

If it sounds alright to you, add the following redirect to .htaccess file in the domain web root (replacing yourdomain.com with your actual domain name and subfolder with your subfolder):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !(/|\.[^/]*)$
RewriteRule (.*) http://www.yourdomain.com/$1/ [L,R=301]
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteRule ^(.*)$ /subfolder/$1 

1. Navigate to Files section > File Manager:

نحوه انتقال وردپرس از یک subfolder

2. Move to the root folder for your WordPress installation – public_html in case it is the main domain for your account.

Once there, make sure that Show Hidden files (dotfiles) option is enabled in Settings menu:

نحوه انتقال وردپرس از یک subfolder< br>
3. Locate .htaccess file, right-click > Edit:

نحوه انتقال وردپرس از یک subfolder

4. If there is no .htaccess file located in your File manager, feel free to create a new one using File option:

نحوه انتقال وردپرس از یک subfolder

You are ready to add the redirect rule and save it.

File migration and Database update

If the option above does not work for you, and you would like to make sure there is no /subfolder on your website, you can go this way.

NOTE: We highly recommend to back up website files and the database before proceeding.

1. File migration

Go to your website folder using FTP or File Manager:

نحوه انتقال وردپرس از یک subfolder

نحوه انتقال وردپرس از یک subfolder

Select All files > Move them to the domain document root (in our example, from public_html/wp_subfolderto public_html):

نحوه انتقال وردپرس از یک subfolder

نحوه انتقال وردپرس از یک subfolder

Once done, go back to the domain document root to make sure all files have been moved:

نحوه انتقال وردپرس از یک subfolder

2. Database update

You can update old URL references with the new ones in the database either using search and replace scripts or using text editors. Below we provide the guidelines using the latter:

1. To begin with, you will need to locate the database associated with your website. Right-click on the file > View or Edit option:

نحوه انتقال وردپرس از یک subfolder

You will see the database name in this line:

نحوه انتقال وردپرس از یک subfolder

3. The next steps is to download the backup of the database. It can be done in your cPanel > Files section > Backup menu:

نحوه انتقال وردپرس از یک subfolderنحوه انتقال وردپرس از یک subfolder

4. Unzip the downloaded file. Now you can open .sql file with some text editor and update all the URL references.

Hit Ctrl + F and select Replace option. Fill out the corresponding fields, Find – your old domain, Replace – your new domain) and hit Replace All:

نحوه انتقال وردپرس از یک subfolder

5. Once done, you should get the output like this:

نحوه انتقال وردپرس از یک subfolder

Make sure that you save the changes.

6. Now you can upload the updated database to your cPanel account. To be on the safe side, we suggest creating a new database (instead of dropping the existing one) and connect it to your WordPress side.

To do so, move to Databases section > MySQL Databases menu:

نحوه انتقال وردپرس از یک subfolder

7. Follow the steps below to create a new database and user for it:

نحوه انتقال وردپرس از یک subfolderنحوه انتقال وردپرس از یک subfolder
نحوه انتقال وردپرس از یک subfolder
نحوه انتقال وردپرس از یک subfolder
نحوه انتقال وردپرس از یک subfolder
Keep these details, you will need to use them a bit later.

8. After that you can upload the database using phpMyAdmin menu in Databases section:

نحوه انتقال وردپرس از یک subfolder

9. Select the newly created database from the list on the left and use switch to Import tab. There you will need to use Browse option to pick up the database .sql file from your local device:

نحوه انتقال وردپرس از یک subfolder

NOTE: If your database is more than 50Mb, import the database following the steps in this guide.

10. Once done, you will need to update wp-config.php file in your installation root folder:

نحوه انتقال وردپرس از یک subfolder

The fields to be changed are:

define ‘DB_NAME’ line – the name of the new database you’ve created in MySQL Databases menu.
define ‘DB_USER’ line – the name of the new user you you’ve created in MySQL Databases menu.
define ‘DB_PASSWORD’ line – the new password you’ve set for database user in MySQL Databases menu.

نحوه انتقال وردپرس از یک subfolder

Save the changes and feel free to check your website.

If everything is working fine, you may delete the old database you used for the website.

11. It is also advised to re-generate the permalinks to make sure they have the new URL. You can do it in your WordPress dashboard in Settings menu > Permalinks.

So if you had Post name, you need to switch it to Plain, for instance, save the changes and then revert everything back:

نحوه انتقال وردپرس از یک subfolder

for cPanel x3 theme:

Re-installation
Redirection
File migration and Database update

Re-installation

If you just installed your website and have done no or little development, WordPress re-installation will be the easiest way out.

You just need to go back to cPanel > Software/Services section > Softaculous > WordPress, make sure the In Directory field is empty and proceed with the installation.

Do not forget to uninstall the /wp website in Softaculous once done:

نحوه انتقال وردپرس از یک subfolder

Redirection

If the website is pretty much done and re-installation is not acceptable, you can set up a hidden redirect – the installation will remain in the /wp subfolder, but your website homepage will be yourdomain.com.

Take into account that this redirect will make /wp disappear only on the homepage, links will still have it – e.g., yourdomain.com/wp/contactus.

If it sounds alright to you, add the following redirect to the .htaccess file in the domain web root (replacing yourdomain.com with your actual domain name and wp with your subfolder)

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !(/|\.[^/]*)$
RewriteRule (.*) http://www.yourdomain.com/$1/ [L,R=301]
RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !^/wp/
RewriteRule ^(.*)$ /wp/$1 

File migration and Database update

If the variants above do not work for you, and you would like to make sure there is no /wp on your website, you can go with this option.

We highly recommend to back up website files and the database before proceeding.

1. File migration

Go to your website folder using FTP or File Manager:

نحوه انتقال وردپرس از یک subfolder

Select All files > Move them to the domain document root (in our example, from public_html/wp to public_html):

نحوه انتقال وردپرس از یک subfolder

نحوه انتقال وردپرس از یک subfolder

Once done, go back to the domain document root to make sure all files have been moved:

نحوه انتقال وردپرس از یک subfolder

2. Database update

You can update old URL references with the new ones in the database either using search and replace scripts or using text editors.

Below we provide the guidelines using the latter.

  • Check what database is used for your WordPress website. You can check it in the wp-config.php file located in the WordPress installation folder:

نحوه انتقال وردپرس از یک subfolder

  • Go to cPanel > Databases section > phpMyAdmin.

 

  • Select the database in question and click on Export > Go:

نحوه انتقال وردپرس از یک subfolder

  • The database will be downloaded to your computer. Now you need to open it and update all yourdomain.com/wp references with yourdomain.com.Once opened, click Ctrl+F and choose the tab Replace. Fill out the fields below correspondingly > Replace All:

نحوه انتقال وردپرس از یک subfolder

  • Once done, the prompt below will display the result:

نحوه انتقال وردپرس از یک subfolder

  • Save the updated database and exit the application.
  • Now go back to cPanel > Databases section > phpMyAdmin and select your database.
  • Check all tables using the option below and select Drop from the drop-down menu:

نحوه انتقال وردپرس از یک subfolder

  • On the next page, confirm the actions by clicking Yes:

نحوه انتقال وردپرس از یک subfolder

  • Once the old tables are dropped, go back and select the database > Import:نحوه انتقال وردپرس از یک subfolder

 

  • Choose the updated database from your computer files to upload > Go:نحوه انتقال وردپرس از یک subfolder
  • You will see a green status bar – this will indicate that the database has been successfully imported. On your right, a database tables tree will appear:

نحوه انتقال وردپرس از یک subfolder

Go back to your website and refresh the page to check the results:

نحوه انتقال وردپرس از یک subfolder

That’s it!

 

ادامه مطلب

نحوه نصب خودکار وردپرس از طریق cPanel

How to install WordPress using Softaculous

Once you order hosting service, you can start creating your own website. Using Softaculous automatic app installer you can install WordPress in a few clicks.

Below you can find step-by-step guidelines covering the process:

1. Log into your cPanel.
2. Navigate to Exclusive for Namecheap customers section > Softaculous Apps Installer menu:

نحوه نصب خودکار وردپرس از طریق cPanel

3. On the homepage, click on the WordPress icon:

نحوه نصب خودکار وردپرس از طریق cPanel

4. Switch to the Install tab to proceed:

نحوه نصب خودکار وردپرس از طریق cPanel

5. On the next page you will need to fill out the details of your WordPress installation.

  • Choose the domain you wish to install WordPress for
  • In the In Directory field you can specify the root folder for WordPress installation. By default, this field is empty, and it allows installing WordPress on yourdomain.com directly. If you wish to install it to a subfolder, like yourdomain.com/blog, simply type “blog” in this field.
  • Database Name can be left default.
  • Table Prefix can also be left default wp_; however, due to security reasons it is better to change it, e.g., to ncwpsite_ .
  • The Site Settings section should be filled out accordingly to your needs, though you can change it anytime later if required.

Make sure you set up secure and hard-to guess details in the Admin Account section:

نحوه نصب خودکار وردپرس از طریق cPanelنحوه نصب خودکار وردپرس از طریق cPanel
نحوه نصب خودکار وردپرس از طریق cPanel
6. When ready, scroll down and hit Install.
In a few moments you will see the message that WordPress has been successfully installed:

نحوه نصب خودکار وردپرس از طریق cPanel
You can now go ahead and log into your WordPress Dashboard to start working on your website.

For your convenience we have created a category dedicated to the most frequent WordPress-related questions – cPanel: WordPress

That’s it!

ادامه مطلب

دلیل عدم دسترسی به وبسایت و cPanel

?Why can’t I access my website and cPanel

Sometimes you find the website hosted with us inaccessible. More than that, you are not able to access cPanel and webmail. The links http://serverIP/cpanel and http://cpanel.domain.com are displaying an error message Server connection timed out. What is happening?

First of all, you should check whether your server is up. Please visit http://status.namecheap.com to see if there’re any known technical issues. If server is running normally, most likely, your external IP address was blocked by Firewall. 

Your browser will display such text when trying to connect to the server:

* The connection was reset. The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer’s network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Firewall is a set of devices designed to protect networks from unauthorized access while permitting legitimate communications to pass. Due to security reasons, we have installed Firewall on our servers, too.

Automatic firewall blocks are created for a certain external IP address from which unauthorized access attempts were noticed by the Firewall monitoring program. In case of 20 failed login attempts from your IP address, it gets temporarily blocked for 10 minutes. If more failed login attempts are detected during this period, the IP gets blocked permanently. If the server detects 15 failed login attempts from different IP addresses, this account will be temporarily locked for 5 minutes.

So, if you find yourself not being able to connect to the website, cPanel and webmail from a certain computer, most likely, you have triggered the Firewall rules. Please contact our Support and we will gladly unlock your IP. You can check your external IP address here .

What can be the reason of the IP being blocked and how to avoid it? 

  • Exceeding the number of failed cPanel login attempts
  • Failed POP3/IMAP/SMTP or Webmail login
  • Incorrect email client settings
  • Failed FTP/SSH login
  • Failed web page login
  • PortScan activity
  • Exceeding the number of failed cPanel login attempts

When you were not able to log into cPanel for the first time, please do not try to do it as many times as possible. Once you have used the incorrect login details 20 times in 300 seconds, the IP gets blocked. To avoid that, please check your login details in the Welcome Email Guide that was sent to the email account associated with the hosting package. Otherwise, feel free to ask for the cPanel password reset via ourSupport

NOTE: You can use Roboform and Lastpass web browser addons to keep your login details safe and secure without having to type and remember them.

  • Failed POP3/IMAP/SMTP or Webmail login

Apart from cPanel login protection, Firewall also prevents unauthorized access to mail service.

1. Block due to webmail failed login attempts

If you were having issues with logging into webmail and, as a result, both cPanel and webmail are no longer available, most likely you have triggered a similar IP block for email access.

2. Block due to failed POP3/IMAP login attempts

If you start receiving errors/pop-up windows related to IMAP/POP3 failed authentication in your email client, then it is possible that login credentials for the email account are outdated/incorrect. Unfortunately, in this case the email client will not stop trying to access the mail server which may in time result in a permanent IP block as well.

3. Block due to failed SMTP login attempts

This kind of block occurs when SMTP authentication data is not valid so you can’t send mail from the email client (you can still have correct settings for the incoming mail server and receive new emails without issues). Usual symptoms for such issue are the emails that do not leave the “Outbox” folder or errors/pop-up messages that notify about failed SMTP authentication. Make sure that SMTP login is your full email address, and the password is the same as for the incoming mail server.

If you still can’t log in with the old password, consider resetting it once your IP address is unlocked. You can do it in your cPanel account on the Email accounts page.

for cPanel paper_lantern theme:

دلیل عدم دسترسی به وبسایت و cPanel

for cPanel x3 theme:

دلیل عدم دسترسی به وبسایت و cPanel

  • Incorrect email client settings

The email client settings may also cause an IP block, so if you are struggling with an email client setup, it is better to delete the non-functioning email account from the email client and start from scratch later. You can find the correct settings here.

We will also be happy to assist you with its setup in LiveChat.

NOTE: Frequent POP3 queries to the server can cause high general server load. In order to avoid this, we have implemented the limit of 100 POP3 connections per hour from a single IP address for all shared users. Therefore, it is not recommended to set POP3 mail check interval to less than 5 minutes in order to avoid IP blocking. 

 

  • Failed FTP/SSH login

Make sure your FTP client is using correct login details and appropriate settings. You may check them here. Please make sure you use port 21 for FTP and 21098 for SFTP (SSH). Note that we enable SSH per a user’s request. Therefore, please contact us via Support with the request to enable SSH. The tips on how to connect via SSH can be found here .

  • Failed web page login

It occurs when there is an authentication form or a protected directory on the website. Please make sure you use correct login data.

  • PortScan activity

Port scan is an attack that sends requests of a client to a range of server port addresses on a host with the goal of finding an active port and exploiting a known vulnerability of that service. To avoid that, please make sure your clients are configured in a way not to permanently attempt to scan ports of a server. Reduce timeout intervals on all FTP and mail clients in your network. If there are many users in your network, and all of them are accessing the Internet from an external IP address, make sure they do not reconnect using FTP or mail clients frequently. Connection requests coming from one IP can trigger the firewall to block the IP. You can modify FileZilla’s max concurrent connections for every site you connect to in the following way:

1. Start up the FTP program FileZilla and go to Edit -> Settings
2. Under the left sidebar menu on the Settings window, you should see the Transfers option. Click on it.
3. Under Concurrent transfers, you have the label “Maximum simultaneous transfers:”, then a text box with a numeric value in it. Make sure that the number is 3 or less. It is recommended to keep this value at 1 if possible, because having multiple connections will slow down your uploads in the long run. If the value is more than 3, you may get blocked.
4. Hit the button labeled “OK” and exit FileZilla. Then, start it up again for the changes to take effect:

دلیل عدم دسترسی به وبسایت و cPanel
To change the maximum number of concurrent FTP connections on a per-site basis, you need to go to File -> Site Manager. Click on the saved website you wish to edit and click on the “Transfer Settings” tab. Change the value in the text box listed there to 3 or less, hit the button labeled “OK”, disconnect and restart FileZilla for the changes to take effect.

That’s it!

ادامه مطلب