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 11/1
    20 FAQ(s) found
    Using GIT and GitHub with Web Hosting

    This guide details the creation of a GIT repository on your Web Hosting as well as on your Infomaniak Cloud Server.

     

    Preamble

    • GIT and GITHub are available by default on the two aforementioned supports.
    • For additional help contact a partner or launch a free call for tenders — also discover the role of the host.

     

    Creation of the GIT repository

    Setup on the server:

    • the GIT repository is on /git_depot
    • the site is located in the folder /web/[project] (on your FTP server)

    Commands to enter:

    cd
    mkdir git_depot
    cd git_depot/
    git init --bare [projet].git
    cd [projet].git
    git update-server-info

     

    Sending the local repository to the server

    To do on the local machine:

    git init
    git remote add origin ssh://user@[xxxxx].ftp.infomaniak.com:/home/clients/[123456789]/git_depot/[projet].git
    git status
    git add .
    git commit -a -m "init"
    git push --set-upstream origin master
    git push

     

    Cloning the site on the server directory

    To do on the server:

    cd
    cd web
    rm -r [projet]/
    git clone /home/clients/[123465789]/git_depot/[projet].git [projet]/


    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 domain name of a Prestashop site

    This guide explains how to change the URL of a site on which the Prestashop application is installed (manual installation on your side) but more generally, it also allows you to import a Prestashop site to Infomaniak if it was previously registered elsewhere with a different URL.

     

    Preamble

    • If you are using Prestashop installed via the Infomaniak Manager Apps, you can change the address very easily.
    • Intended for version 1.7 of Prestashop, this guide requires technical knowledge and Infomaniak declines any responsibility in case of errors on the site.

     

    Change the URL of an installed Prestashop

    To do this:

    1. Put your Prestashop into maintenance mode (go to Shop Settings then Maintenance).
    2. Go to Shop Parameters > Traffic and SEO.
    3. A little further down, modify the Shop URL section:
      1. under Shop Domain enter the new domain
      2. under SSL Domain enter the new domain
      3. the base path can be modified at your convenience but with caution
    4. Click on Save.
    5. Download the entire data Web + MySQL of your old Prestashop to your computer.
    6. Re-import the downloaded MySQL data into a new database.
    7. Update the parameters.php file (located in app/config/) by entering the information of the new database at the following lines:
      1. database_host
      2. database_name
      3. database_user
      4. database_password
    8. Re-import the Web data into the directory of your new site (new URL).
    9. Remove all the content from the cache folder except for the index.php file.
    10. Remove the site from maintenance and test the entire site (links, images, cart, etc.).

    Also, refer to this other guide.



    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 the version of the OS installed on a hosting service

    This guide explains how to find out the operating system version of the server for your Web Hosting.

     

    Preamble

    • Even if Debian or a package appears outdated, the displayed versions do not have vulnerabilities:
      • Infomaniak keeps them up to date through regular internal patches on all components and systems used.
      • The versions are chosen for their stability, then enhanced by security measures that classic tests do not detect.
    • If you or your clients identify a vulnerability in an Infomaniak product, please submit a proof of concept. Although rare, these cases are handled quickly.
      • Data security is the user's responsibility: Infomaniak cannot be held accountable for poor management or use of access credentials.

     

    What OS is on my site?

    To find out the version:

    1. Log in to the server via SSH (need help?).
    2. Run the following command:

      lsb_release -a
    3. You will get information of this type:

      Distributor ID: Debian
      Description: Debian GNU/Linux 7.9 (wheezy)
      Release: 7.9
      Codename: wheezy


    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 spam traps (Spamtrap / Honeypot)

    This guide explains what spamtrap email addresses are.

     

    Preamble

    • A spamtrap, also known as a honeypot, is a tool used to detect and catch spammers.
    • It is essentially an email address or a system that is created to attract unwanted messages, such as spam.

     

    How a Spamtrap Address Works

    A spamtrap address works by attracting spam and identifying the senders of unwanted mail. Here's how it can happen:

    1. An email address is specifically created to act as a spam trap; it is generally configured so as not to receive legitimate communication.
    2. The spamtrap address is hidden or obscured so that it is not visible to legitimate users, but only to spammers; this can be done by placing it on hidden web pages, in forums inaccessible to the public or by making it invisible to humans (for example by using white text on a white background).
    3. Spammers use automated techniques to extract email addresses from various sources, such as websites, forums, social networks, or stolen address lists; during this process, they may inadvertently or intentionally include spamtraps in their lists.
    4. When a spammer sends a message to a spamtrap address, it is captured and recorded; since the address is not used for legitimate communication, any mail received is considered unwanted.
    5. When a spamtrap receives a spam, it triggers an alert for email service providers like Infomaniak; they can then identify the sender of the spam by examining the message headers or the information related to the source IP address.
    6. Once a spammer is identified through a spamtrap, measures can be taken to block or filter their unwanted messages; Infomaniak can add the spammer's IP address to a blacklist, implement stricter anti-spam filters or take other steps to protect their users.


    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 files using SCP (secure copy command)

    This guide explains how to securely transfer files between your machine and the web hosting server using the SCP (secure copy command) protocol.

     

    Preamble

    • For the SCP command to work, it requires:
      1. a source: a file/folder to transfer
      2. a destination: FTP server address to perform the transfer
    • The data is automatically encrypted by SCP at the time of transfer.

     

    Copy a local file to the server

    Prerequisites

    • To get the FTP server address:
      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 FTP / SSH in the left sidebar.
      4. The host server address is displayed at the top left:
    • To get the destination folder path:
      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 More information (in the Information section):
      4. Copy the absolute path.
      5. Complete the absolute path with the desired destination folder.

    Then, to copy a file from your machine, the command is structured as follows:

    scp localmachine/path_to_the_file username@ftp_server_adress:/path_to_remote_directory

     

    To copy an entire directory from your machine, you need to adapt the command as follows:

    scp -r localmachine/path_to_the_file username@ftp_server_adress:/path_to_remote_directory

    The entire folder will be transferred to your server.

     

    To copy the contents of an entire directory from your machine, you need to adapt the command as follows:

    scp -r localmachine/path_to_the_file/* username@ftp_server_adress:/path_to_remote_directory

     

    ⚠️ For additional help contact a partner or launch a free call for tenders — also discover the role of the host.



    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 technical information (type phpinfo)

    This guide explains how to access the configuration of an Infomaniak Web site to display technical information such as the PHP, Apache version, or the activated PHP extensions and modules.

     

    View the site's technical information

    To access the Web site 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 the Manage button under Advanced Settings:
    4. Take note of the Web site information under the General, PHP / Apache and PHP Extensions tabs:
    5. Click on the back arrow in the left sidebar.
    6. Click on Databases in the left sidebar to get the MySQL version of the Web hosting:


    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.
    Create stored procedures

    This guide presents the use of MySQL on Infomaniak hosting, particularly the operation of stored procedures.

     

    Preamble

    • “Stored procedures” and “stored routines” are not available on a shared web hosting.

     

    Understanding stored procedures and routines

    If stored procedures are essential to your project and you are currently using shared hosting, it is advisable to consider a VPS or a dedicated server, which offer more control and resources.

    Stored procedures are an effective way to automate tasks and integrate business logic directly into the database. This results in more performant and easier-to-maintain applications.

    On a Cloud Server, as soon as the user has administrator rights on the relevant MySQL database, they have the necessary permissions to execute SQL instructions, including the EXECUTE command, used to launch stored procedures already present in the database.

    The user also has the required privileges to create new stored procedures. Creating a stored procedure is done via specific SQL syntax defining the instructions to execute, followed by its recording in the database.

    Example

    DELIMITER //
    CREATE PROCEDURE GetUserCount()
    BEGIN
        SELECT COUNT(*) AS total_users FROM users;
        -- Returns the total number of users in the table
    END //
    DELIMITER ;
    
    -- Execute the stored procedure
    CALL GetUserCount();


    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.
    Use the CGID module for Apache

    The CGID module for Apache has been disabled on Infomaniak's shared web hosting offers.

    If necessary, you should consider changing your plan to a Cloud Server if you are currently on a shared web hosting plan. This can be done transparently: refer to this other guide on the subject.



    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.
    Fix a PDF error on PrestaShop 9.x

    This guide helps to resolve an issue with the PrestaShop v9.x CMS regarding the generation of PDF invoices from the administration panel (Back Office), particularly when the French language is used.

     

    The problem

    When attempting to view or download a PDF invoice for an order in French, PrestaShop (version 9.x) returns a 500 Error. This malfunction is due to an incompatibility between the PDF generation library (TCPDF) using the default font (helvetica) and the hosting configurations.

     

    Proposed solution: define a compatible font

    The solution is to force the use of the freesans font, which is more compatible, via a custom configuration file.

    It is strongly recommended to create a file named defines_custom.inc.php. This method is the safest as it ensures that the correction will not be lost during PrestaShop core updates.

    To do this:

    1. Access your PrestaShop 9.x installation via FTP or the File Manager.
    2. Navigate to the /config/ directory.
    3. Create a new file named defines_custom.inc.php.
    4. Edit the file defines_custom.inc.php and add the following content:

      <?php
      /**
       * Eviter erreur PDF, forcer 'freesans'.
       */
      define('PDF_FONT_NAME_MAIN', 'freesans');
    5. Save the file and test the generation of a French invoice.


    Updated 28.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.
    Disable automatic detection of resource type (MIME-Type sniffing)

    This guide explains how to protect your website and its visitors from malicious exploitation of MIME-Type sniffing.

     

    Preamble

    • MIME-Type sniffing, or MIME type detection, is a technique used by web browsers to determine the content type of a resource when the MIME type provided by the server is ambiguous, missing, or incorrect.
    • While this can sometimes improve the user experience by making content accessible despite server configuration errors, this feature also introduces significant security vulnerabilities:
      • When a browser performs MIME-Type sniffing, it can interpret a text file as an executable script, thus opening the door to cross-site scripting (XSS) attacks; for example, a file intended to be treated as plain text could be interpreted as JavaScript, allowing an attacker to execute malicious code on the user's browser.
    • By disabling MIME-Type sniffing, you protect visitors against the unauthorized execution of malicious scripts and also enhance the overall security of your website by reducing potential attack vectors.

     

    Disable MIME-Type sniffing

    To protect users and web applications from this type of vulnerability, it is possible to disable automatic resource type detection via the .htaccess file of your sites in order to instruct the browser to strictly rely on the MIME type specified by the server without attempting to guess it.

    By placing the code below in your .htaccess file, you ensure that MIME-Type sniffing is disabled as long as the mod_headers module (which allows adding the header below) is enabled on your Apache server:

    1. Open the .htaccess file for the relevant site from the FTP Manager or an FTP software/client.
    2. Add the following code:

      <IfModule mod_headers.c>
          Header always set X-Content-Type-Options "nosniff"
      </IfModule>
    3. Save the .htaccess file.


    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.
    Use Safe Mode

    The SafeMode, or secure mode, is a protection mechanism that limits certain server functionalities to reduce the risks of malicious exploitation.

    This mode was removed as of PHP 5.3.0 as it was deemed ineffective in enhancing security and likely to cause malfunctions with certain applications.

    Infomaniak previously used the open_basedir directive on its old hosting offers, but this is no longer applied to current plans.



    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 Data Security, GDPR, and LPD

    This guide covers data protection regulations in Switzerland and Europe, and the measures taken by Infomaniak to secure your customer data and data within Web Hosting and Mail Services.

     

    Understanding the difference between data security and data confidentiality

    Data security aims to prevent any unauthorized access to your information. It relies on measures such as encryption, firewalls, or VPNs. A security breach can have disastrous consequences: imagine a hacker stealing your entire customer database and demanding a ransom to recover it. This type of attack – ransomware – can paralyze a company overnight.

    Data confidentiality concerns who can access your information and how it is used. Even if your data is secure against hacking, it can be collected, analyzed, and resold… legally.

    Example: you carefully store your customers' information, but unbeknownst to you, a service you use shares – anonymously – this data with third parties. Result? Your competitors can obtain valuable analyses of your market and target your own customers without ever needing to hack.

     

    LPD & GDPR

    In Switzerland, the LPD (Federal Law on Data Protection) and nLPD (for the "new Law" in effect since September 2023) protect the confidentiality of residents by regulating the collection and processing of personal data by organizations.

    On the other hand, the GDPR (General Data Protection Regulation) of the EU, in effect since May 2018, influences global companies processing the data of European residents, including in Switzerland. While the LPD applies to the data of Swiss residents, the GDPR concerns that of EU residents. Swiss companies managing European data must comply with the GDPR requirements, including the designation of a Data Protection Officer and the conduct of Impact Assessments in case of risky processing.

     

    Your role as an Infomaniak Client

    Regarding the hosted data that belongs to you — and especially if it contains personal data of your visitors, contacts, or customers — it is your responsibility to ensure its compliance.

    When processing this personal data, it is essential to inform users about the purpose and methods of this processing. This is usually done through a privacy policy or a data processing agreement (DPA).

    Agreement between data controller and processor

    A DPA (Data Processing Agreement), known in German as AVV (Auftragsverarbeitungsvertrag), in Italian as ATD (Accordo di Trattamento dei Dati), and in Spanish as CTA (Contrato de Tratamiento de Datos), translates to Data Processing Agreement or Personal Data Processing Contract.

    It is a mandatory contract provided by the GDPR between a data controller and a processor. It defines the purpose, duration, and nature of the processing, as well as the obligations and security measures. Its goal is to protect the personal data entrusted to a service provider.

    This GDPR certificate (in PDF format) can be generated and downloaded from the Manager (accessible to organization users who are owners or administrators):

    1. Click here to access DPA management on the Infomaniak Manager (need help?).
    2. Click the Generate button to download the customized PDF document:

    Here are some tips on this subject:

    • Inform about all data processing, not just those related to the website.
    • Ensure easy access to the privacy statement on the website, for example, in the footer of each page.
    • Generally, it is not necessary to obtain the user's approval for privacy statements (e.g., for forms); it is sufficient to indicate where to find the statement (example Site Creator).
    • Keep in mind that new, more in-depth information rules may require adjustments to existing privacy statements.

    It is crucial to differentiate between the security of the infrastructures where your data is hosted and the management and implementation of your data on your side. As a host, Infomaniak acts as a subcontractor for your GDPR-related obligations. In this context, its privacy policies and cookie usage, as well as its terms and conditions, provide the necessary guarantees regarding its compliance as a subcontractor.

    If necessary, you can find professionals or online guides to help you in the compliance process.

     

    Infomaniak's role

    Like companies that work with user data, Infomaniak must comply with the LPD and, because some of these users are European citizens, the GDPR as well:

    • the data privacy policy details the data that Infomaniak retains to provide and execute its services
    • the policy related to the protection of your personal data describes Infomaniak's commitments as a subcontractor that hosts all of your data, including personal data

    These commitments, as outlined in the general terms and specific conditions, are as follows:

    • to keep your data within data centers exclusively located in Switzerland and never to transfer your information outside of these infrastructures
    • to apply rigorous security standards and to continually improve processes to ensure a high level of security across all services
    • to promptly inform you in case of a data breach
    • to ensure transparency with you when Infomaniak uses subcontractors who may process your data
    • to strengthen and develop physical security measures to prevent any unauthorized access to the infrastructures where your data is stored
    • to implement physical and/or logical isolation systems (depending on the services) to separate the hosting of different clients; additionally, Infomaniak conducts annual penetration tests to ensure data integrity between clients
    • to demonstrate a high level of reactivity in updating the security of the systems under its responsibility

     

    Manage the cookies on the infomaniak.com site

    When you visit the page infomaniak.com a choice must be made for the acceptance of certain cookies. To modify this choice later, access your preferences from the bottom of the site's 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.
    Replace a subdomain with a domain

    This guide explains how to replace, within an Infomaniak Web hosting, the address of a site currently a subdomain (https://dev.domain.xyz for example) with the main domain (https://domain.xyz).

    Preamble

    • The operations in brief:
      1. We start with a site created and accessible via the URL of the main domain dev.domain.xyz.
      2. We add an alias domain.xyz.
      3. We swap the two types (the main domain becomes an alias and the alias becomes the main domain).
      4. We remove the old name dev.domain.xyz.
    • Note that the site remains in the original folder on the server; the name of this location may be in the form /sites/dev.domain.xyz but this has absolutely no impact on the live site.
    • Also, familiarize yourself with the last chapter of this other guide.

     

    The operations in detail

    To switch from a site with a subdomain address "dev.domain.xyz" to a direct address "domain.xyz":

    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 the chevron ‍ to expand the Domains section of this site:
    4. Click on the button Add a domain:
    5. Add the desired new name, check the corresponding boxes.
    6. Click on the button to Confirm:
    7. Once the addition is complete, click on the action menu ⋮ located to the right of the relevant item.
    8. Choose to set the item as the primary domain:
    9. Confirm the operation to proceed with the domain swap.


    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.
    Use Mono C# and .NET

    This guide covers the execution of the C# language and the .NET framework via the Mono implementation on Infomaniak hosting.

     

    Technologies for software development

    To use the C# language and the .NET framework with the Mono implementation, in order to develop software applications that can be deployed and executed on multiple platforms, outside the Windows environment, it is recommended to opt for solutions such as:

    • VPS Cloud / VPS Lite
    • Jelastic Cloud
    • Public Cloud

    The flexibility and portability offered by these multi-platform environments mean that a shared web hosting does not allow the execution of projects based on C#, .NET or Mono.



    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 MySQL Query Cache

    This guide concerns the MySQL query cache which, when enabled, stores the results of already executed queries in memory.

     

    Preamble

    • MySQL Query Cache allows to speed up subsequent identical queries by avoiding to execute them again.
    • This can improve the overall performance of the database server by reducing the load and decreasing the response time for frequent queries.

     

    query_cache_type ON or OFF?

    On Shared Web Hosting (i.e. excluding Cloud Server) MySQL Query Cache is neither enabled nor enableable.

    On Cloud Server, enable MySQL Query Cache via Fast Installer.



    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 web statistics prior to 12 months

    Webalizer only displays the last 12 months of statistics. With the old Infomaniak hosting offers, you must enter a specific URL to access previous statistics.

     

    View previous statistics

    To do this:

    1. Enter your domain address followed by /stats (for example http://www.domain.xyz/stats)…
    2. Enter your administrator FTP access…
    3. Add /usage_AAAAMM.html after the address (for example http://www.domain.xyz/stats/usage_AAAAMM.html) with AAAA = year 2017 and MM = month 01 for example http://www.domain.xyz/stats/usage_201701.html


    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.
    Use the browscap.ini file

    This guide is about "browscap.ini", a configuration file used by the PHP library "browscap" that contains information about web browsers and their features, such as their name, version, compatible operating systems, browsing capabilities, etc.

     

    File information

    The file "browscap.ini" reflects the latest information about web browsers. It can be used with PHP scripts that require the "browscap" library.

    phpinfo indicates where the file browscap.ini is located, namely:

    /opt/php/lib/php/browscap.ini

     

    You can retrieve the content of the file yourself via a PHP script, for example:

    <?php
    header("Content-type: text/plain");
    print file_get_contents("/opt/php/lib/php/browscap.ini");
    ?>

     

    Note that the "browscap" library is no longer widely used and that many developers prefer other solutions to detect browsers, such as the native PHP function "get_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.
    Redirect web traffic to a specific port

    This guide concerns the redirection of web traffic to a specific port, including when using a dedicated IP and a specific web application (such as Node or Varnish for example).

     

    Prerequisites

    • Add a site to your hosting.
    • Install HAProxy on the Cloud Server.

     

    Redirect web traffic to a specific port

    By default, on Serveur Cloud, web traffic is sent to Apache. To send requests to a Node script or another service (provided it "listens" on a port between 4000 and 4009), you need to go through HAProxy.

    This applies notably to servers Express, Socket.IO, Meteor.js, Nuxt.js, Django, Flask, Ruby on Rails, even possibly Java (J2E), etc.

    For this, you must ensure that the service is listening on a port between 4000 and 4009 (especially with server.listen(4000) for Express or a basic HTTP Node server, but depending on the type of project by other means, a configuration file, in the code or otherwise) and on all interfaces (0.0.0.0).

    It will also be necessary to configure HAProxy as in the example below:

    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 Fast installer in the left sidebar.
    4. Click on the action menu ⋮ located to the right of HAProxy.
    5. Click on Configure:
    6. Choose the desired information and save:

       

     

    Retrieving the source IP of a request

    When you redirect web traffic to your web application, the way requests are processed changes, and the request is first received by a reverse proxy (local to the server) which then forwards the request to the chosen port. Thus, due to the request forwarding, the methods usually used to retrieve the visitor's IP will return the IP of the reverse proxy instead of the visitor's.

    In these cases, to retrieve the real source IP of the visitor, you need to consult an HTTP header named X-Forwarded-For, which will contain the source IPs accumulated during each redirection. This header will therefore contain last the original IP address of the client, allowing the real visitor to be identified.

    Warning: It is important to note that HTTP headers can be manipulated, which presents security risks. To minimize these risks, it is recommended to verify that the request comes from a reliable server before trusting the content of the X-Forwarded-For header. This verification may involve ensuring that the request was transmitted by a trusted intermediary server, identified by a pre-established list of IP addresses. In the case where the site uses a dedicated IP, the trusted servers are:

    • 83.166.133.15
    • 83.166.133.17
    • 83.166.133.16
    • 84.16.92.5
    • 84.16.92.43
    • 10.2.32.255
    • 10.2.34.164


    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.
    Modify an existing Web Hosting offer

    This guide explains how to modify an existing Web Hosting plan to, for example, host additional websites if the maximum site quota is reached, or to obtain a more recent hosting solution to benefit from the latest versions of PHP & MySQL.

     

    Modify the Web hosting offer to…

     

    … order additional websites, disk space, or IPs

    To access the Web hosting configurator:

    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. Increase the values you wish to modify.
    5. Click on the Next button to proceed to the payment for the changes made to the hosting:

     

    … switch to a more recent server

    To get a hosting solution on a more recent server and thus benefit from the latest versions of PHP & MySQL, you can either…

    • … refer to this other guide and follow the indicated procedure to the end:
    • … refer to this other guide and follow the procedure indicated until point 4 then click the button to update:
      • If no information banner is displayed, it means you already have a recent hosting offer.


    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.
    Use JSON

    The JavaScript_Object_Notation extension of PHP is available. It is useful for processing JSON data in your PHP web applications, whether for exchanging data with web services, storing configurations, or communicating with front-end applications written in JavaScript.



    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.
    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.