Category Archive Knowledgebase

How to use File Manager in cPanel

How to use File Manager in cPanel

 

In this guideline, you will find detailed instructions how to manage (add, delete, view, modify) files from your cPanel account using File Manager.

 

How to access File Manager

 

1. Log into your cPanel account and navigate to Files section >> File Manager menu:
For cPanel Basic Theme:

For cPanel Retro Theme:
For quick access to the File Manager, use our cPanel Shortcuts.

2. You will be taken /home/user directory by default. Feel free change the default directory in Settings menu:

Here you can also enable Show Hidden Files (dotfiles) option. In this way system files, like .htaccess, will be displayed in File Manager as well:

The public_html folder is the web root for your primary domain name. This means that public_html is the folder where you put all website files which you want to appear when someone types your main domain (the one you provided when you signed up for hosting).

If you wish to upload files for your addon domain, you will need to move to home/user/youraddondomain.com directory. This directory is created automatically on adding an addon domain to the cPanel account.

3. The interface of File Manager is divided into 4 sections:

     #1 The file manager toolbar
     #2 The file window
     #3 The navigation toolbar
     #4 Current location window

In the first section, you can find a toolbar with all the basic functions for managing files like create a new folder, delete a file, upload/download and much more.

The second is the file listing section, it displays the content of the selected directory. If no files or folders are created, the following message will be displayed in the file window This directory is an empty message.

The navigation toolbar section allows navigating between folders in the file window.

The location section shows the directory you are currently located in.

4. To Upload a file:

  • Go to File Manager
  • Navigate to the folder you wish to upload the file(s) to
  • Click on Upload icon
  • Click Select File and locate the file on your local machine
  • Select the file and click on Open/Choose
  • Or simply drag and drop the needed file from your local machine to the upload window

5. To Copy/Move a file:

  • Go to File Manager
  • Select the file(s) you wish to copy/move (to select multiple files, hold the Ctrl+Command button)
  • After the needed items are selected, hit Copy or Move icon
  • Or right-click on the selected file(s) and choose Copy or Move option from the drop-down menu
  • Once done, the confirmation window with the final destination will pop-up

6. To create a new file:

  • Go to File Manager
  • Navigate to the folder where you wish to create a file
  • Click on +File icon – a new pop up box will appear to enter the name of the file you wish to be created
  • Click the Create New File

7. To Delete a file:

  • Go File Manager
  • Navigate to the folder where the file(s) you wish to delete is located
  • Select the file(s) and hit Delete icon
  • Or right-click on the file and use Delete option from the drop-down menu
  • Once done, the confirmation window will pop-up
  • The deleted files are moved to the system .trash folder. If you wish to remove the file(s) permanently, check-mark Skip the trash and permanently delete the files option

NOTE: The files will be stored in the trash folder for 90 days. After that, they will be removed from the server automatically.

8. To Restore a file:

  • Go to File Manager
  • Navigate to .trash folder in /home/user/ directory
  • Select the needed file(s) and hit Restore icon
  • Or right-click on the file and use Restore option from the drop-down menu
  • Once done, the confirmation window will pop-up

9. To Edit a file:

 

  • Go File Manager
  • Select the file you wish to edit and hit one of Edit icons
  • Or right-click on the file and use Edit/HTML Editor from the drop-down menu
  • Choose one of the three following editors from the pop-up menu:

Edit: this editor will edit a document as code and give line numbers down the side of the editor. You can highlight your code with color by using the syntax drop-down menu and selecting the code you are working with

HTML Editor: this editor will edit a document as an HTML document. In this editor, you can also switch between design view (as a text document), source view (through the html code itself), or a preview mode (view the page through the web) by selecting the appropriate tab in the bottom left of the editor

10. To Compress a file

It is useful to store a group of files in one file for an easy backup or for a transfer to another directory as well as compress large files. Compressed files take up less disk space and are downloaded faster via the Internet. The data can be compressed into a single *.zip, *.Gz, or *.Bz2 archive.

  • Go to File Manager
  • Select the files/directories you wish to compress and hit Compress icon
  • Define Compression Type and enter the name of the archive
  • Once done, hit Compress File(s)

11. To Extract a file

  • Go to File Manager
  • Select the file you wish to uncompress
  • Hit Extract icon
  • Or right-click on the file and use Extract option
  • Define the path you wish to extract the file to
  • Once done, hit Extract File(s)

12. To change Permissions for a file:

 

  • Go File Manager
  • Select the file/folder you wish to change permissions for and hit Permissions icon
  • Or  right-click on the file/folder and use Change Permissions option from the drop-down menu
  • Set the needed value and hit Change Permissions

More information on how to change file/folder permissions can be found here.

That’s it!

How to set up rules and redirects in .htaccess

How to set up rules and redirects in .htaccess

.htaccess is a directory-level configuration file supported by the Apache web server. It is used to alter web server configuration (enable or disable additional features) for the specific account without changing global server settings.

The .htaccess file takes effect over the entire directory it is placed in, including all files and subdirectories. The changes made in this file will be implemented immediately and no server restart is required.

