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 21/1
    10 FAQ(s) found
    Import data to kDrive via WebDAV

    This guide explains how to import external data (files, folders, etc.) into your kDrive using the WebDAV protocol.

     

    Preamble

    • Refer to this other guide if you are looking for information on how to copy specific data from one kDrive to another when your user has access to both kDrive accounts.

     

    Import external data via WebDAV

    To access the import tool, where the data needs to be imported:

    1. Click here to access the Web app kDrive Infomaniak (online service kdrive.infomaniak.com).
    2. Click on the Settings icon โ€ at the top right.
    3. Check or select the kDrive in question from the dropdown menu on the left sidebar.
    4. Click on General in the left sidebar.
    5. Click on Import external data:
    6. Click the blue Start button.
    7. Click on WebDAV.
    8. Fill in the required information based on the source (especially the WebDAV address you have - obtained from the source).
    9. Select the destination kDrive and the desired location to store the imported data.
    10. Click on Start:

     

    Example: copy data from an external kDrive to the Organization

    To import a kDrive that would be outside of the Organization in which your destination kDrive is located, you must enter the following information at point 9 above (your credentials will be used exclusively to import your data; they will be immediately deleted at the end of the process):

    • Username: email address to log in to the Infomaniak user account
    • Password: application password if two-factor authentication is enabled orโ€ the one from your Infomaniak user account if you have not enabled 2FA
    • Entry point: direct access to kDrive (refer to this other guide regarding the kDrive ID for the connection URL)
      • It is possible to choose a subfolder as the source folder, by combining the kDrive ID and the desired folder by entering for example https://IDkDrive.connect.kdrive.infomaniak.com/My/Subfolder or https://IDkDrive.connect.kdrive.infomaniak.com/MykDrive/My/Subfolder

     

    Refer to this other guide regarding the use of your kDrive via the WebDAV protocol.



    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.


    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 SafeMode

    SafeMode, or secure mode, is a security measure that restricts certain server functionalities to prevent potential attacks.

    It was abandoned starting with PHP 5.3.0 as it was considered ineffective in ensuring security and could cause compatibility issues with certain applications.

    Infomaniak used the open_basedir constraints for its old hosting plans, which are no longer activated on current offers.



    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 GIT and GIThub with web hosting

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

     

    Preamble

    • GIT and GITHub are available by default on the two aforementioned supports.
    • For additional help, contact a partner or launch a free tender โ€” also discover the role of the host.

     

    Creation of the GIT repository

    Setting up on the server:

    • The GIT repository is located at /git_depot
    • The site is located in the folder /web/[projet] (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/[123465789]/git_depot/[projet].git
    git status
    git add .
    git commit -a -m "init"
    git push --set-upstream origin master
    git push

     

    Cloning the site to 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.
    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 switching to a **Cloud Server** if you are currently on shared web hosting. This can be done seamlessly: refer to **this other guide** for more information.



    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 concerns the compatibility between Infomaniak hosting and the C# language / .NET framework along with the Mono implementation.

     

    Technologies for software development

    To use the C# language and the .NET framework, with the Mono implementation, to develop software applications that can be deployed and run on different platforms, outside the Windows ecosystem, consider offers such as:

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

    This portability and flexibility offered by these multiplatform software development technologies implies that a shared web hosting will not be compatible.



    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 activated, stores the results of already executed queries in memory.

     

    Preamble

    • MySQL Query Cache speeds up subsequent identical queries by avoiding re-execution.
    • 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 (therefore excluding Cloud Server) MySQL Query Cache is neither enabled nor can be enabled.

    On Serveur Cloud, 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.
    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 characteristics, such as their name, version, compatible operating systems, browsing capabilities, etc.

     

    File information

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

    phpinfo indicates where the browscap.ini file 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 for browser detection, 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.
    Enable PHP-FPM status

    This guide explains how to enable PHP-FPM status to, for example, debug a slow site at the PHP level.

     

    Preamble

    • PHP-FPM status allows you to monitor in real-time the scripts that are executed as well as their execution time.
    • This operation is only possible on Serveur Cloud.

     

    Enable PHP-FPM status

    To activate PHP-FPM on a site, contact Infomaniak support from an email address listed on your user account to authenticate your request.

    In your request, please specify the source IP address that should be authorized.

    Once PHP-FPM status is activated, the following URL links will display the necessary information:

    • https://domain.xyz/fpm-status?json&full
    • https://domain.xyz/fpm-status?html&full
    • https://domain.xyz/fpm-status?xml&full

    Warning: if your site contains rewrite rules including the path /fpm-status, you will likely need to make an exception for it.



    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.