burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & Marketing icon chevron
    • Streaming icon chevron

      ksuiteCollaborative suite

      Discover the collaborative suite → Discover →
    • kSuite Professional email, sovereign cloud and AI for sustainable performance
    • kSuite The suite for secure communication, storage and sharing
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Mail Service Create your email addresses with your domain
    • kChat
      kChat Communicate live with your teams
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
    • kChat
      Chk Link reducer & QR code generator
      Find the web hosting solution you need
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with over 100 CMS
    • web hosting
      Wordpress Hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • Node.js Hosting Create a dynamic, interactive site with Node.js
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your site access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution

      Cloud services

    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • Cloud Server
      VPS Cloud Create a Windows / Linux server
    • Kubernetes service Deploy your containerised apps on a large scale.
    • VPS Lite
      VPS Lite Create a Windows/Linux server at a low cost
    • Database Service Manage your databases with a managed solution
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • Other services

    • llm api
      AI Services Boost your productivity with our sovereign AI
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      NAS Synology Rent a NAS in our secure data centers
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • Housing
      Housing Install your servers in our data centers
    • Auth Add a privacy-friendly login method to your apps
      Infomaniak Events, the independent local events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets
    • kdrive
      Access Control Control access to your events with ease
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live radio station online
    • streaming video
      Video-Streaming Create and broadcast live events and TV online
    • VOD and AOD
      VOD & AOD service Host and broadcast your recordings without limits
  • Resources
    documentation icon Documentation
    Guides & tutorials
    API documentation
    special offers icon Special offers
    Get started for free
    Student programme
    Become an affiliate
    partner program icon Partner programme
    Find a partner
    Become a partner
    Infomaniak Academy
    support icon Support & contact
    Contact Support
    Premium support - 24/7
    Contact our sales department
    Hiring an expert
    Migrate to Infomaniak
  • About us
    forest
    icon Ecological commitment
    We pollute. But we are taking action to reduce the footprint of our services and infrastructure
    Discover our commitment →
    icon About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    icon Security
    Data confidentiality
    Bug Bounty Programme
  • Get started for free
    Sign in
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • Get started for free
    Sign in