How to locate .htaccess file
List of commonly used .htaccess rules:

Disabling existing .htaccess rules

To access the main .htaccess file of your hosting account, follow the steps below:

1. Log into your cPanel.
2. Navigate to the section Files >> File Manager:

3. If you wish to edit .htaccess file for your main domain, navigate to public_html folder. If you need to make some changes to the addon domain, move to public_html/youraddondomain.com folder.

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

4. Locate .htaccess file, right-click >> Edit:

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

You are ready to add your own configuration rules and save them.

The common usage rules of an .htaccess file are listed below:

Authorization/authentication – specifies security restrictions for a directory/subdirectory.
You can password-protect a directory, or several of them, and any time a visitor tries to access it, username and password will be required.

To set up such protection, you need to:

1. Create the directory you want to protect in /home/cpanel_user/.htpasswds/ folder (e.g., for public_html/test the path will be .htpasswds/public_html/test/).

2. Create a passwd file in this directory and add hashed access details using this online generator.

3. Add the following directives to .htaccess:

AuthType Basic
AuthName "Directory Name"
AuthUserFile "/home/cpanel_user/.htpasswds/public_html/test/passwd"
require valid-user

Blocking – blocks users by IP address or domain. It is very useful to block unwanted visitors or to allow accessing certain sections of the website by its owner, administration area, for example.
To set up certain blocking rules, create an .htaccess file with the following text:

  • to allow access to everybody else and block users with an X.X.X.X IP address
<RequireAll>
Require all granted
Require not ip X.X.X.X
</RequireAll>

 

  • to block all the visitors except for the specific X.X.X.X and Y.Y.Y.Y IPs
<RequireAll>
Require ip X.X.X.X Y.Y.Y.Y
</RequireAll>

 

NOTE: Do not mix the deprecated AllowDeny, and Order directives with the new Require directive.
 
Custom Error Pages – allows creating custom error pages for a site. This option is very useful as it allows you to show website visitors an error message matching your website theme if a URL on your website does not work. This helps to avoid the default ‘404 File Not Found’ error for example and allows you to display a customly designed error with the guiding directions back into your website content, rather than leaving puzzled.

To set up a custom error document, create an .htaccess file with the following text below:

ErrorDocument 404 /404.html

Whenever a 404 (File Not Found) error appears, this line tells the Apache Web server to load an 404.html file located in the directory root of the domain you set the error page for.

NOTE: To set up a document for other errors (403, 500, etc.), just replace 404 with the corresponding error code and /404.html with the path to the error file.

Mod_Rewrite – specifies how web pages and URLs are displayed to the visitors.

We would like to draw your attention to the usage of Mod_Rewrite rules in .htaccess file.

By default, Mod_Rewrite maps a URL to a filesystem path. However, it can also be used to redirect one URL to another URL.

Before creating a redirect, you should choose the redirection type which would be more preferable for you:

  • Permanent redirect has a status code of 301, and unlike the temporary one, it is cached in the browser memory. It implies that the page has been moved and requests all search engines and user agent coming to the page to update the URL in their database. This is the most common type of redirect.
  • Temporary redirect means that the page is sending status code 302 to the browser. Code 302 tells the browser not to cache this redirect into its saved data. It will redirect the visitor or search engine, but the search engine will continue to index to the original page. This is the recommended type of redirect, unless you are absolutely sure that you will never change it in the future.

The list of the most common and useful redirects, which can be set through the .htaccess file, can be found below (the domains specified in the examples should be replaced with your own ones):

Permanent redirect from example.com to domain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^(.*)$ "http\:\/\/domain\.com/$1" [R=301,L]

Temporary redirect from example.com to domain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^(.*)$ "http\:\/\/domain\.com\/" [R=302,L]

NOTE: Below are the examples of permanent redirects. Temporary one can be defined by replacing [R=301,L] with [R=302,L] in the end of the code (where necessary).

Redirect from example.com/subfolder to domain.com

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$
RewriteRule ^subfolder$ "http\:\/\/domain\.com\/" [R=301,L]

 

Redirect from HTTP to HTTPS for example.com
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule .* https://example.com/%{REQUEST_URI} [R,L]

or

RewriteCond %{SERVER_PORT} 80      
RewriteCond %{HTTP_HOST} ^example\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$ 
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]

Redirect from non-WWW to WWW

  • for any domain .htaccess takes effect on:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

 

  • for a certain domain, example.com:
RewriteEngine On     
RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]

 

Redirect from WWW to non-WWW
 
  • for any domain .htaccess takes effect on:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

 

  • for a certain domain, example.com:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule (.*) http://example.com/$1 [R=301,L]
Redirect all example.com pages to the corresponding domain.com pages
 
RedirectMatch 301 ^/(.*)$ http://domain.com/$1
NOTE: All the pages’ names have to match on both domains or the redirect will lead to a “Page not Found” message on the target website.
Redirect one page to a new URL

Redirect 301 /old_page.html http://www.domain.com/new_page.html

NOTE: This might be useful when you want to redirect a deleted page to a 404 error or for SEO purposes after the content references updates.

