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 10/1
    10 FAQ(s) found
    Manage the "MySQL prefix

    This guide explains what the "MySQL Prefix" option is for in a site's settings and what its implications are for the operation of your web applications (CMS) and PHP scripts.

     

    Preamble

    • When the "MySQL Prefix" option is enabled for a site, it is no longer necessary to add the prefix "wxyz_" in front of the name and users of your MySQL databases.
    • A PHP script can thus connect to MySQL with the user "monuser" and a database "mabase" and access will automatically be granted with the user "wxyz_monuser" and the database "wxyz_mabase".
    • âš  If you are migrating from an older Infomaniak offer:
      • After migrating a site from the old console, the "MySQL Prefix" option is enabled by default to automatically maintain the connection of your web applications (WordPress, Joomla, Drupal, etc.) and PHP scripts with your MySQL databases.
      • To ensure the proper functioning of your sites in case of migration of your hosting to another server, it is strongly recommended to disable this function and make the necessary adjustments.‍

     

    Manage the MySQL Prefix option

    Going further with environment variables

    It is possible to configure environment variables directly from the Manager for your entire website:

    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. Turn the toggle switch MySQL Prefix on or off.
    6. Click the Save button:
    7. Make the necessary adjustments in the configuration files of your Web applications and PHP scripts…

     

    Implications and adjustments to make

    After disabling the MySQL Prefix option for a site, some PHP scripts or CMS may no longer function. To restore the connection to your databases, you must update the following information in the configuration file(s) of the affected scripts:

    • The name of the MySQL database: you will need to add the prefix of your server to it
      • before: mabase
      • after: wxyz_mabase
    • The MySQL database user: you will need to add your server prefix to it
      • before: monuser
      • after: wxyz_monuser


    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 Laravel on Infomaniak hosting

    This guide concerns Laravel, an open-source web framework written in PHP following the model-view-controller (MVC) principle. Also refer to their documentation.

     

    For additional help, contact a partner or launch a free tender — also discover the role of the host.

     

    Prerequisites

    • Have a Shared Web Hosting or Cloud Server with the latest MySQL/MariaDB.
    • Site running PHP 8.2.
    • Create an SSH access.
    • Create a database.

     

    Installation of Laravel 11

    For this:

    1. Log in to the server via SSH (need help?).
    2. Navigate to the site directory by running the command “cd chemin-vers-le-site” (for example cd sites/laravel.domain.xyz).
    3. Create a new project by running the command composer create-project laravel/laravel example-app.
    4. Modify the .env file at the root of the hosting to update the connection parameters for the new database:
      • DB_CONNECTION=mysql
      • DB_HOST=xxxx.myd.infomaniak.com
      • DB_PORT=3306
      • DB_DATABASE= the name of the MySQL database (xxxx_newbdd)
      • DB_USERNAME= the MySQL user with rights to this database
      • DB_PASSWORD= its password
    5. Navigate to the project directory and publish via SSH:
      cd example-app
      php artisan migrate
    6. Modify the target directory to point to the "public" subdirectory of the project, here /sites/laravel.domain.xyz/example-app/public.


    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 MySQL logs and slow logs

    This guide concerns MySQL/MariaDB and more particularly the analysis of indexes and queries with the Web Hosting.

     

    Slow log for long queries

    The MySQL slowlog is enabled on all MySQL servers and groups queries that take more than 5 seconds* to execute. If your queries are well constructed, you will never see these files. Otherwise, check regularly to correct any potential issues and ensure the proper functioning of your site.

    Contact Infomaniak support in writing to obtain them (except for the old v1 hosting, which can be viewed directly from the FTP Manager one level above /web in the /logs directory).

     

    And the logs?

    No MySQL log is created (except for slowlogs) as the servers would absolutely not support the load of recording millions of simultaneous logs. If needed, Infomaniak can activate this MySQL log for 5 minutes to allow you to analyze them with EXPLAIN and determine useful indexes for example. To do this, contact Infomaniak support in writing.

     


    * elapsed time. And regarding locks, the documentation provides the following clarification: "The time to acquire the initial locks is not counted as execution time



    Updated 23.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.
    Link one domain name to another

    This guide explains how to add an alias domain to a domain name.

     

    Introduction

    • A synonym domain is a domain name that can serve as a secondary name for another domain.
    • When a synonym domain is added, it automatically inherits the content of the DNS zone of the main domain (including MX, A records, etc.), as well as its Web and Mail hosting.
    • Alternatively, you can also add a (domain) alias to a website or add a (domain) alias to a Mail Service.

     

    Add a synonym domain to a domain

    Prerequisites

    • The domain name of the future synonym or the management of its DNS zone…
      • … must be reserved with Infomaniak,
      • … must be configured with the Infomaniak DNS,
      • … must not yet be linked to any product.
    • The domain name to which the synonym will be added…
      • … must not be associated with the Infomaniak Newsletter product.

    To access your domain names:

    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 Synonym domains in the left sidebar.
    4. Choose to add a synonym.
    5. Click on Next:
    6. Select an existing domain within the current Organization, or order a new domain in advance, and click the button to Confirm:

    Refer to this other guide if you are looking for information on how to dissociate a synonym domain name.



    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 FTP / SSH password

    This guide explains how to change the password of a FTP or FTP / SSH account for a Web Hosting site.

     

    Change the password of an existing FTP user

    To access the site on a Web Hosting to modify its FTP access:

    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 FTP / SSH in the left sidebar.
    4. Click on the action menu â‹® to the right of the relevant user in the displayed table.
    5. Click on Edit:
    6. Enter the new password that will be used for your FTP or SSH access directly.
    7. If necessary, you can generate a strong password.
    8. Confirm the changes:


    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 multiple FTP connections

    This guide helps resolve a potential 530 error by reducing the number of simultaneous FTP connections to Web Hosting.

     

    Resolve error 530

    The FTP connections that can be established simultaneously to the FTP space of a hosting are limited to 25.

    The error message 530 Sorry, the maximum number of clients (25) for this user are already connected generally appears due to multiple and simultaneous connections with an FTP software/client that poorly manages disconnections or tries to open several connections at once to speed up the download.

    Once you have encountered this error, you must close the FTP program and then wait 30 minutes so that the server terminates the active connections and you can reconnect.

    You can also create a new FTP user and connect with it.

    To avoid this situation with FileZilla, go to the menu Edit -> Settings then under the Transfers tab and set the number of simultaneous transfers to 2.

    It is recommended to use the FTP Manager.



    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.
    Unlink a domain name linked to the website

    This guide explains how to delete an alias domain from an Infomaniak Web hosting. The main domain name of the site will then no longer be linked to any other domain name.

    This notably allows you to create a new web hosting or distinct site for the domain name that has been unlinked.

     

    Prerequisites

    • Have dissociated the synonym domain from the main domain if there was an association previously.

     

    Remove the alias domain

    To remove an alias domain from your site:

    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. Then click on the chevron ‍ to expand the Domains section of this site.
    4. Click on the action menu â‹® to the right of the domain to remove.
    5. Choose Unlink:
    6. Confirm the removal of the alias.


    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.
    Secure Web access with a password

    This guide explains how to protect part of a site on a Web Hosting by making it mandatory to enter a password before viewing a directory (including subdirectories) from a browser.

     

    Warning, this does not prevent a user from accessing the folder via FTP.

     

    Simple method

    Password-protect (Digest authentication) a directory using the "Folder Protection" tool:

    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 Security in the left sidebar.
    4. Click on Folder Protection in the left sidebar.
    5. Click on the directory to protect.
    6. Enable protection with the toggle switch and then create one or more users*:
      • * Users are defined per directory; the tool does not allow managing user groups:
    7. Click on the Add button.
    8. Click on the button to add access for an additional user if necessary.
    9. Click on the action menu â‹® located to the right of the user in question to modify or remove them.
    10. Click the toggle switch again to completely disable the folder protection:

     

    Manual method via .htaccess

    To protect a folder with a password using your site's .htaccess file:

    1. Log in to your hosting via an FTP software/client or the FTP Manager.
    2. In the folder to protect, create a file called password.php and adapt the following content inside by replacing 12345 with the desired password:

      <?php
      $pass = "12345";
      echo password_hash($pass, PASSWORD_DEFAULT);  // Affiche le mot de passe chiffré
      ?>
    3. Open a web browser and display the file password.php (example: domain.xyz/dossier-à-protéger/password.php).
    4. The web browser displays your encrypted password; copy the encrypted password, it will be needed later…

    In the folder to protect, create a file called .htaccess and adapt the following content inside:

    AuthName "Page d'administration protégée"
    AuthType Basic
    AuthUserFile "/exemple/.htpasswd"
    Require valid-user

    Replace /exemple/ with the absolute path of the folder to protect. Example:

    AuthUserFile "/home/clients/0f83c7afb710e5ae2645a1b704d8772f/web/dossier_a_proteger/.htpasswd"

    In the folder to protect, create a file called htpasswd.txt and adapt the following content inside:

    login:password_chiffré
    • Replace login with the desired login.
    • Replace password_chiffrĂ© with the encrypted password copied in step 1 of this guide.

    Once the file htpasswd.txt is saved, rename it as follows: .htpasswd.

    Open a web browser and try to display one of the pages contained in the protected folder. If the guide has been followed correctly, the chosen login and password (unencrypted) allow access to the protected folder.

    Other restrictions can also be added by .htaccess.



    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.
    Solving a WordPress problem after changing the theme

    This guide details how, when activating a new WordPress theme, the formatting and content of articles and pages can be altered, this if the new theme does not use the same shortcodes and/or the same page builder (page constructor).

     

    Layout issues

    Here is an example of how your articles and pages may appear after changing your WordPress theme:

    sign

    Unfortunately, there is no automatic solution to fix this issue: you will have to:

    • either revert to the old theme you were using
    • or manually adapt the content of your site with the tools provided by your new WordPress theme.

    Obviously, you can also uninstall and reinstall WordPress, the site content will be erased and you will start fresh.

     

    Avoiding future issues

    Here are some tips to avoid having to reformat all the content of your site in case of a theme change:

    • Use WordPress theme-specific shortcodes as little as possible.
    • Use a universal page builder that is compatible with all WordPress themes (for example Visual Composer or Thrive Content Builder).
    • Take the time to test and evaluate the quality of a theme by comparing it with 2-3 similar themes before using it and adapting all the content of your site.

     

    Useful resources

    • Find and automatically remove all unused shortcodes (article in English)…


    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.
    Preview a site regardless of its domain name

    This guide explains how to view a website hosted by Infomaniak even if no domain name/URL is currently correctly configured to direct the visitor to this site.

     

    Introduction

    • With the preview URL of your website, you can view the current version of your content in a browser, regardless of whether the corresponding future domain name is not yet configured correctly.
    • This site preview can be done using a preview URL and notably allows you to test a site before pointing a domain name that, for example, currently points elsewhere.
    • This temporary URL provided by Infomaniak may change at any time and is only available with paid offers.

     

    Get the preview URL for your site

    To do this:

    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 ‍ More information.
    4. The preview address is indicated under Preview URL (ex.: XXX.preview.infomaniak.website):

       

     

    In case of trouble…

    If, when visiting your preview address, the URL immediately changes to another, this may be due to a .htaccess file that you have modified to include rewrite rules. You need to disable it and then test again.

    ... on WordPress

    If the **preview URL** keeps displaying even though you have already configured the domain name, you need to assign the final address as the main address in your website options.

     

    Alternatives to preview your site

    If you wish to proceed differently than with the preview address provided by Infomaniak (see above), you can modify the hosts file of your computer (including with browser extensions like this one for Firefox). You will need the IP address of your site for this.

    When your tests are finished or the DNS records for the domain name are up to date, do not forget to delete any changes you have made, otherwise it will be impossible to display your site if the server's IP address is changed or if the site is migrated to another web hosting service.



    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.