Price Price

Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base FAQ - Knowledge base Page 9/1
    20 FAQ(s) found
    Understanding MySQL / MariaDB connection durations

    This technical guide details the resource limits on Infomaniak's web hostings; it is essential to distinguish real time (clock) from processing time (processor) to understand the origin of script interruptions.

     

    1. MySQL connection time (I/O)

    Limit: 30 real seconds

    This limit corresponds to the absolute time elapsed "clock in hand". It concerns the communication between PHP and the database server (MySQL/MariaDB).

    As soon as a connection is opened, the database server allocates a maximum of 30 seconds to receive the request, execute it, and return the results. If this deadline is exceeded (often due to a poorly optimized SQL query), the MySQL server abruptly cuts the connection. This usually generates the error MySQL server has gone away.

     

    2. PHP processing time (CPU)

    Limit: 10 CPU seconds

    This limit concerns exclusively the computing power consumed by the web server to execute the PHP code.

    It is crucial to note that waiting time does not count. When PHP waits for a response from the database, it is paused and consumes almost no CPU time. Consequently, a script will be interrupted by the web server only if it performs intensive calculations (complex loops, cryptography, file processing) for more than 10 cumulative seconds.

     

    Interaction of the two limits

    To ensure the stability of the application, each operation must simultaneously respect these two distinct constraints:

    • The application has 30 seconds of total time to interact with the database (network latency + SQL execution).
    • The application has 10 seconds of pure computing time to process the received data.

    Example of valid operation: A script that waits 25 seconds for a complex response from MySQL (I/O) and then processes the result for 2 seconds (CPU) will work perfectly, as it has not exceeded either of the two individual quotas, even if the total time is 27 seconds.



    Updated 21.11.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Edit an existing Starter offer (basic web page)

    This guide explains how to convert a free Web Starter offer to a more comprehensive and enhanced paid offer, such as Shared Web Hosting or Web hosting on a Cloud Server.

     

    Preamble

    • By purchasing a domain name from Infomaniak, you get 1 free email address and a basic 10 MB web space.
    • In a few clicks, it is possible to upgrade this offer to benefit from an enhanced experience.

     

    Modify the Starter Offer - Basic Web Page

    To upgrade this free offer:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click on the action menu â‹® located to the right of the item concerned.
    3. Click on Modify the offer:
       
      sign
       
    4. Follow the wizard to choose the new type of hosting, pay to complete the offer change.


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Understanding the temporal specifics of servers

    This guide covers the synchronization of servers via the NTP (Network Time Protocol) and the configuration of the timezone on Infomaniak servers.

     

    Precise server synchronization via NTP

    All Infomaniak servers are synchronized via the NTP protocol. The company provides its own public-accessible stratum-1 NTP servers for flexible use.

    To integrate these servers into your settings, use the following entry: pool.ntp.infomaniak.ch.

    The default timezone configuration is in UTC. However, PHP functions are designed to accommodate different timezones based on specific needs.

    To adjust the timezone in your PHP scripts, use the function date_default_timezone_set('UTC').

     

    MySQL: temporal specifics

    Infomaniak's infrastructure supports features for working with temporal data accurately and efficiently, taking into account timezones, which is crucial for many modern applications:

    • MySQL uses a timezone database to store and manage timezone information.
    • The mysql.time_zone table contains timezone data, including time offset information, timezone names, etc.
    • The CONVERT_TZ function is used to convert a time from one timezone to another in MySQL with the following syntax: CONVERT_TZ(dt, from_tz, to_tz), where:
      • dt is the date/time to convert.
      • from_tz is the source timezone.
      • to_tz is the target timezone.
    • Example: CONVERT_TZ('2024-05-14 12:00:00', 'UTC', 'America/New_York') will convert 12:00:00 UTC to local time in New York.


    Updated 24.11.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Transfer data between servers (FXP)

    This guide explains how to securely and easily transfer files between Web Hosting and/or Cloud Server.

     

    Preamble

    • The FXP (File Exchange Protocolis a method for transferring files directly between two FTP servers without the data passing through the local client.
    • Using the FTP PORT and PASV commands, it allows for a connection to be established between the two servers for faster and more efficient file transfer, thus saving bandwidth.
    • However, this method may present security risks if the connections are not secured by FTPS, and it requires a more complex configuration compared to traditional FTP transfers.

     

    Transferring data between servers

    FXP is enabled by default on Serveurs Cloud and hébergements Web (excluding Starter).

    For example, you can use CrossFTP, a multi-platform software that allows you to perform FXP (as well as FTP, SFTP, WebDav, S3, OpenStack Swift).



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Change the password of a Web Application

    This guide explains how to change the WordPress management password or any other Web application (Joomla, Drupal, Typo3, PrestaShop, ownCloud, etc.) installed via Infomaniak tools included in the offersWeb hosting paid.

     

    Preamble

    • Some applications also allow a change of user password directly from their dedicated interface:
      • Example: WordPress (manage users, names, passwords, roles, etc.).

     

    Change the password of a Web app

    To change the password to the administration panel of your web application, perform the following actions:

    1. Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
    2. Click directly on the nameallocated to the product concerned:
    3. Click on the action menu â‹® located to the right of the relevant Web Application.
    4. Click on Parameters of the application:
    5. Click on Edit to the right of the Application:
    6. Under Password Enter the new password (for connection to the identifier indicated above):
    7. Click on the button Save at the bottom of the page.


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Understand the ICONS folder

    This guide explains why there is a folder /icons/ within the Web Hosting.

     

    /icons/ folder on your Web Hosting

    In some cases, a folder named /icons/ is present by default on your web hosting. This folder is generally accessible via HTTP, but is not visible in the FTP directory structure (www.domain.xyz/icons/).

    This directory /icons/ is often used to store specific icons or images used to display directory lists. These icons are generally used by web servers to visually represent the different types of files in directories when they are viewed through a browser.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Unblock IP addresses by whitelisting xmlrpc.php

    This guide explains how to add IP addresses to the whitelist of an Infomaniak website.

     

    Preamble

    • Allowing IP addresses on xmlrpc.php provides access to URLs that are blocked by default, as they are considered risky.
    • This type of blocking is effective on all recent servers.
    • Regarding WordPress, its XML-RPC feature is only available by default via Infomaniak services and JetPack for security reasons.

     

    Add IP addresses to the xmlrpc.php whitelist

    To access website management:

    1. Click here to access the management of your product on the Infomaniak Manager (need help?).
    2. Click directly on the name assigned to the product concerned:
    3. Click on Manage under Advanced settings:
    4. Click on the PHP / Apache tab.
    5. Complete the relevant line:
    6. Click the button at the bottom of the page to save.


    Updated 25.11.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Using ASP as a programming environment

    This guide provides precise information on the support for the ASP (Active Server Pages, aspx) development environment within the Infomaniak infrastructure.

     

    ASP support

    The Web hosting and Cloud Servers services are based on an Apache server architecture that does not natively support the Apache::ASP module.

    However, it is possible to install and configure this ASP environment on VPS Cloud Infomaniak.



    Updated 05.12.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Resolve a MySQL error (server has gone away)

    This guide helps resolve an error of type "Invalid query: MySQL server has gone away".

     

    Preamble

    • This type of error often originates from keeping a MySQL connection open without submitting requests for a period of time beyond which the connection is closed: http://dev.mysql.com/doc/refman/5.7/en/gone-away.html
    • The variables wait_timeout and interactive_timeout that control this disconnection are set to 30 seconds: http://dev.mysql.com/doc/refman/5.0/en/communication-errors.html

     

    Solutions

    To avoid the "MySQL server has gone away" error, here are several possible approaches:

    Verification and automatic reconnection

    Before executing a query, it is recommended to test if the MySQL connection is still active. If the connection has been closed, you can automatically re-establish it before proceeding with your query. Here is an example in PHP:

    if (!mysqli_ping($connexion)) {
    mysqli_close($connexion);
    $connexion = mysqli_connect($host, $user, $password, $database);
    }

    The function mysqli_ping() checks if the connection is still valid. If it is not, the script closes the connection and opens a new one.

    Regular "Ping" sending

    Another method is to run a script that regularly sends a "ping" to the database to keep the connection active. For example, you could create a scheduled task (cron job) that sends a light query, such as SELECT 1; at regular intervals.

    Adjusting MySQL parameters (Cloud Server)

    With a Cloud Server, you can increase the values of the variables wait_timeout and interactive_timeout from the MySQL menu of your server to extend the duration of the connection before it is closed.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Install WordPress MS (multisite) formerly WPMU

    This guide explains how to set up a WordPress network to manage multiple sites from a single WordPress installation, with URLs like site1.domain.xyz, site2.domain.xyz, or even domain1.com, domain2.com, etc.

     

     

    Make your life easier! If needed, local partners recommended by Infomaniak can handle these procedures. Launch a free tender. They take care of everything, freeing you from technical details.

     

    WordPress multisite installation

    To begin:

    1. Install WordPress via Infomaniak on your hosting space with a main domain name:
      • This first WordPress site must be reachable and function correctly:
    2. Log in via FTP.
    3. Edit the wp-config.php file of this first WordPress site concerned.
    4. Above the line "/* That's all, stop editing! Happy blogging. */" (#94) copy and paste the code define('WP_ALLOW_MULTISITE', true);:


       
    5. Save your changes.
    6. Then log in to the administration of your WordPress site.
    7. Temporarily disable all WordPress plugins:
    8. Go to the TOOLS menu to create a Network:
    9. Choose the method for creating your different WordPress sites (on subdomains)…
    10. Click on the installation button:
    11. Add the instructions displayed on the screen to the wp-config.php and .htaccess on the server.
    12. After reconnecting to your WordPress, you will get a new menu "My Sites" where you can add and manage your different sites on the same network:
    13. In the Manager, add an alias to your site in the form *.your-domain-here (the asterisk allows you to create a wildcard alias) with DNS update so that the correct CNAME is automatically added to the zone:
    14. Install or update your SSL certificates:
    15. When you create a new site within the network, by naming it for example home2 it will become accessible via home2.domain.xyz and so on:


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Perform a load test, vulnerability test, DoS test, etc.

    This guide is for you if you wish to perform vulnerability tests on your site/server hosted by Infomaniak.

     

    Allowed and restricted

    You are free to perform vulnerability tests (SQL injection, XSS, etc.), intrusion, or penetration testing (pentest) on your Infomaniak hosting only under the following conditions:

    • … between 9 AM and 5 PM CET
    • … from Monday to Friday
    • … with the minimum number of attack packets regardless of the software used (AppScan for example)
    • … without ever performing a single DoS or DDoS (Denial of Service) attack
    • … while respecting the Infomaniak Terms of Service, particularly the shared service framework

     

    Any abusive use may result in early termination by Infomaniak.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Resolve a 502 Bad Gateway error

    This guide details the '502 Bad Gateway' errors that can be obtained by visiting a website.

     

    Preamble

    • 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 web hosting server, or a misconfigured proxy server.
    • Sometimes, the error can be caused by a bad entry in the DNS server.

     

    Resolution paths

    To resolve the 502 Bad Gateway error, you often need to proceed by elimination:

    • Check if it is not a temporary server overload: simply reload the page after a few minutes for the error to disappear.
    • Clear the cache of the browser.
    • Try from another browser.


    Updated 24.11.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Resolve a CSV import issue in a MySQL table

    This guide explains how to resolve a problem with importing a .csv file into a MySQL table. The proposed alternative is to read the CSV file line by line with PHP and insert the data into the MySQL database.

     

    Disabled “LOAD DATA LOCAL INFILE” function

    The LOAD DATA LOCAL INFILE function allows importing a CSV file directly into a MySQL table. However, this feature is often exploited by attackers to gain unauthorized access to sites hosted on servers that accept it.

    To prevent any security risks and protect customer data, Infomaniak has disabled the LOAD DATA LOCAL INFILE function. Users who import their CSV files via phpMyAdmin (without checking the “CSV via LOAD DATA” option) are not affected.

    Here is an alternative method to import data in CSV format into a MySQL table. The example below shows how to properly handle errors when opening the CSV file and inserting the data into the database.

    This script uses mysqli to connect to the database and prepared statements to insert the data. This ensures better security, optimal compatibility with recent versions of PHP, and simple integration into your project, whether in an existing script or a new file located in the /web directory:

    $fileName = "data.csv";
    
    // Connect to MySQL database using mysqli
    $link = new mysqli("localhost", "username", "password", "database");
    
    // Check database connection
    if ($link->connect_error) {
       die("Connection failed: " . $link->connect_error);
    }
    
    // Open the CSV file for reading
    if (($handle = fopen($fileName, "r")) !== FALSE) {
    
       // Read each line of the CSV file
       while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) {
    
           // Prepare the SQL query dynamically
           $query = "INSERT INTO `test` VALUES (" . str_repeat('?,', count($data) - 1) . "?)";
           $stmt = $link->prepare($query);
    
           // Check if query preparation was successful
           if ($stmt === FALSE) {
               die("Query preparation failed: " . $link->error);
           }
    
           // Bind parameters (assuming all columns are strings)
           $types = str_repeat('s', count($data));
           $stmt->bind_param($types, ...$data);
    
           // Execute the query
           if (!$stmt->execute()) {
               die("Query execution failed: " . $stmt->error);
           }
    
           // Close the statement
           $stmt->close();
       }
    
       // Close the CSV file
       fclose($handle);
    
    } else {
       echo "Error: unable to open the file.\n";
       exit(1);
    }
    
    // Close the database connection
    $link->close();
    ?>

     

    Get help

    Unfortunately, it is not possible to precisely indicate where in the script these lines of code should be inserted.

    If this method causes issues (for example, when importing multiple CSV files simultaneously without an error message), it is possible that the table structure or field indexing is the cause. In this case, contact your webmaster for verification.

    Also, refer to the official PHP documentation regarding the fgetcsv() function.

    Make your life easier! If needed, local partners certified by Infomaniak can handle these procedures. Launch a free call for tenders — they take care of everything, freeing you from the technical aspects.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Manage a cache engine on WordPress or other application

    This guide concerns website optimization and more specifically the use of a cache engine on it.

     

    Introduction

    • When Infomaniak notices that your website consumes more resources than other sites on the same server, an analysis is conducted.
      • Often, it turns out that a simple modification of a request or a parameter would allow you to optimize your site and reduce the server load.
      • You will then be contacted by email with instructions to follow, which often include the installation or activation of a cache engine.
    • Resource consumption is not necessarily linked to the number of visitors.
      • A well-optimized, up-to-date site with a properly configured cache engine can handle tens of thousands of daily visitors, while a poorly optimized site can consume far too many resources with just a few visits per day.
    • A cache engine temporarily stores frequently used data to provide it more quickly upon new requests.
      • This significantly improves the site's speed and reduces the load on databases or web services.
      • To install a caching system on **Serveur Cloud** Infomaniak, refer to **this other guide**.

     

    Enable a cache engine...

     

    … on WordPress

    WordPress has many cache plugins. Here are the most popular and effective ones:

    • WP Super Cache (free, easy to set up)
    • W3 Total Cache (advanced, multiple options)
    • WP Rocket (paid, simple and performant interface)

    Activation procedure:

    1. Log in to your WordPress admin.
    2. Go to Plugins > Add New.
    3. Search for one of the mentioned plugins, install it, and then activate it.
    4. Configure the cache options according to your needs: page caching, CSS/JS file minification, gzip compression, etc.
    5. Test the performance with and without cache using tools like Google PageSpeed Insights or GTmetrix.

    To learn more, also check out:

    • https://news.infomaniak.com/6-moyens-techniques-pour-optimiser-un-site-wordpress/
    • https://news.infomaniak.com/memcached-w3totalcache/
    • https://www.seomix.fr/?s=cache

     

    ... on Joomla

    Log in to the Joomla administration and then follow these steps:

    1. Go to System > Global Configuration.
    2. Select the System tab.
    3. In the Cache section, enable the system cache.
    4. Choose the type of cache: Conservative (individual user cache) or Progressive (shared cache between users). Progressive caching is recommended for better performance.
    5. Set the cache validity duration in minutes (for example, 60 minutes for an active site or longer for a static site).
    6. Save the settings.
    7. To manually clear the cache, go to System > Manage cache and then delete the cache files.

    Joomla 5 features improved cache management and a modernized interface compared to version 4.x.

     

    ... on PrestaShop

    Log in to the PrestaShop administration then:

    1. Go to the menu Advanced Settings > Performance.
    2. In the Smarty section, enable the Cache option.
    3. In the CCC (Combine, Compress and Cache) section, enable all available options.
    4. In the Cache section, enable Use cache.
    5. Follow the instructions to install the recommended extensions or modules (e.g. Memcached, Redis) for additional optimization.
    6. Save your changes.

     

    ... on Magento

    Magento 1.x is obsolete. For Magento 2, proceed as follows:

    1. Log in to the Magento admin.
    2. Go to System > Cache Management.
    3. The cache is enabled by default. You can flush or refresh the cache from this interface.
    4. Make sure all recommended cache types (Configuration, Page Cache, Layouts, etc.) are enabled.
    5. For optimal performance, use additional solutions like Redis or Varnish if your hosting supports them.

     

    ... on Contao (version 4.x)

    Log in to the Contao back office then:

    1. Go to Modules > System > Configuration.
    2. In Cache mode, check the options Use system cache and Use browser cache.
    3. Save your changes.

     

    ... on Drupal (version 9.x)

    For Drupal 7.x (still in use but not recommended), proceed as follows:

    1. Log in to the Drupal administration.
    2. Go to Configuration > Performance.
    3. Check the box Cache pages for anonymous users.
    4. Save.

    For Drupal 9.x (recommended): caching is enabled by default and managed via internal modules. You can configure the cache in Configuration > Development > Performance. To further improve performance, use external systems such as Redis or Varnish if available.



    Updated 02.12.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Manage the default homepage pages taken into account

    This guide concerns the homepage names that can be used on your Web Hosting Infomaniak, and which will be prioritized when a visitor accesses your website via its domain name.

     

    Regarding Site Creator, refer to this other guide.

     

    Preamble

    • The default homepages on a web server are the first pages that display when a user accesses a website without specifying a particular file.
    • If you simply enter http://domain.xyz in your browser's address bar, the web server will look for a default home page to display, for example index.html, index.php, index.htm, or other similar variations.

     

    Homepage priority order

    Here are the default pages loaded in order of priority at Infomaniak:

    1. index.html
    2. index.htm
    3. home.html
    4. home.htm
    5. default.html
    6. default.htm
    7. index.cgi
    8. index.php
    9. index.php5
    10. index.php4
    11. index.php3
    12. default.php
    13. home.php
    14. welcome.php

    In summary:

    • If you have 2 pages at the root of your hosting, thanks to the ranking above, you will notice that index.php is recognized as a priority over welcome.php.
    • It can also be deduced that if you only have welcome.php as a page in the root folder, it will be loaded and function as the homepage.
    • If you have a page accueil.html, it will not work because this name is not on the list.
    • When you type www.domaine.xyz into the browser, only index.php will automatically display (and to display welcome.php you will need to type the exact page name www.domaine.xyz/welcome.php).

     

    Customize the default homepage

    To set a different default home page, add DirectoryIndex followed by the appropriate pages in the .htaccess file:

    DirectoryIndex accueil.html index.php index.html

    This means that the web server will first look for a file named accueil.html. If it does not find accueil.php, it will look for index.php, then index.html.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Resolve a "no privilege" error

    To avoid the “Create a database: no privilege” error, it is imperative to go through the Manager Infomaniak and not through phpMyAdmin to add a new database.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Check if a site has a caching system

    This guide explains how to obtain information about the presence of a cache system on a site using the curl command.

     

    Preamble

    • In the world of programming and system administration, it is often necessary to determine if a website uses a caching system to improve its performance.
    • Caching systems like Fastly are commonly used to temporarily store data to serve it faster to users.
    • By following these steps, you will be able to determine if a website uses a caching system to improve its performance and understand the operation and optimization of websites.

     

    Using the curl command

    curl is a command-line tool for transferring data using URLs.

    The option -svo /dev/null is used to perform a silent request (-s), display detailed information about the request (-v) and redirect the output data to /dev/null to ignore it (/dev/null is a special device on Unix/Linux systems that acts like a trash can). -H "Fastly-Debug: true" is an HTTP header added to the request to request Fastly-specific debugging information.

     

    Run the command

    Run the following command from a Terminal type application (command-line interface, CLI / Command Line Interface) on your device:

    curl -svo /dev/null [url] -H “Fastly-Debug: true”

    and replace [url] with the address of the website you want to check.

    If the site uses Fastly or another similar caching system, you will see specific debugging information in the command output. The details provided may include information about HTTP requests and responses, as well as information about the cache and performance.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Solve a URL redirection/rewriting issue

    This guide explains how to enable the MultiViews option via a .htaccess file on sites hosted by Infomaniak.

     

    Preamble

    • In some cases, the MultiViews option must be enabled to handle redirection and URL rewriting issues. Example:
      • If the configuration folder and the configuration.php file are located at the root of your site and you try to access the address mon-site.com/configuration to reach the configuration.php file, the MultiViews option must be enabled.

     

    Enable the MultiViews option

    To do this:

    1. Open or create the .htaccess file located at the root of the relevant site.
    2. Add the following directive:

      Options +MultiViews
    3. Save the changes.


    Updated 05.12.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Install ImageMagick and alternatives

    This guide concerns ImageMagick, a powerful solution for image manipulation, which you can install on an Infomaniak Web Hosting.

     

    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:

    1. ImageMagick: the main software suite for versatile image manipulation via the command line
    2. PerlMagick: Perl interface to integrate ImageMagick functionalities into Perl scripts
    3. Perl Module Image::Magick: Perl extension to access ImageMagick functionalities without specifying the absolute path of the executable
    4. GD 2.x: open-source graphics library offering functionalities similar to ImageMagick, often used in web development contexts
    5. Gallery 2: image gallery management platform compatible with ImageMagick for online presentation

     

    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


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Using Crontab on Cloud Server

    This guide details the use of Crontab (crons via SSH), available only on Managed Cloud Server, by default (there is also a task scheduler for all hosting).

     

    Prerequisites

    • The script files called by the cron must be executable (CHMOD).

     

    Full path

    Cron tasks do not know the absolute path. Calling PHP without specifying the full paths to the executable makes it impossible to execute the task.

    You must 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 of the SSH user in question:

      crontab -l -u NomUtilisateurSSH
    • Edit the crons:

      crontab -e -u NomUtilisateurSSH
    • 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 the crons of the last 7 days (once a day). In case of accidental deletion, contact Infomaniak support to request a restoration specifying the time and date of the deletion.



    Updated 14.11.2025 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display more results If you cannot find an answer, contact us
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse WHOIS Public Cloud status Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes Infomaniak Academy

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2025 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Products and offers Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse WHOIS Public Cloud status Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes Infomaniak Academy

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    bcorp-logo
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2025 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map - Manage your cookies

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.