Changes the directory root for the main domain to public_html/subfolder

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /subfolder/$1
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteRule ^(/)?$ subfolder/index.php [L]

NOTE: The .htaccess file should be located in the directory root of the domain you wish to configure certain rules for.

Disabling existing .htaccess rules

If you need to disable some of the existing rules, for example, for testing purposes, you can simply comment them out. In order to do so, add the pound sign # at the beginning of each line of the rule.
Also, it is possible to disable the line or even the block of lines by selecting ones and using the Ctrl + / shortcut.

That’s it!

WordPress hosting features

WordPress hosting features

WordPress hosting features

WordPress hosting features

The question these days for all users and webmasters who want to start their own website and online business is, what are the features of the best WordPress hosting? What should we pay attention to when buying WordPress hosting? To what extent can WordPress hosting meet our needs? What should we pay attention to in order to buy the right host? And from these questions that I am sure have come to you and you are looking for a suitable and comprehensive content to review the items needed to buy WordPress hosting and choose a company that can meet all the needs of your WordPress website. In this article, I intend to discuss the requirements for buying the right WordPress host based on my experience and conversation with friends who work in the field of WordPress, so stay with us until the end so that we can work together to reach a suitable host choice.

What are the features of the best hosting for WordPress?

As you know, WordPress is known as the best site builder (CMS) content management platform in the world and the number of websites using WordPress, among worldwide speakers, indicates the popularity of WordPress among webmasters, which is why in the future. We comprehensively review and introduce the best websites that use WordPress. This website builder and content management system, due to the existence of millions of templates and plugins, both for free and commercially, is necessary to provide a suitable platform for their proper functioning. Well, in other words, if you use a plugin that has requirements such as cURL, swap enabled on the host, etc. If the web host and WordPress host you are using does not provide you with such capabilities, it will not be useful for you. Now the cost of buying the plugin is set aside, so if you find yourself in this situation, your hosting company may charge a fee to enable this feature, which you will eventually either have to pay or change the hosting of your website, which will still cost you money.

If we want to give various examples for choosing a host for WordPress, such cases have happened to many people, including you and me, one of the most obvious of which is the bandwidth of the website, which when buying hosts with advertising slogans such as high-traffic host You will finally encounter it, but after less than a month, you will find that you woke up on a good day with a lot of energy and as soon as you had a delicious breakfast, you went to the website to continue your daily activities, but you came across a page that you did not expect to see. You did not face it, you guessed right, your bandwidth is over and your host is suspended. So you can see how much a wrong choice in the field of WordPress hosting can cause problems for you, if you have not bought hosting until the end to be with an open and clear view to a suitable WordPress hosting that from Select the important features to be at the highest level of quantity and quality.

Speed, power and reliability are the most important and main factors and features of suitable WordPress hosting. In fact, we need these items to make our website in a suitable platform in terms of speed, security and reliability in terms of user privacy and reach their data as well as our own data.

Still, there is a much, much more important factor than that, so that you can make the right choice of the right WordPress host, and that is nothing but “your needs in choosing the right WordPress host”; It may come as a bit of a surprise, but in every subject and category, it’s our needs that are prioritized according to the circumstances, because it’s your needs and circumstances that can make up for the total cost of buying WordPress hosting. Do not save you.

On the other hand, if we come and put aside the economic view of our needs and conditions in choosing the right WordPress hosting, we can also examine it in terms of reliability and trust in our hosting. Perhaps some of your closest friends are those who work in the field of suitable WordPress hosting, but with the knowledge that you have of them do not value important issues such as privacy, user data protection, etc. so practically choosing such hosting even if it is called WordPress free hosting, you can not take any risks and raise the site that we are going to spend all the time and money to develop in such hosting.

So always be careful in choosing the right host to achieve normal conditions based on the needs that are determined by you, but then I want to review the things that are generally available to choose the right WordPress host so that we can finally Choose a suitable host with your help.

WordPress Hosting Prerequisites

Before we want to do a full review of suitable WordPress hosts, we need to see what kind of servers and interpreters the WordPress content management system needs in order to be able to use it. For example, if we come and buy a Windows host to install WordPress on it, it is not certainly usable, because Windows hosts are not used for scripts made with PHP programming language, but with a series of complex tasks you can do this. Use work that is not recommended to do at all, so let’s see what WordPress needs to run and process the huge amount of information that is going to be stored and added to the database day by day.

  • Use PHP version 5.2 and above
  • Mysql database version 5.0 or higher or MariaDB database version 10 or higher
  • Apache Linux server, Nginx
  • And…

So with these types of requirements, we see that almost all web hosting provides us with such capabilities to install and run WordPress on them. Now, with these additions, we will discuss the types of requirements that you can use to reach a correct choice of suitable WordPress hosting and see what are the features of the best WordPress hosting to use WordPress?

1- Operating system and control panel

