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
    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 6/1
    20 FAQ(s) found
    Order a Starter product (Mail Service / Web Hosting)

    This guide explains how, after purchasing a domain name from Infomaniak, you can get for free a Mail Service + Web Hosting.

     

    Preamble

    • For each domain name registered or transferred to Infomaniak, you can benefit from the following for free:
      1. an email address that gives you access to the Mail Infomaniak app
      2. and a 10 MB Web space for a basic page.
    • It is also possible to have a free Mail Service while having a paid Web offer, or vice versa.
    • Instead of a Starter type Mail Service, it is recommended to order a kSuite (for example, the Standard 1 user offer which is free).

     

    Activate the Starter Mail + Web Offer

    Prerequisites

    • Own a domain name with Infomaniak (a DNS zone is not sufficient).
      • If necessary, order or transfer a domain.
    • Depending on the desired type (Mail or Web), do not have a corresponding product already associated with the domain name and this in any existing Infomaniak Organization.

    To order a Starter Mail Service and Starter Web Hosting included with each domain:

    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 the Connect a service button:
    4. Click on Create an email address:
    5. Click on the search field then on Order a Mail Service:
    6. Click to select the free email address on the Infomaniak Shop (as below) and click on the Next button at the bottom right to advance the order:
    7. Click to select the basic Web page on the Infomaniak Shop (as below) and click on the Next button at the bottom right to advance the order:

       
    8. Finalize the order:
      โ€
    9. Go back to your Infomaniak Manager to discover and use your new products.

     

    Use your Starter products

    • Create the desired email address on your Starter Mail Service.
    • To use the 10 MB Web space and create a basic Web page on your Starter Web Hosting, use:
      • the page editor
      • or the FTP file manager to manage your HTML pages
      • or any FTP software/client with the classic FTP protocol

     

    Upgrade a Starter offer

    • Modify a Mail offer (click here).
    • Modify a Web offer (click here).

     

    If you have a problem with a Starter hosting

    A Starter type Web hosting does not offer IPv6. Be careful with AAAA records in the DNS zone of the domain name concerned which can in particular prevent you from activating SSL; 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.
    Resolve a 429 or 503 error (related to the Web Server)

    This guide details errors of type Rejected, too many connections from this host if they occur while visiting a website.

     

    Error origins

    429 Too Many Requests

    This error occurs when the server is overwhelmed by a large number of requests in a short period of time, which can be due to heavy site usage or abuse.

    503 Service Unavailable

    This error can be caused by several factors, including planned maintenance work on the server, server overload due to high traffic, or the execution of a script that exceeds the server's resource limits.

    Rejected, too many connections from this host

    This error occurs when the server rejects connections due to a high number of simultaneous connections from the same IP address. Check the "Access and error logs" on your hosting dashboard to find multiple entries in the following format:

    [Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/blocktopmenu/js/superfish-modified.js current:34 limit:30	
    
    [Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/blocktopmenu/js/hoverIntent.js current:34 limit:30	
    
    [Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/productscategory/productscategory.js current:34 limit:30	
    
    [Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/modules/feeder/rss.php current:35 limit:30	
    
    [Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/favoriteproducts/favoriteproducts.js current:34 limit:30	

    In this example, the IP 222.111.123.123 is making 30 simultaneous connections on each page, and is therefore automatically rejected as this may resemble an attack or scan.

     

    Resolution paths

    Some ways to resolve these errors:

    • Check the scripts that make multiple connections to the server to display data.
    • Optimize the relevant script(s) so that they require fewer resources.
    • Increase the limits of the concerned site to allow the script to do everything it needs to do and/or limit the number of simultaneous connections (especially on a Cloud Server where the limits โ€” RAM, execution time, simultaneous connections โ€” can be significantly increased).
    • Migrate your hosting to a Cloud Server.


    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 MariaDB to replace MySQL

    This guide explains how to migrate a Web Hosting from MySQL to MariaDB.

     

    Preamble

    • MariaDB is an enhanced version of MySQL, featuring numerous powerful integrated features and many improvements in terms of usage, security, and performance:
      • MariaDB has a larger connection pool supporting up to 200,000 connections, while MySQL has a smaller connection pool.
      • When comparing the performance of MariaDB and MySQL, it is noted that replication is faster in MariaDB and slower in MySQL; MariaDB is generally faster than MySQL.
      • MariaDB is Open Source, while MySQL uses proprietary code in its Enterprise edition.

     

    Using MariaDB to replace MySQL

     

    The update to MariaDB is irreversible and all sites on your hosting will then run on this version of MariaDB. Check the compatibility of your scripts before proceeding.

    To migrate a Web Hosting to MariaDB:

    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 Databases in the left sidebar.
    4. Click on the link Migrate to MariaDB.

    To migrate a Cloud Server, refer to this other guide about migrating to a new generation of Cloud Server.



    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.
    Connect to a remote Oracle database

    Remote connection to an Oracle database is not available with shared hosting and servers.

    However, you can install OCI8 for PHP on VPS Cloud / VPS Lite.



    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 unauthenticated (not recommended) email sending from a website

    This guide details sending emails from a website hosted by Infomaniak using the PHP function mail() which is disabled by default.

     

    Preamble

    • Infomaniak strongly discourages the use of the PHP mail() function for sending emails from your applications:
      • Emails will be considered as โ€œunauthenticatedโ€ and will therefore be subject to limits.
      • Their deliverability will be affected, which can harm your website.
    • It is strongly recommended to use an authenticated SMTP sending method for your email sends from your applications; Infomaniak offers a corresponding service for this purpose.

     

    Specify the sender's address

    To ensure that messages are sent correctly from your CMS/web application (and to avoid errors such as Could not instantiate mail function or sender mismatch) it is necessary to specify a valid address in the site parameters on the Infomaniak side:

    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 Manage under Advanced settings:
    4. From the General tab, enter an existing email address in the Sender Email field.
    5. Click on the blue Save button:

     

    Re-enable the mail function

    If you still want to use PHP's mail function, you will need to enable it for each of the sites in your concerned Web Hosting:

    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 Manage under Advanced Settings.
    4. From the PHP / Apache tab, enable the mail function:
    5. Click on the blue Save button.

     

    PHP mail() examples...

     

    ... on WordPress

    Configure the sending of the default contact form included with Divi Builder:

    1. Log in to the WordPress admin panel.
    2. Go to the Divi editor of the page containing the contact form.
    3. Click on the Settings icon โ€ to configure the Divi contact form:
    4. Under EMAIL, enter the email address that will receive the form submissions and save:
    5. By default, when a visitor uses the form to contact you, you will receive an email from mail@le-nom-de-votre-site and if you reply, the recipient will automatically be the email address indicated by the visitor when filling out the contact form.

     

    ... on Prestashop

    Go to the advanced settings of Prestashop:

    1. Specify the SMTP mode.
    2. Enter localhost as the server.
    3. Enter the port 25.
    4. Do not specify a username or password.

     

    ... on Joomla

    Configuring email sending via PHPmail (not recommended) in Joomla:

    1. Log in to your Joomla site's administration panel.
    2. Go to Configuration then Server.
    3. Do not enter anything in the Site Email field:

    Unfortunately, this prevents any test send via the button, but it will work if you configure a contact form on your site. Click Save once the box is left empty.

     

    Reply-To address for PHP mail()

    When sending an email with PHP's mail() function, the return-path will be in the form of root@h2web3.infomaniak.ch for example. However, the Reply-To: header present in your form code allows you to specify a valid reply address.



    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 an Elegant Themes extension on WordPress Infomaniak

    This guide explains how to add a free extension from Elegant Themes (Monarch, Divi Builder, Bloom, etc.) or a theme to an already installed WordPress site via the Infomaniak installer.

     

    Prerequisites

    • Your WordPress site must be installed via the Infomaniak WordPress tools to use these themes and extensions.
    • The extensions can be added during installation (step 16 of this other guide) or later.
    • To benefit from Elegant Themes support (customer service) you must subscribe to an Elegant Themes offer.

     

    Add an Elegant Themes plugin

    For this:

    1. Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
      • If your site does not appear here, it means it was not installed via the Infomaniak toolsโ€ฆ Refer to the prerequisites above.
    2. Click directly on the name assigned to the product in question:
    3. Click on the action menu โ‹ฎ located to the right of the relevant Web Application.
    4. Click on Settings for the application:
    5. Click on Add under Extensions:
    6. Activate the desired extensions.
    7. Click on the Save button:
    8. The extensions are then available in your WordPress admin interface:

     

    Use an Elegant Themes theme

    Take note of this other guide to install an Elegant Themes theme with 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.
    Delete a folder/file via SSH

    This guide explains how to delete a folder or file via SSH, which can be particularly useful when it is impossible to delete a file with an FTP software/client or the FTP Manager.

     

    SSH command to delete a folder/file

    Infomaniak disclaims any responsibility in case of data loss related to these instructions.

    To delete a file or a directory, you must use the rm command.

    To delete the files NomDuFichier.php and NomDuFichier.txt, you should for example execute the following command:

    rm NomDuFichier.php NomDuFichier.txt

    To delete a directory, you must first delete its contents and then use the following command:

    rmdir NomDuDossier/

    To delete all files in html format, you need to run the following command:

    rm *.html
     
    • Other useful commands (external link)


    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 Django on Cloud Server

    This guide concerns Django, an open-source web development framework in Python.

     

    Django Installation

    It is only possible to install Django on VPS Cloud / VPS Lite.

    Discover the various web hostings of 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.
    Transfer a WordPress site to Infomaniak

    This guide provides tips for performing operations related to a WordPress site, which allows, among other things, toโ€ฆ

    • โ€ฆcopy and migrate a WordPress site from a competing host to Infomaniak,
    • โ€ฆchange the domain name of a WordPress site,
    • โ€ฆbackup an entire WordPress siteโ€ฆ

     

    Preamble

    • Depending on the context, instead of performing a WordPress transfer, you can simplyโ€ฆ
      • โ€ฆ change the site's address (the associated domain name) very easily if you have installed WordPress via the Infomaniak installer,
      • โ€ฆ duplicate a WordPress site to work in parallel in a development environmentโ€ฆ
    • Make your life easier! If needed, local partners referenced by Infomaniak can handle these procedures. Launch a free call for tenders. They take care of everything, freeing you from technical details.

     

    Transfer a WordPress siteโ€ฆ

     

    โ€ฆ with the All-in-One WP Migration extension

    • Be aware of this guide.
    • Requires installing a new clean WordPress (for example via the Infomaniak automatic installer) to import the old site onto it.

     

    โ€ฆ with the Duplicator extension

    • Be aware of this guide.
    • Requires connecting to the hosting via FTP to send a .zip archive and a PHP file to reinstall the old site.


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

    This guide explains how to enable compression of resources such as css, html, json, xml etc. on your chosen 'Web Hosting.

     

    Introduction

    • This way, you will reduce the size of the resources to be loaded by your visitors, which will have the effect of reducing the loading time of your web pages.
    • The .htaccess and .user.ini files will be automatically updated with the necessary directives.
      • As a security measure, a backup copy of these two files is made with each change.
    • Any change may take several minutes to take effect.

     

    Compress files with Gzip

    To enable compression with Gzip:

    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 the Advanced Settings button.
    4. Click on the APACHE tab.
    5. Enable the File Compression option.
    6. Click the blue Save button:

       
     
    It is possible to disable file compression by clicking the activation button again.

     

    Test compression

    It is possible to easily test the compression of your pages using tools like:

    • whatsmyip.org/http-compression-test
    • gidnetwork.com/tools/gzip-test.php
    • pagespeed.web.dev/analysis


    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.
    Optimize content delivery (CDN)

    This guide explains how to activate a CDN to optimize an Web Hosting Infomaniak.

     

    Preamble

    • CDN stands for "Content Delivery Network" in English, which translates to "Content Delivery Network" in French.
    • A CDN stores a copy of your site's content (images, videos, CSS/JS files) on multiple servers spread geographically.
    • When a user accesses your site, the CDN delivers this content from the server closest to their location, thereby reducing load times:
      • Your site loads faster for visitors, which can reduce the bounce rate and improve the user experience.
      • By distributing the content, the CDN reduces the load on your main server, improving its performance and availability.
      • Some CDNs offer security features like protection against DDoS attacks and data security.

     

    Setting up a CDN

    To use a CDN, you will generally need to make adjustments to the configuration of your domain name, specifically at the DNS record level. This will direct the traffic of your website to the CDN's network of servers. In general:

    1. Create an account on the website of your chosen CDN and add your site to it.
    2. Modify the DNS zone of your domain name according to the instructions provided by the CDN.
    3. Test your site to ensure that the CDN is working properly.

     

    Cloudflare Specific Guide

    For customers who want to optimize their site against overloads caused by the intense passage of bots, the use of a CDN like Cloudflare is often recommended. The Cloudflare CDN allows you to optimize the performance and security of a website with the following features:

    • caching of a site's static content
    • minification of HTML, CSS and Javascript code
    • basic anti-DDoS protection
    • etc.

    To set up Cloudflare:

    1. If necessary, create an account with Cloudflare.
    2. Add the domain name of the site in question.
    3. Report **all** DNS zone records for the domain in question to Cloudflare (A, MX, TXT, NS records, etc.).
    4. In the Infomaniak Manager, modify the DNS of the domain in question with the DNS servers indicated by Cloudflare.
      • Configure DKIM and DNSSEC if necessary.
      • Any DNS addition/modification can take up to 48 hours to propagate.

    Note: mod_cloudflare is enabled by default on all paid web hostings.

    Enable Cloudflare Rate Limiting

    By default, Cloudflare acts as a mere intermediary between the site and Infomaniak, forwarding all requests to Infomaniak's servers. Thus, during traffic spikes or attacks, requests still reach the origin server, but with Cloudflare IP addresses, making it difficult to manage mitigation on a shared server.

    Implementing "rate limiting" rules in Cloudflare's web application firewall is now an effective solution offered. This feature limits the number of requests sent to the server, blocking aggressive scans and protecting the server from excessive overloads.

     

    And alsoโ€ฆ

    โ€ฆ Amazon CloudFront

    If you already use AWS services, CloudFront is easy to set up. Create a distribution, configure the settings and link it to your site.

    โ€ฆ Fastly

    Sign up on Fastly, configure your service by adding your site and setting the cache parameters. Fastly offers advanced configuration options.



    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 a shared web hosting to a Cloud Server

    This guide explains how to migrate a shared web hosting to a Cloud Server by retrieving all its data, websites, databases, etc.

     

    Preamble

    • If you already have a **Serveur Cloud**, go straight to step 2 of this guide.
    • To migrate a web hosting from one Server Cloud to another Server Cloud, refer to this other guide.
    • To migrate a web hosting from a Server Cloud to a shared web hosting, refer to this other guide; note that this is a manual operation.

     

    1. Order a Cloud Server

    For this:

    1. Click here to access the management of Cloud Servers on the Infomaniak Manager (need help?).
    2. Click on Order, choose a Managed Cloud Server and follow the assistant to complete the order:

     

    2. Migrate the hosting to the Cloud Server

    Once the Cloud Server is up and running:

    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 Change Offer:
       
      sign
       
    4. Select the free transfer offer.
    5. Select the Serveur Cloud to which to migrate your hosting:
      โ€
    6. Click on the Next button at the bottom of the page and complete the procedure entirely.โ€
    7. Please wait during the hosting migration, a service interruption will be felt during the process.
    8. Note:
      1. The names of the databases and database users are retained.
      2. FTP accounts are retained with the same names, but the host server changes to an address of type xxxx.ftp.infomaniak.com.
      3. The IP addresses of the sites will change except for dedicated IPs.


    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 PHPMailer on Infomaniak

    This guide explains how to use PHPMailer with the Web hosting.

     

    Introduction

    • PHPMailer is a library that allows sending HTML-formatted emails from a website.
    • It notably handles attachments, and supports SMTP authentication and multipart/alternative for clients who cannot read HTML-formatted emails.

     

    Using PHPMailer

    To use PHPMailer, it is necessary to install it manually:

    1. Click here to download the PHPMailer library.
    2. Copy the files into a directory of your website via FTP.
    3. Link your script to PHPMailer, example:

      require_once('chemin_a_modifier/class.phpmailer.php');

     

    Fixing a Sender mismatch error

    In the SMTP (Simple Mail Transfer Protocol) protocol, the From header specifies the email address of the message sender. This is the address that will appear in the โ€˜Fromโ€™ field of the message received by the recipient.

    In PHPMailer, the method setFrom is used to set the sender's email address, while the header From is used to specify this same address when sending the message. The method setFrom also sets the Reply-To field of the email.

    The error Sender mismatch SMTP code: 550 Additional SMTP info: 5.7.1 occurs when the email address specified in the setFrom field does not match the email address specified in the From header when sending the message.

    To avoid this error:

    1. Instead of using the setFrom method to set the sender's email address, use the From property of the PHPMailer object, example:

      $mail = new PHPMailer();
      $mail->From = 'expediteur@domain.xyz';
    2. Make sure the value specified in the From property exactly matches the email address used in the setFrom field.

      Example, if you use setFrom with a sender name like this:

      $mail->setFrom('expediteur@domain.xyz', 'Nom Expediteur');

      โ€ฆ then make sure that the value of From is also set with the sender's name:

      $mail->From = 'expediteur@domain.xyz';
      $mail->FromName = 'Nom Expediteur';

    Then, continue with the configuration and sending of the email as usual.

     

    Learn more

    • Authenticated Mail (SMTP) from a website
    • Unauthenticated mail via PHP mail()


    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 a free "wildcard" SSL certificate

    This guide explains how to generate a certificate signing request (CSR) for a domain name and all its subdomains with a Web Hosting (excluding free hosting of type Starter).

    This allows you to encrypt the connection to your domain name and all its subdomains via SSL.

     

    Set up a Wildcard certificate

     

    1. Add an alias domain with an asterisk *

    To add an alias of type * to your 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 the chevron โ€ to expand the Domains section of this site.
    4. Click on the Add a domain button:
    5. Enter the domain name to be added in this format:
      • *.domain.xyz (the asterisk is mandatory, followed by a dot, then the domain name of the website which is domain.xyz in this example)
    6. Click on the Confirm button to complete the procedure:

     

    2. Install an SSL certificate or update it

    Example of updating the existing certificate to include the wildcard subdomain *:

    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 SSL in the left sidebar.
    4. Click on the action menu โ‹ฎ located on the right.
    5. Click on Change the certificate:
    6. Select the same certificate that you already own.
    7. Click on the Next button:
    8. Make sure the recently added subdomain is selected.
    9. Click on the Install button at the bottom:
    10. Wait for the creation or update to complete.


    Updated 18.08.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 web access and error logs

    This guide explains how to view and download Apache logs from Web Hosting useful for correcting PHP scripts or certain programming errors.

     

    Preamble

    • Infomaniak keeps the last 500 error or access displays for a maximum retention period of 10 days.
    • It is impossible to perform a previous search even upon request.
    • You can also find these logs on the server via FTP in the /ik-logs folder.

     

    Accessing the access and error logs

    To display these logs:

    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 Logs in the left sidebar:
    4. Click on Errors or Access to display the error log or access log.
    5. Click on Send by email to immediately receive all entries by email at your user address:


    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.
    Avoid website hacking

    This guide explains how to prevent cyberattacks and how to avoid hacking of the website you manage.

     

     

    WordPress users: read this dedicated article.

     

    The role of the hoster

    Infomaniak's job is to provide high-quality hosting, so it is crucial to respond extremely quickly to the various and varied attacks that any Internet actor may be subject to. Infomaniak therefore does everything possible to take the maximum precautions against hacking, notably by keeping the different versions of the technologies used up to date.

    In the case of a proven hacking, if it is possible to track down the author and the machine has been compromised due to a security flaw on Infomaniak's part, and the integrity of the servers is at stake, Infomaniak takes care of it itself.

     

    The role of the site owner and the webmaster

    If your site has been hacked due to your responsibility (an outdated script, a security patch that has not been applied, etc.), Infomaniak will contact you to warn you of a problem that needs to be resolved quickly. Some organizations like Saferinternet can also suspend the domain name upstream, which will disable the site but also the email.

    Infomaniak cannot counter exploits related to a bug in your PHP code or otherwise. If the hacking is not detected, you will generally notice the intrusion quite quickly through suspicious elements on your pages or by receiving numerous error emails.

    It is therefore your responsibility to manage the evolution of your website over time and to ensure that it does not become neglected, even if it means hiring a webmaster whose job it is.

     

     

    Don't have time to manage your services? Launch a free tender to find an Infomaniak partner who will take care of everything.

     

    Infomaniak's recommendations

    1. Update all your web applications (WordPress, Joomla, Drupal, ownCloud, etc.) regularly.
    2. Keep the PHP version of your site on Infomaniak servers up to date.
    3. Keep your site up to date by migrating to new offers when they are proposed to you.
    4. โ€Add a protection system to your contact forms (captcha, etc.) and any "recommend to a friend" tools (tell-a-friend...).
    5. Regularly run a antivirus scan of the hosting.
    6. Monitor the vulnerability detection tool.
    7. Remove anything you did not develop yourself and for which the author has not provided an update or correction in several months.
    8. Perform regular backups of your site (refer to this other guide if you use WordPress) when everything is fine and keep it safe (since automatic backups are only kept for a few days and this is sometimes not far enough back to restore after you notice an intrusion).
    9. Visit ibarry.ch.

     

    If an issue has occurred...

    1. Change the passwords of your Web applications, your FTP accounts and your databases after previously checking that no virus is on your computer.
    2. Restore a backup but update immediately whatever can be updated as soon as the restoration is complete.

     

    Take note of these additional recommendations !


    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 dedicated IPs

    This guide explains how to order, link or remove a dedicated IP from a website.

     

    Manage dedicated IPs on a hosting plan

     

    Order one or several first dedicated IP addresses

    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 Web in the left sidebar.
    4. Click on Dedicated IPs in the left sidebar.
    5. Click on the button to order one or more IP addresses:

     

    Order one or several additional dedicated IP addresses

    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 Web in the left sidebar.
    4. Click on Dedicated IPs in the left sidebar.
    5. Click on Order :

     

    Associate a dedicated IP address with a website on a hosting plan

    Once the IP has been ordered and paid for, familiarize yourself with the prerequisites below, as switching to a dedicated IP address for a website may cause a temporary interruption, especially in the presence of a certificat SSL Letโ€™s Encrypt. To limit the impact:

    • Start by reducing the TTL of the DNS records A and AAAA (for @ and www) to 5 minutes.
    • Wait for the previous TTL duration before making any changes.
    • The change below should be made during a period of low traffic to limit the inconvenience caused by the inevitable interruption.
    • At the end of the procedure, you will need to wait for the new TTL to propagate the new configuration and for the SSL certificate to be regenerated, then check the accessibility of the site in HTTPS to ensure that everything is working correctly.

    To switch to a dedicated IP 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 relevant product.
    3. Click on Web in the left sidebar.
    4. Click on Dedicated IPs in the left sidebar.
    5. Click on the button to dedicate the IP to a site on your hosting:
    6. Select the site to assign the new IP address to.
    7. Check the box after reviewing the warnings.
    8. Click on the Associate button:

     

    Remove a dedicated IP address from a website

    Once the IP is installed, to uninstall it:

    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 Web in the left sidebar.
    4. Click on Dedicated IPs in the left sidebar.
    5. Click on the action menu โ‹ฎ located to the right of the relevant item.
    6. Choose Unbind:
    7. Take note of the warnings and confirm the deletion to complete the IP uninstallation procedure.

     

    Refer to this other guide if you are looking for information on potential issues related to your IP.



    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 HTTP errors

    This guide helps you understand the various HTTP status codes.

     

    1xx - Information

    error 100: Continue
    The server has received the request headers and the client may continue to send the request body.

    error 101: Switching Protocols
    The server agrees to switch protocols as requested by the client.

     

    2xx - Success

    error 200: Request successful
    The request has been successfully processed by the server.

    error 201: Document created (reason: new URI)
    The request was successful and resulted in the creation of a new resource.

    error 202: Request completed asynchronously (TBS)
    The request has been accepted but processing is not yet complete.

    error 203: Incomplete request
    The server successfully processed the request, but the information returned comes from a third-party source.

    error 204: No Content
    The request was successfully processed, but there is no content to return.

    error 205: Request completed but form empty
    The server has successfully processed the request and asks the client to reset the document that submitted the request.

    error 206: Incomplete GET request
    The server returns only part of the data, as requested by the client with the Range header.

     

    3xx - Redirections

    error 300: The server cannot determine the return code
    The request has several possible responses, and the server cannot automatically choose one of them.

    error 301: Moved Permanently
    The requested resource has been permanently moved to a new URL.

    error 302: Document temporarily moved
    The requested resource is temporarily located at a different URL.

    error 303: Redirection with new access method
    The response to the request can be found under another URL using a GET method.

    Error 304: The field 'If-Modified-Since' was not modified
    The resource has not been modified since the last request. No new data will be sent.

    Error 305: Redirect to a proxy specified by the header
    The requested resource must be accessed through a specified proxy.

    Error 307: Temporary Redirect
    The requested resource temporarily resides under a different URL, but the client must use the same method to make the next request.

     

    4xx - Client Errors

    Error 400: Bad request
    The request is incorrect or malformed.

    error 401: No authorization to access the document
    Access to the resource requires authentication.

    error 402: Payment required
    This code is reserved for future use regarding online payments.

    Error 403: Forbidden
    The server understands the request but refuses to authorize it.

    Error 404: The requested page does not exist
    The server cannot find the requested resource.

    Error 405: Method Not Allowed
    The method specified in the request is not allowed for the target resource.

    Error 406: Request not acceptable by the server
    The requested resource is not capable of generating acceptable content according to the Accept headers sent in the request.

    Error 407: Proxy Authentication Required
    Access to the resource requires authentication by a proxy.

    Error 408: Request timeout
    The server did not receive the complete request within the time allowed.

    error 409: The user must resubmit with more information
    The request cannot be processed due to a conflict with the current state of the resource.

    Error 410: This resource is no longer available
    The requested resource is no longer available and this is permanent.

    error 411: The server refused the request because it has no length
    The server refuses to process the request without a valid Content-Length header.

    Error 412: The precondition given in the request has failed
    One of the conditions specified in the request headers has failed.

    Error 413: The request entity was too large
    The server refuses to process the request because the size of the entity is too large.

    Error 414: The request URI was too long
    The server refuses to process the request because the URI is too long.

    Error 415: Unsupported Media Type
    The server refuses to process the request because the format of the request entity is not supported.

     

    5xx - Server Errors

    Error 500: Internal Server Error
    The server encountered an unexpected condition that prevented it from fulfilling the request.

    error 501: Requested feature not supported by server
    The server does not support the functionality required to process the request.

    Error 502: Bad Gateway
    The server, acting as a gateway or proxy, received an invalid response from the upstream server.

    Error 503: Service Unavailable
    The server is not available at the moment (overloaded or maintenance).

    Error 504: Gateway Timeout
    The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.

    Error 505: HTTP Version Not Supported
    The server does not support the HTTP protocol version used in the request.



    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 an interruption between WordPress and the database

    This guide is for users making changes around a hosting environment where WordPress is installed.

     

    Preamble

    • Following a change in your web hosting plan (migration from the old v1 60 Go hosting formula to the current offers), you may need to update the connection between the MySQL/MariaDB database and your WordPress site (to avoid the error "error establishing a database connection" for example) and thus restore the link between WordPress and the MySQL/MariaDB database.

     

    Modify the important elements

    Here is the information to update in the wp-config.php file to ensure your WordPress site works (in most cases, a prefix has simply been added to the existing database name and username):

    1. the name of the MySQL database (database namebefore, abcd_database name after, for example)
    2. the MySQL database host server (mysql.domain.xyz before, abcd.myd.infomaniak.com after, for example)
    3. the username that accesses the MySQL database (userbddbefore, abcd_userbdd after, for example)

     

    Modify the WordPress wp-config.php file

    To do this:

    1. Find and keep your current MySQL information according to the list above.
    2. Create an FTP account.
    3. Log in via FTP.
    4. Edit the wp-config.php file located in the root folder of your WordPress site.
    5. Find the relevant paragraph and update the 3 pieces of information (according to the list above).
    6. Save the file and that's it, your WordPress will now connect to the correct database!


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

    This guide concerns RTMP (Real-Time Messaging Protocol), a service that allows for the streaming of multimedia content in real-time over the Internet:

    • It is a proprietary protocol developed by Adobe and its use requires the configuration of a dedicated RTMP server or the use of RTMP hosting services.
    • Viewers can access the live stream using an RTMP-compatible media player, such as VLC.
    • By default, RTMP is blocked by Infomaniak's security rules.
    • Contact Infomaniak support if you wish to have an exception set up:
      • You will need to provide the fixed IP address of the machine you wish to reach as well as the desired port number.


    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.