Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

How to adjust the basic parameters of my hosting in a Cloud

The steps to follow to adjust the basic parameters of a Hosting service that belongs to a Cloud are the following:

  1. Type in the SW Panel search engine the name of the service in which you want to modify the basic parameters and click on it. enter image description here

  2. In the Dashboard of the hosting service, click on the icon settings of the basic parameters of the service, among the icons of specific functions and configuration of the Hosting. enter image description here

  3. You will then be able to modify the Nginx Web Server settings and other advanced settings corresponding to the version of the PHP programming engine for your website.

3.1. In the basic Nginx settings, you will find the following settings:

expires ---> Indicates the amount of time that the static data (jpg/cms/doc/pdf,...) of your website will be kept in the browser's cache.

limit_req ---> It establishes the shared memory zone ("zone" parameter) and the maximum size of the requests ("burst" parameter) that arrive at the Hosting service.

limit_req_zone ---> Parameters are defined for a shared memory zone. The zone saves the number of excessive requests. The "rate" variable sets the number of requests that Nginx can handle per second. By default, this is 150 requests per second.

proxy_cache_path ---> Indicates where the cache file is located and other parameters about it. The value of "max_size" defines the maximum size of the cache in bytes.

Once you have defined the values ​​you want, you must click on "Save settings", to confirm the changes.

enter image description here

3.2. In the basic settings of your Hosting service, you can modify settings on the configuration of the PHP programming engine used by the web. To change these parameters, you must click on "Advanced Settings" y "Edit".

enter image description here

Next, you will have access to different PHP variables and values that can influence the behavior of your website.

It should be noted that, in this file, there is the value of pm.max_children, which indicates the maximum number of simultaneous requests that will be served by PHP for each of the connections of the different users connected to your website . By default, this parameter is assigned the number 10, which indicates that each connection of the same user with your website can create a maximum of 10 simultaneous requests to deliver content through the PHP engine of that website.

Once you have configured the value you want to modify among the different advanced settings, you must check the validation box to overwrite the existing configuration file and, finally, save the changes.

enter image description here

It is important to note that there is a modification historys, where are all the configurations that have been saved from the PHP configuration engine. To access it, you must be located in the advanced settings of the basic parameters of the Hosting service and click on Show Modification History, on the right of the PHP file.

enter image description here

You will see that all the different configurations that have been modified on the file are shown. If you hover over the three dots [...], to the right of one of the settings, you will see the following options:

enter image description here

In the first option, "See configuration file", you will be able to review the PHP file, without being able to modify it.

enter image description here

In the second option, "Restore this configuration", you will be able to restore the configuration you are selecting.

enter image description here

To restore it, you just have to write the random word that is requested to confirm the restoration of the configuration file and, finally, click on "Yes, restore now".

enter image description here

In the third and last option, "Comments on configuration", you can add comments on each of the configurations you have. These comments can be very useful if they are used as reminders, since they will not affect the PHP file.

enter image description here

Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.