Hosting is suitable for WordPress that has a suitable control panel and operating system so that you can easily manage your website in a suitable application environment. As you know, today there are different types of control panels such as Plesk, cPanel, DirectAdmin, Koloxo and 2 such control panels, each of which we are comfortable with according to our needs. Meanwhile, two control panels, cPanel and DirectAdmin, are more popular among users, each of which can meet the needs of a certain group of website administrators. cPanel has a graphical environment and a more user-friendly appearance, which has attracted a large number of users, and most users have made the use of this content control a priority, in contrast, DirectAdmin has a weaker appearance than cPanel, and It is not suitable for users who pay special attention to graphics and user-friendliness, but professional users do not need it and work with DirectAdmin because it will cost less for them, which is one of the main differences. cPanel and DirectAdmin.

2- Hosting space

One of the reasons that you are driven to WordPress hosting is that due to the increase in site data and the limited amount of this WordPress hosting you have to use download sites to which you pay a subscription fee.

The good news is that hosting companies have recently configured a suitable space that is suitable for WordPress in every way. Of course, there can be other reasons besides this example in the use of shared hosts. For example, when your shared hosting is no longer able to meet your needs and respond, you have to use a dedicated server for this, which causes you to pay a lot of costs to pay for the license, server configuration and monthly server fees. Come and use the hosting that is properly configured for WordPress, it will be much more convenient and you no longer need to spend a lot of money on server maintenance and management, as well as hiring someone who is constantly managing the server and updating.

3- Bandwidth and traffic

As mentioned in the WordPress introduction article, this content management site was initially just a CMS for managing a blog, but as time went on and work on this script became more flexible and now using WordPress You can create any type of site you want to launch using WordPress. But in the meantime, specialized education, news and entertainment sites that have a lot of traffic use WordPress more that traffic and bandwidth consumption in such sites is very important so that they can choose a host at their own expense that has the ability to respond to this amount. Visiting can be the least expensive for them. On the other hand, using a variety of templates and plugins, each of which has a task and a certain amount of cpu and bandwidth to process site information, so if the pages that have high processing can consume a lot of bandwidth.

4- Backing up and supporting the site

Now, despite the high volume of site space and high traffic in bandwidth consumption, the biggest problem that all websites are struggling with is the issue of backing up the site and having a backup to avoid possible problems that may occur in the future. The following are some of the most common problems:

  • Hacking and infiltrating the site
  • Programming error
  • Delete host data
  • Inadvertent loss of information
  • And…

Such problems themselves are a strong reason to prove that a good WordPress host needs to have a backup of the site to solve these problems so that we can fix it in the shortest possible time so that the most up-to-date data is in our site backup file. . Therefore, with this account, the shorter the period of backup and backup of the site data in the host, and the shorter the time intervals, it can be said that such hosting is more suitable in terms of backup. So be careful what kind of hosting you choose for your WordPress site. Your host should be at the highest possible level in terms of backup by the site host to make the latest and most up-to-date backup of the site in the event of a problem, the only solution before you is to restore the backup to fix the problem.

5- Information security

The first word for anything and in any field is the security of information and the users being in a suitable security layer, and if the host we use has a poor performance against any kind of attack, it will cause irreparable damage to our site. As you know, being online and the so-called open way for search engines that are constantly looking for useful and relevant articles and content is very important for any website, so this is why it is said that the site It should always be online and have a high uptime percentage, so when the issue of user security is questioned with attacks and the site is out of reach, this issue will cause damage to your site to compensate for this damage and be in the current state of search engines. You have to spend a lot of time and money. On the other hand, sites that do not have proper search engine security will be penalized and given negative scores, so when buying a host, contact their customers and ask them very kindly and respectfully to find the items needed for You describe the body and how much such hosting has worked on the security of the websites and provided the necessary time and money for the sites it hosts to be at the highest level of security.

6- Providing high processing power and resources

One of the most common things that can happen to you in WordPress is the use of inappropriate plugins that cause the use of processing resources to reach the highest possible level from time to time due to lack of proper programming to the extent that another site is not able to process information. You may encounter errors such as errors connecting to the WordPress database, or not displaying some site data. Therefore, this point is also involved in choosing the right WordPress host, and you should choose hosts that have higher power from the processing resources that include ram and cpu. To know this, it is enough to refer to the website of the website host to check the specifications of the server used and see if it is used with this amount of site volume, bandwidth, operating system and control panel and whether such a server meets your needs in The best conditions are available or not!

Today, the use of high-speed SSD technology allows servers to have high speed and processing power so that they can send data through a browser to site visitors in the shortest possible time. On the other hand, by updating the interpreters that are being done day by day, and now that php has been released in version 7 and above, if the proper platform for changing the php version is provided for your website, you will be able to upgrade it to a higher level. Have a fast site and the comparison chart below shows this.

As you can see in the picture, in this chart, between the two versions 3.6 and 4.1 of WordPress, which use two versions of php 7 and php 5.6, we will have more than double the speed of our website, if the WordPress version is up and running, all Plugins that are compatible with php 7, this amount is almost double, which is really useful and will have a good effect on increasing the processing speed and loading of data on our site.

7- Appropriate hosting costs

The main need in any service sector is the cost we pay for it. This need is also felt for WordPress hosting, and users who want to buy hosting choose the cost that can be most effective for them based on the facilities provided by the hosting company. As you have seen in social media forums and groups, when users want to change their site hosting, they name a few hosting companies that prioritize them based on economic needs and ask other friends to do so. The list provided is which hosts are suitable for them at this cost and can provide them with more options.

