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 Tools 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
    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 17/1
    10 FAQ(s) found
    Modify an existing Starter (basic Web page) offer

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

     

    Preamble

    • By purchasing a domain name from Infomaniak, you get 1 free email address as well as a basic Web space of 10 MB.
    • In just a few clicks, it is possible to upgrade these offers to enjoy 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 relevant item.
    3. Click on Modify the offer:
       
      sign
       
    4. Follow the assistant to select 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.
    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.
    Understand the temporal specifics of servers

    This guide concerns 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 set to UTC. However, PHP functions are designed to accommodate different timezones according to specific needs.

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

     

    MySQL: time specifics

    Infomaniak's infrastructure supports features for working with time data precisely and efficiently, taking into account time zones, which is crucial for many modern applications:

    • MySQL uses a time zone database to store and manage time zone information.
    • The table mysql.time_zone contains time zone data, including information about time offsets, time zone names, etc.
    • The function CONVERT_TZ 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 the time 12:00:00 UTC to local time in New York.


    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.



    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 IPs via whitelist xmlrpc.php

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

     

    Preamble

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

     

    Add IP addresses to the xmlrpc.php whitelist

    To access the 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 relevant product:
    3. Click on Manage under Advanced Settings:
    4. Click on the PHP / Apache tab.
    5. Complete the relevant line:
    6. Click the button to save.


    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 occurs when a MySQL connection is kept open without submitting queries 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:

    Automatic verification and 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 re-establish it automatically 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.

    Sending regular "Pings

    Another method involves running 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.
    Perform load tests, vulnerability tests, DoS tests, 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)
    • … never performing a single DoS or DDoS (Denial of Service) attack
    • … by respecting the TOS of Infomaniak, particularly the shared services 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.
    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:


    Updated 19.06.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.
    Solve a CSV import issue into a MySQL table

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

     

    "load data local infile" function disabled

    The function LOAD DATA LOCAL INFILE allows you to import a CSV file into a MySQL table and is unfortunately now frequently used by hackers to gain access to certain sites hosted on machines that accept this function.

    To combat malicious acts and continue to protect clients' data as much as possible, Infomaniak has disabled the LOAD DATA LOCAL INFILE function. This change does not affect users importing their CSV files (provided they do not check "CSV via LOAD DATA") via phpMyAdmin.

    Here is an alternative to continue importing CSV formatted data into a MySQL table, a complete example (in French) of the code with proper error handling for opening the CSV file and inserting the data into the database.

    This version uses mysqli to connect to the database and prepared statements to insert the data, thus offering better security and compatibility with recent versions of PHP and ease of implementation in your PHP script or simply in a new PHP file in your /web directory:

    $NomDuFichier = "data.csv";
    // Connexion à la base de données MySQL avec mysqli
    $link = new mysqli("localhost", "username", "password", "database");
    // Vérification de la connexion
    if ($link->connect_error) {
       die("Échec de la connexion : " . $link->connect_error);
    }
    // Ouverture du fichier CSV en lecture
    if (($handle = fopen($NomDuFichier, "r")) !== FALSE) {
       // Décomposition de chaque ligne du fichier CSV
       while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) {
           // Préparation de la requête SQL
           $query = "INSERT INTO `test` VALUES (" . str_repeat('?,', count($data) - 1) . "?)";
           $stmt = $link->prepare($query);
           // Vérification de la préparation de la requête
           if ($stmt === FALSE) {
               die("Échec de la préparation de la requête : " . $link->error);
           }
           // Liaison des paramètres
           $types = str_repeat('s', count($data));  // Assume que toutes les colonnes sont de type string
           $stmt->bind_param($types, ...$data);
           // Exécution de la requête
           if (!$stmt->execute()) {
               die("Échec de l'exécution de la requête : " . $stmt->error);
           }
           // Fermeture de la déclaration
           $stmt->close();
       }
       // Fermeture du fichier CSV
       fclose($handle);
    } else {
       echo "Erreur : impossible d'ouvrir le fichier.
    ";
       exit(1);
    }
    // Fermeture de la connexion à la base de données
    $link->close();
    ?>

     

    Getting help

    Unfortunately, it is impossible to precisely indicate where these lines of code should be added in your script.

    If the proposed alternative causes issues when you submit multiple CSV files to read and the procedure, for example, ends without returning a message despite the error handling points in the PHP file, it is possible that the tables and fields used are not properly indexed. In this case, also contact your webmaster.

    Refer to the PHP documentation regarding fgetcsv.

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



    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.
    Automatically check the links for Web Hosting and Domain (DNS diagnostic)

    This guide presents the DNS Diagnostic tool, which allows you to check that the relationships between…

    • DOMAIN NAME at Infomaniak

      and
       
    • WEB HOSTING at Infomaniak

    … are correct, so that Web traffic goes to the right place.

     

    Introduction

    • To check, the tool verifies the A, CNAME records, etc.
    • You will thus be able to detect and correct certain web issues, especially if they are related to DNS (technical information that, broadly speaking, determines where such and such web traffic should be directed) by acting at the level of your domain.
    • Automatic correction is only possible when the domain name is present in the same Organization as the product to which it must be attached.
      • If this is not the case, then the correction will need to be done manually.

     

    Diagnose a DNS issue

    To access the DNS diagnostic for your domain name:

    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 in question.
    3. Click on Web in the left sidebar.
    4. Click on DNS Diagnostic in the left sidebar:
      • If DNS issues are detected, a red display on the table indicates this:
        1. Correct each error individually by clicking on the action menu ⋮ located to the right of the concerned element…
        2. … or all errors at once…
        3. … or, if necessary and you are sure, ignore these warnings.

    Refer to this other guide regarding the same automatic verification process but for Mail Services.



    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 Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    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 Statuts Public Cloud Service status

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    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.