Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide lists the versions of the Windows operating system that can be installed when ordering a VPS Cloud / VPS Lite.
Supported Windows Versions
When ordering your Server, you will be able to choose the version of Windows to install.
Windows Server
Possible variations with Windows Server 2025, 2022 or 2019:
- Windows Server Standard designed for low-density or non-virtualized environments
- Windows Server Datacenter ideal for datacenter-defined and highly virtualized environments
Note:
- As a Microsoft partner, Infomaniak provides VPS Cloud / VPS Lite Windows Server 2025, 2022 or 2019 containing a Microsoft Windows Server license. In case of activation failure, refer to this other guide.
- As a Microsoft partner, Infomaniak does not offer the possibility to use your own Windows Server license (or Bring Your Own License).
- If you use Microsoft software within Windows Server that requires a Mobility License, such as Microsoft SQL Server, Microsoft Sharepoint Server or Microsoft Exchange Server, you must submit the Software Assurance document via the Infomaniak contact form.
Windows 10 Professional Evaluation
Windows 10 Professionnel has all the features of Windows 10 Famille as well as professional features for encryption, remote connection, virtual machine creation, and much more.
Note:
- It will be necessary to activate Windows, Infomaniak provides only an evaluation version.
This guide explains how to change the boundaries MySQL
/ MariaDB
of a Cloud Server.
Preamble
MySQL
is installed on the Cloud Server Therefore, resources are dedicated and are not shared with other clients.- There is only one instance of
MySQL
by Cloud Server. - The number and size of databases are not restricted. Your only limit is your cloud server's storage space and resources.
- If necessary, MongoDB allows you to manage huge amounts of data without compromising the flexibility and performance of your sites/applications.
Configure MySQL / MariaDB on Cloud Server
Here is the list of variables MySQL
/ MariaDB
the value of which may be changed:
Name | Description | Value |
---|---|---|
bulk_insert_buffer_size | Buffer size for block insertion operations | 8M |
default_charset | ||
declare_explicit_defaults_for_timestamp | Option to explicitly declare default values for timestamp-type columns | "" |
declare_innodb_autoextend_increment | Increment for the self-extension of the InnoDB table space | "" |
declare_key_buffer | Size of key buffer for tables MyISAM | "" |
ft_max_word_len | Maximum word length for full-text search (Full-Text) | Indefinite |
ft_min_word_len | Minimum word length for full-text search (Full-Text) | 3 |
innodb_additional_mem_pool_size | Additional memory pool size for InnoDB | "" |
innodb_buffer_pool_size | Size of buffer pool InnoDB , which stores data and indexes | "" |
innodb_flush_log_at_trx_commit | Frequency of writing logs InnoDB on disk | "" |
innodb_large_prefix | Activation of the wide prefix extension InnoDB | |
innodb_lock_wait_timeout | Maximum waiting time for locks InnoDB | "" |
innodb_log_buffer_size | Size of log buffer InnoDB | "" |
innodb_log_file_size | Size of log files InnoDB | "" |
innodb_ft_min_token_size | Minimum size of token for full-text search (Full-Text) | Indefinite |
innodb_ft_max_token_size | Maximum size of token for full-text search (Full-Text) | Indefinite |
join_buffer_size | Joint buffer size for queries | 1M |
key_buffer_size | Size of key buffer for tables MyISAM | 4M |
lc_time_names | Parameter for time and date format | Indefinite |
local_infile | Enable or disable local file playback | 0 |
log_bin_enabled | Activation or deactivation of binary log records MySQL | True |
max_allowed_packet | Maximum size of network packages allowed | Indefinite |
max_connect_errors | Maximum number of connection errors before blocking | 10 |
max_connections | Maximum number of simultaneous connections | Indefinite |
max_heap_table_size | Maximum size of tables in memory | 8M |
max_user_connections | Maximum number of simultaneous connections per user | 38 |
myisam_max_sort_file_size | Maximum size of temporary file for sorting tables MyISAM | 2G |
myisam_sort_buffer_size | Size of the sorting buffer for tables MyISAM | 16M |
myisamrecover | Recovery options MyISAM | myisam-recover-options |
query_cache_enabled | Enable or disable query cache | |
query_cache_limit | Limit on the size of the results stored in the query cache | 256K |
query_cache_size | Total size of query cache | 64M |
query_cache_type | Query cache type | 0 |
read_buffer_size | Reading buffer size for queries | 2M |
read_rnd_buffer_size | Size of random reading buffer for queries | 2M |
seconds | ||
table_open_cache | Number of tables the server can keep open | 256 |
thread_cache_size | Size of threads cache | 1 |
thread_concurrency | Number of competing threads. By default, it is 0 (infinite) | 0 |
thread_stack | Battery size per thread | 256K |
timeouts | Timeouts (wait_timeout and interactive_timeout ) | 30 |
tmp_table_size | Maximum size of temporary tables in memory | 8M |
tmpdir | Temporary directory path for temporary files | "/home/nfs-clients/.mysql_tmp" |
These variables allow you to configure various aspects of MySQL/MariaDB behavior on a Cloud Server. Everything that is not defined is in principle at its default value.
Edit MySQL / MariaDB Limits
To configure HAProxy:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the nameallocated to the product concerned.
- Click on MySQL/MariaDBin the left side menu.
- Edit the required values.
This guide concerns ImageMagick, a powerful solution for image manipulation, which you can install on a Web Hosting Infomaniak.
For installation, the easiest way is to use Fast installer.
ImageMagick and alternatives
These image manipulation solutions are compatible with Web Hosting and Cloud Servers:
ImageMagick
: the main software suite for versatile image manipulation via the command linePerlMagick
: Perl interface to integrate ImageMagick functionalities into Perl scripts- Perl Module
Image::Magick
: Perl extension to access ImageMagick features without specifying the absolute path of the executable GD 2.x
: open-source graphics library offering similar functionalities to ImageMagick, often used in web development contextsGallery 2
: an online image gallery management platform compatible with ImageMagick
If necessary, the path for ImageMagick is standard since it is installed through the Debian repository:
/usr/bin
and for the Perl module Image::Magick
:
/usr/local/bin/convert
or without specifying the absolute path:
$ perl -e 'use Image::Magick';
All ImageMagick commands are under /usr/bin/
:
/usr/bin/animate
/usr/bin/compare
/usr/bin/composite
/usr/bin/conjure
/usr/bin/convert
/usr/bin/display
/usr/bin/identify
/usr/bin/import
/usr/bin/mogrify
/usr/bin/montage
/usr/bin/stream
This guide details "502 Bad Gateway" errors that can occur when visiting a website.
Introduction
- The 502 Bad Gateway error occurs when the server acting as a gateway between the browser and the origin web server receives an invalid response.
- This error can be caused by an overloaded web server, communication issues between a CDN and the hosting web server, or a misconfigured proxy server.
- Sometimes, the error may be caused by a bad entry in the DNS server.
Troubleshooting steps
To resolve the 502 Bad Gateway error, you often need to troubleshoot by elimination:
- Check if the server is not temporarily overloaded: simply reload the page after a few minutes for the error to disappear.
- Clear the browser cache.
- Try using another browser.
The user and the process "cloud base - ini
" are used within the VPS Cloud / VPS Lite infrastructure of Infomaniak (for example, when the instance is rebuilt). Learn more
This guide explains how to view file activity on the server of your hosting Infomaniak.
FTP activity logs
To find out about the activity of exchanges on your FTP space, contact Infomaniak support to request FTP logs by first authenticating with the credentials corresponding to the management of your web hosting.
Help reading logs: http://www.castaglia.org/proftpd/doc/xferlog.html
This guide explains how to modify your current Serveur Cloud offer.
Modification of resources and configuration
The base Cloud Server plan includes 5 hostings and 20 websites. To add an additional hosting or modify the server configuration to increase CPU / RAM:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click on the action menu ⋮ located to the right of the relevant item.
- Click on Modify the offer:
- Make the desired adjustments and complete the procedure.
To reduce the size of the entire Server Cloud disk space:
- Order a new server with the desired new storage (contact support to order the new server for free while you complete the steps below).
- Move the hosting from the old server to the new one.
- Cancel the old server.
Refer to this other guide to modify the disk space of a hosting.
Increase the process limit
On Linux, the number of processes that a user or system can create simultaneously is limited. These limits help prevent processes that are too fast from consuming excessive resources and affecting the overall stability of the system. Process limits are managed by the Linux kernel and can be viewed and modified using specific commands and configuration files. You can request to increase the limits by contacting support.
This guide details the use of Crontab (crons via SSH), available only on Serveur Cloud, by default (there is also a task scheduler for all hosting).
Prerequisites
- The script files called by the cron must be executable (CHMOD).
Absolute path
Cron tasks are not aware of the absolute path. Calling PHP without specifying the full paths to the executable therefore makes it impossible to execute the task.
It is necessary to specify
/opt/phpX.X/bin/php
by replacing X.X
with the desired PHP version (/opt/php7.1/bin/php
for example).
Other operations
List the crons for the SSH user in question:
crontab -l -u NomUtilisateurSSH
Edit the crons:
crontab -e -u NomUtilisateurSSH
To be notified by email of the result of your cron tasks (to be added at the beginning of the file):
MAILTO=e-mail@domain.xyz
Restore a backup
Infomaniak backs up crons for the last 7 days (once a day). In case of accidental deletion, contact Infomaniak support to request a restoration by specifying the time and date of the deletion.
This guide explains how to use PHP environment variables with Web Hosting that runs on php-fpm
.
Preamble
- PHP environment variables (
REDIRECT_
) are system variables used to store information about HTTP requests and redirects. - They are generally used on web servers to store details about previous requests or redirections that have been performed.
- The prefix "
REDIRECT_
" is often added to environment variables to indicate that they are related to specific redirections performed by the server. - These variables can contain information such as previous URLs, HTTP methods, or other data related to the client's navigation on the web server.
Using environment variables
To use PHP environment variables:
- Define the PHP environment variables in a
.htaccess
file:SetEnv EXAMPLEVARIABLE hello
- In your PHP file, the name of the variable to call must be prefixed with
REDIRECT_
:<?php getenv('REDIRECT_EXAMPLEVARIABLE');
In this example, the displayed result will be hello.
Going further with environment variables
It is possible to configure environment variables directly from the Manager for your entire website:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the concerned product:
- Click on Manage under Advanced settings:
- Click on the PHP / Apache tab.
- Click on the chevron to expand the Environment Variables section.
- Click on the icon Add.
- Enter the variable and its value.
- Click on the button to save:
This guide helps you find the public IP address of your device, which can be useful for certain support requests, among other things.
Display the public IP address on the connected device
Click here to obtain the public IP address of your device in IPv4
and IPv6
format.
Alternative methods
Visit ipinfo.io or ifconfig.me.
... on macOS
- From a terminal application (command line interface, CLI) on your device, run the command
curl ifconfig.me
and press enter. - The displayed address is the public IP address of the computer.
To automate the search for the public IP address, use commands or scripts that query services such as api.ipify.org
...