8- High uptime

First we need to get acquainted with the word aptime, aptime means the stability and availability of a server during 365 days of a year and a numerical indicator to measure the brightness of a server during this period, which is a number in percentage It turns out that this measurement is very important for search engines to see how up-to-date your site has been or has been out of crawlers’ reach during this time. The higher the uptime of the hosting you use, and the less time it takes for search engines to access your site during this period, the better hosting you have in WordPress. So the optimal uptime for a host, as it is said, is 99%, which means that based on a year, it takes about 3.6 days when a server is down or is not available to the search engine for any reason, so you should try to choose the host. Make it have a very high uptime. Accordingly, all hosts use control panels such as Sipanel and Direct Admin to access the hosting they provide to their customers and use WHMCS as a CRM and customer management. On top of that, there are no customers and hosted sites, especially security and hacking problems!

The important thing in terms of uptime is that the server you use your host to always postpone server updates to hours when the site can have less traffic to avoid problems that are more related to SEO and site optimization. In my own experience, my web host did this during the day when the site could get the most traffic, and unfortunately that led me to go to other hosting sites to do this during the middle of the night when my site got the least traffic. It is happening.

9- Customer support and services

Well, after we bought our WordPress host, we will surely encounter small and big problems during the time of using it, which requires the support of the hosts to guide us in solving those problems. Before selling and providing services, the focus is on providing support, and customer support should be valued. There may be a problem with your WordPress site that there is no solution that you can do in the shortest possible time to solve your problem and the only solution to the problem can be solved with a backup and fix your problem, here is Customer service comes in handy, and if your web hosting is regular and secure from all the hosted sites, a backup that can provide it in the shortest possible time will come in handy, and you can solve your problem by sending a simple ticket.

When and how to respond to support: But this is not the end of the story, the main part of the story occurs just when you send a ticket for your support and request, now if the hosting company can check your ticket at the best possible time Restore the backup to fix the problem. It should be said that your site is very lucky to have such a web host, but if the ticket you send, wait for hours for it to be reviewed and only with a positive answer to fix the problem. Face it, time is wasted because search engines came in several times during this time to check for site updates but did not receive any new data to index the same negative score in a short period of time. You will lose a lot. So for WordPress, try to choose a web host that customer service and support is one of the main pillars and slogans of the business and in no way try to provide support and guidance by spending money to solve your problem.

Access to hosting features: Another thing that suitable WordPress hosts can provide us is the ability to access hosting features has been purchased so that it is not necessary for everything to have a feature by sending a ticket to support the request for activation. For example, one of the problems that WordPress sites face is that there are attacks on the site to disrupt the site, now these attacks can be due to personal hostility or a specific purpose that intends to abuse your site. In any case, it will have a negative impact on your website, so we need to use firewalls and things that will prevent these problems to prevent any abuse. Therefore, the host is suitable for us to provide access to the necessary facilities for us to be able to manage and use those facilities when necessary, and to directly activate and deactivate such facilities in our host.

10- Number of sites hosted on the server

In shared hosting services, because several websites are hosted on one server, when one website visits and consumes resources at a higher level than others and is out of the normal mode, it causes your site to be overshadowed by this issue. And as data speeds and processing slow down, it is sometimes seen that there are hosts that configured the server in a non-standard way, which can cause some sites to crash on other sites. To solve this problem, there are two ways to host.

1- Provide resources to each website in a processed way: The first way is to host the site and configure the server in such a way that the resources are processed and distributed correctly between the websites, so in this case any website that uses less resources The rest of the resources can be provided to a website with higher usage and solve the problem, but this solution is not very interesting, because it may happen that several websites take up all the resources of the server at once and go to sites with low consumption. Also have a negative impact.

2- Reducing the number of hosted sites: This solution is better and more efficient than the previous solution and will meet our needs 100%. In this case, if, for example, a server is allocated for 10 websites and in contrast another server with more than 100 websites has the same specifications, with a simple test in terms of speed and information processing, it is clear that a server with 10 hosted sites is better. A server with multiple hosted sites will meet the needs of all sites, even if the 10 hosted websites are at the highest level of traffic and space occupied on the server. It is interesting to know that a very limited number of sites are hosted on the servers of WordPress and WooCommerce hosts. Such a move, in addition to excellent resource management, will lead to server privacy and better efficiency.

11- Transferring site information

This can not be considered as a main criterion for a suitable WordPress host, but if you see website hosting offers free services such as free information transfer, free installation of content management systems, SEO and website optimization in terms of increase Speed ​​by using solutions such as server cache and…, be sure to welcome it and use such hosting. But never forget that other things have been done well. Because when there is no proper uptime, security, space and bandwidth, providing such services for free is not only useless to you, but also practically useless. And the other point is to prioritize the desired hosting in such a way that the highest priority is to use the host that has provided you with a money back guarantee for a period of 7 days, so that during this 7 days the purchased host is fully evaluated and Evaluate and be in the highest possible category in terms of loading and increasing the speed of the site.

WordPress is a very popular and advanced content management system, this content management system needs a fully optimized and suitable host for WordPress in order to provide the best feedback to site administrators and compatibility with all advanced templates and plugins available on the Internet. .

 

What are the features of the best hosting for WordPress?

What are the features of the best hosting for WordPress?

What are the features of the best hosting for WordPress?

What are the features of the best hosting for WordPress?

If you are planning to launch a website, you must be wondering what is the best hosting for WordPress? Or what exactly is WordPress host and what are its features ?! Join us in this article to get the right answer to your questions.

Choosing the right host makes it easy for you to think about the security, speed and efficiency of your website. Because the host protects all the information on your website. Therefore, it plays a very important role in preserving the documents and files of your website. If you are not yet familiar with the concept of hosting or WordPress, it is better to refer to the previous articles on the site first.

What is WordPress Hosting?

WordPress hosting is not a different and special server. In fact, WordPress hosting is a Linux shared hosting that was prepared to run WordPress. For example, in these hosts, you can install the WordPress content management system with just a few clicks. Or update the WordPress kernel automatically. There are also enough resources to run WordPress activities.

As you know, WordPress is based on the php programming language. The best type of server for executing php code is Linux hosting. Therefore, WordPress can be run on any Linux host and there is no need to provide WordPress-specific hosting. But the features that WordPress hosts have make users more inclined towards these types of hosts.

Suitable features for WordPress

In general, a good WordPress host should have the following 3 features:

  • MySql Database
  • PHP language version 5.2 and above
  • Linux server

All hosts based on these features are suitable for running WordPress. But the resources of each host are determined by your purpose and the status of your website! In the following, we will introduce some issues that you should pay attention to in order to buy a suitable WordPress host.

Choosing the right WordPress host

What are the features of the best hosting for WordPress?

To choose the best host for WordPress, the following points should be considered:

1- Operating system

The php‌ language runs on both Linux and Windows operating systems. But a higher speed and lower cost Linux operating system is a better option for this language. Since many content management systems, including WordPress, are built in php, the Linux operating system is a good choice for hosting WordPress.

2- Control panel

In general, the type of control panel has no effect on website hosting. Just choosing the right control panel will make your job easier to manage. Two control panels, cPanel and DirectAdmin, are considered to be the best control panels for Linux hosts. cPanel is more popular because of its better graphical environment.

3- Required resources

To choose the best host for WordPress, you should pay attention to the amount of resources that are provided to your website:

  • Hosting space: In providing a suitable host, make sure that the amount of space provided to you is sufficient for your site resources. This amount depends on the topic and the amount of information you have.
  • Bandwidth: Depending on the amount of traffic to your website, you need to choose the right bandwidth. If the bandwidth is not enough, your site will be out of reach of users.
  • System processing power: The host server must have a suitable CPU and Ram to run your site without any defects. Sometimes due to the use of code or non-standard plugins, the consumption of these resources may increase. At this time, if there are not enough resources, the website will be out of reach.

How to change PHP version and update PHP extensions on Shared servers

How to change PHP version and update PHP extensions on Shared servers

In some cases, the correct functioning of your website depends on a PHP version installed on the server.
This guide describes how to change php version on Shared servers (Stellar, Stellar Plus plans and old Value, Professional, Ultimate plans). For Business SSD servers, use this guide.

Thanks to the PHP Selector function, it is possible to select the necessary PHP version as well as enable/disable certain PHP modules and functions.

To check what PHP version is currently in use, refer to this article.

Change PHP version and/or manage extensions

1. Log into your cPanel account.
2. Scroll down to the Select PHP Version:
For cPanel Basic Theme:
How to change PHP version and update PHP extensions on Shared servers

How to change PHP version and update PHP extensions on Shared servers

For cPanel Retro Theme:

How to change PHP version and update PHP extensions on Shared servers

3. Here you will see the list of available modules and extensions.

If you do not need to change the PHP version and just want to turn on/off specific extensions, you can do this by checking/unchecking the corresponding boxes.

Use the PHP Version drop-down box to select the required version, click on Set as current in order to apply the changes.

NOTE: The ‘native’ PHP version does not allow changing any options. You can set the desired values using a php.ini file:

How to change PHP version and update PHP extensions on Shared servers

4. To change individual settings within the PHP version in question, click on Switch to PHP Options.

By clicking on one of the options in grey, you will be presented with a drop-down list to change specific settings. Hit Apply to implement the settings:

How to change PHP version and update PHP extensions on Shared servers

NOTE 1: It is recommended to update your website scripts and use PHP 5.6. If the latest software you run for your websites is not yet compiled for PHP 5.6, please contact the script vendor for a compatibility patch.

NOTE 2: If you used a php.ini file for editing your account PHP configuration before, you will need to replicate the custom values using PHP Selector tool.

NOTE 3: In order to increase the max upload size, make sure to modify both post_max_size and upload_max_filesize values.

NOTE 4: max_execution_time can be increased up to 300 seconds.

Change PHP version for addon domain

Sometimes your website may need to use a different PHP version from the one assigned to your domain on your cPanel account.

To set a different PHP version for an addon domain, you need to add a special code to your .htaccess file. To do this, follow the steps below.

1. Find the .htaccess file for the addon domain in question. The steps for how to find it can be located here.

2. Add the following line to your .htaccess file:

<FilesMatch ".(?:html|php)$">
SetHandler application/x-lsphpXX
</FilesMatch>

where XX is the PHP version you wish to set. It can be 52, 53, 54, 55, 56, 70, 71,72, or 73.

For example:

How to change PHP version and update PHP extensions on Shared servers

3. Click “Save changes”.

NOTE: When a different PHP version is set for the addon domain, there are no PHP extensions enabled by default. To make a website work correctly, you will need to upload a php.ini file to the folder of the addon domain. You can check this article (see point 6) to help you with uploading files to the hosting account.You can download the php.ini file for different PHP versions from the Attachments section at the end of this guide. Do not forget to rename the file to php.ini once it is uploaded to the hosting account.

Alternatively, you can run the command below via SSH:

cp /opt/alt/default_php_ini/phpXX.ini /home/cPanel_username/path_to_the_folder/php.ini
  • XX is PHP version you wish to set (it can be 52, 53, 54, 55, 56, 70, 71, 72 or 73),
  • cPanel_username should be replaced with your actual cPanel username, and
  • path_to_the_folder is a path to the folder of the addon domain.

For example:

How to change PHP version and update PHP extensions on Shared servers

You can find details on how to access a hosting account via SSH here.

The process is similar if you wish to set a different PHP version for a subdomain.

What server is my account hosted on?

What server is my account hosted on?

When setting up different FTP, mail, MySQL programs, etc., you need to specify the server hostname. You can check what server your account is hosted on in different ways.

1. Log into cPanel by typing into a browser http://yourdomain.tld/cpanel:

Also, you can use the cPanel login button in the Namecheap Dashboard.
You will be redirected to the cPanel login page with the hostname in the link:

In this example, the hostname is server126.web-hosting.com

2. You can look up the hostname in Hosting Welcome Guide >> Hosting package details section:

NOTE: Alternatively, to set up an application, you can use your account IP address as a hostname.

That’s it!

Access Definition

Access Definition

Access is simply being able to get to what you need. Data access is being able to get to (usually having permission to use) particular data on a computer. Web access means having a connection to the World Wide Web through an access provider or an online service provider such as America Online.

For data access, access is usually specified as read-only access and read/write access.

What is a Dedicated Server?

What is a Dedicated Server?

What is a Dedicated Server?

What is a dedicated server? Glad you asked! This page outlines what a dedicated server is, and explains the benefits of dedicated server hosting over shared hosting.

Dedicated server hosting refers to a type of web hosting plan where you are allocated a whole server to yourself. Therefore, a “dedicated server” refers to the “dedicated” server that you rent (or purchase) in order to host your website (or websites).

Dedicated server hosting can give you more control over your website. It can also help to ensure that other customers’ websites don’t impact on your website. Using dedicated servers is much more expensive than shared hosting, but if your site receives lots of traffic or you have other requirements (such as extra security requirements), dedicated server hosting could be for you.

With dedicated server hosting, you are able to log in to your dedicated server just as you would log in to your own computer. Once logged in, you can install and configure software as you wish.

Dedicated Server with Managed Hosting

Some dedicated server hosting plans are fully managed, meaning that your web hosting company performs regular administration duties, such as initial server setup, patching, anti-virus, security scanning, monitoring, and more.

Other dedicated server plans are self managed – you are responsible for the server setup, patching, anti-virus, etc

As you might expect, fully managed plans can be much more expensive than a self-hosted option. However, unless you have the time and inclination to look after your server 24/7, you might be better off looking for some sort of managed hosting plan.

Some dedicated server hosting plans are managed by default, others are self managed with an optional “service plan”, meaning, you pay extra for your web host to manage your server. Some of these self managed plans have various “add ons” that you can pick and choose. For example, you could add on a backup plan, a server maintenance plan, a security scanning service, etc. With these options, your web hosting company will perform these duties as outlined on a regular basis (for example, weekly or monthly) or perhaps on a one-off basis as required by yourself.

Example of Dedicated Server Hosting

To get a better idea of what’s included with dedicated server hosting, check out these dedicated servers at our partner site, ZappyHost.

What is a Dedicated Server – Another Definition

The term “dedicated server” can also mean a single computer within a network that is reserved for a specific purpose. For example, within a network, you could have a computer dedicated to printer resources, another computer dedicated to Internet connections, another computer serving as a firewall, etc. These computers would all be dedicated servers, as the whole computer is allocated for a specific task within the network.

What is a Virtual Dedicated Server?

A virtual dedicated server is a variation on the dedicated server concept. Instead of hiring the whole physical server, you hire a virtual server.

A virtual dedicated server is also referred to as a virtual private server (VPS). To learn more about VPS hosting, see What is VPS Hosting?.

What is Dedicated Hosting?

What is Dedicated Hosting?

What is Dedicated Hosting?

Dedicated hosting is a hosting configuration in which a server is devoted to a single organisation or for a single purpose, such as a website. This is in contrast to shared hosting, in which a server acts as a host to multiple clients. A dedicated hosting service is sometimes referred to as a dedicated server and can be set up in-house or externally as a service from within a data center. Let’s have a look at some of the benefits.
Customisation – Dedicated hosting grants a certain freedom and control that other hosting solutions are unable to provide. The fact that the server is dedicated to one client and there are no cohabitants means that the server (and overall hosting solution) can be tailored to the specific needs of that client. This ensures that they can select and pay for the features that they require.
Uptime – In a world where convenience is everything and consumers aren’t used to waiting, it is vital to ensure that a website, for example, is functional at all times; site downtime could lead to customers moving on to competitors. Dedicated hosting allows for high performance and stability to ensure that websites and other business functions are operational virtually 100% of the time (usually upwards of 99.4%). To this end, providers should offer server monitoring and back-up facilities alongside support services (described below) to keep functions running as seamlessly as possible.
Congestion – Server congestion is much less of an issue with a dedicated server, especially when compared to shared hosting options. With the latter, you often run the risk of congestion due to the traffic and usage levels of other websites or applications hosted on the same server, competing for bandwidth, disk space and CPU usage. The very nature of dedicated hosting ensures that this isn’t an issue. It also works the other way; if the website in question is resource heavy then dedicated hosting may be the answer to ensure that other websites aren’t disrupted.
Security – Clients using a dedicated platform will be able to deploy security measures, such as anti-virus and firewall configurations, that are more tailored to their own functions; whilst also avoiding the security vulnerabilities that can otherwise be introduced by the activities of neighbouring clients on shared hosting platforms. In addition, dedicated servers located within data centers can benefit from the physical security measures that such facilities often put in place, including, for example, biometric authentication, security guards and mantraps.
Support – Some dedicated hosting services come with a certain level of support. This is important as a high percentage of dedicated hosting customers use the service to host mission critical or important computing functions or websites. Effective support ensures that site disruption is kept to a minimum. A fully managed hosting provider, for example, may offer support 24 hours per day, 365 days a year.
Details of support levels, as well as information regarding reliability statistics can usually be found in the service level agreement (SLA). These documents can often provide an insight into the quality of a particular service and should be consulted carefully when going through the process of choosing a provider.
If opting for a dedicated service that does not come with any support, it is important to ensure the presence of the necessary knowledge to manage and maintain a server effectively.

What is SNMP and How it Works

What is SNMP and How it Works

What is SNMP and How it Works

If you’re a new network professional in the IT world, the term SNMP has likely come up a time or two. SNMP stands for “Simple Network Management Protocol.” It is an application layer protocol included in the Internet protocol suite, a set of the most commonly used communications protocols online.

SNMP originated in the 1980s at the time when organizational networks were growing in both size and complexity. Today, it is one of the most widely accepted protocols for network monitoring. Here’s a quick summary of what SNMP does, how it works, and why it matters to network professionals.

What does SNMP do?

All day, traffic is ebbing and flowing across your network as users conduct transfers, browse, perform downloads, and more. SNMP talks to your network to find out information related to this network device activity: for example, bytes, packets, and errors transmitted and received on a router, connection speed between devices, or the number of hits a web server receives.

SNMP works by sending messages, called protocol data units (PDUs), to devices within your network that “speak” SNMP. These messages are called SNMP Get-Requests. Using these requests, network administrators can track virtually any data values they specify. All of the information SNMP tracks can be provided to a product that asks for it. That product can either display or store the data, depending on an administrator’s preferences.

The Architecture of SNMP

In order to effectively monitor network activity, SNMP relies on an architecture consisting of the following:

  • Managed devices: From printers and workstations to resources like routers and switches, there are many devices within an organization’s network that have to be managed and monitored. Managed devices can be configured with SNMP nodes that allow them to interface with other network components.
  • Agent: Overall SNMP management relies on a system of local device information being collected and transmitted. This happens via agents, programs that are tied to local devices with the purpose of collecting, storing, and signaling the presence of data from these environments.
  • Network management station: This is the base that is shared between agents and SNMP managers, and it provides the memory and processing functionality to fuel network management.

Together, these components gather information to bring back to the network requester.

The Power of SNMP

Collecting this data can help IT professionals keep their finger on the pulse of all their managed devices and applications. Every device within the network can be queried in real time with SNMP, TCP, and other types of probes for their performance metrics. When thresholds for certain values are exceeded, software can alert system administrators of the issue, allowing them to drill in to the data and troubleshoot a solution.

For organizations’ IT departments looking to harness the power of SNMP, it’s imperative to have network monitoring software that is up for the task. Intermapper uses SNMP probes to query network devices for their management information base (MIB) variables. As a leading network monitoring software choice, Intermapper has 100s of built-in network probes to give you a wide variety of data about your network performance. Users also have the ability to create their own custom probes. The ability to create custom probes enables SNMP-speaking devices to deliver device status updates in a way that enhances the overall quality of network monitoring and management.