Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
This guide explains how to modify the PHP version used in the command line (PHP CLI) on an Infomaniak Web Hosting.
Preamble
- Useful for configuring a specific script or PHP command line (CLI) session.
- To modify the PHP version of the Web server (FPM/Apache) via the Manager, refer to this other guide.
Default PHP CLI version
The php command uses the default server version. Check the active version with this command:
# Check current PHP version
php -vFor the stability of your scripts, use an explicit path (e.g., php8.2) or modify your PATH variable.
Modify the PHP version in CLI
You can configure the PHP version automatically loaded in your SSH session via two main files.
1. Using .bashrc (Recommended)
The ~/.bashrc file is read when opening an interactive shell.
Open the file (or create it if it does not exist):
touch ~/.bashrc nano ~/.bashrcAdd this line to define the desired version (example with PHP 8.3):
export PATH="/opt/php8.3/bin:$PATH"Refresh the configuration:
source ~/.bashrcCheck the change:
php -v which php
2. Using .profile (Alternative)
The ~/.profile file is read upon SSH connection (login mode).
Modify the file:
nano ~/.profileAdd the export line:
export PATH="/opt/php8.3/bin:$PATH"
3. Load .bashrc systematically
To apply the configuration to all types of sessions, add this code to your ~/.bash_profile or ~/.profile files:
# Load .bashrc if it exists
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
Run a specific version temporarily
To run a script with a specific version without changing your global environment, call the binary directly:
# Execute with a specific version
/opt/php8.2/bin/php my_script.php
/opt/php8.3/bin/php -vOnce these steps are completed, your SSH sessions and CLI scripts will use the selected PHP version by default.
Link to this FAQ: https://faq.infomaniak.com/2108
Has this FAQ been helpful?
This guide explains how to upgrade a free Web Starter plan to a paid plan with more features, such as shared Web Hosting or Web Hosting on a Cloud Server.
Introduction
- When you purchase a domain name from Infomaniak, you can add 1 free email address and 10 MB of basic web space.
- With just a few clicks, you can upgrade this plan to enjoy a richer experience.
Modify the Starter plan - basic web page
To upgrade this free plan:
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click on the action menu â‹® located to the right of the item in question.
- Click on Modify plan:

- Follow the wizard to choose the new type of hosting, and pay to complete the plan change.
Link to this FAQ: https://faq.infomaniak.com/2111
Has this FAQ been helpful?
This guide explains how to create a homepage on your Infomaniak website using the welcome page creation tool, a simplified tool for creating content quickly and easily. To create a more complete website, there is Site Creator.
Prerequisites
- You must have a website on Infomaniak hosting (even a simple Starter, the basic web page to be activated if necessary).
Create a welcome page on an Infomaniak site
To access the simple creation tool:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site in question.
- Click on Page & Maintenance in the left-hand menu:

- Check or select the domain name of the site on which you want to install the web page.
- Click on ‍ Create a homepage or Customize:

You can then choose a theme, define the text visible to your visitors, insert an image into the page body, manage the SEO content of your page, add a background image, specify social media usernames if necessary, etc., and all of this can be modified at any time.
Click on the blue button at the bottom of the page to save and publish your changes.
Please note that the tool can be used in conjunction with FTP management of your web hosting if necessary.
Disable and delete the welcome page
To delete the home page that has been automatically placed at the root of your website's directory:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Page and maintenance in the left-hand menu.
You can delete the welcome page using the trash can icon; this will permanently delete the content of the welcome page!
‍
Link to this FAQ: https://faq.infomaniak.com/2115
Has this FAQ been helpful?
This guide explains how to access the configuration of an Infomaniak website to display technical information such as the PHP, Apache version, or the activated PHP extensions and modules.
View the website's technical information
To access the website management:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on Manage advanced settings:

- Take note of the website information under the General, PHP / Apache and PHP Extensions tabs.
- Click on Databases in the left sidebar to get the MySQL version of the web hosting:

Link to this FAQ: https://faq.infomaniak.com/2116
Has this FAQ been helpful?
This guide explains how to run the open-source dependency manager Composer 2 using an SSH command.
Introduction
- Composer is an open-source dependency manager for PHP that allows you to define, install, and update the libraries required for a PHP project.
- Composer 1 has been deprecated since 2021 and no longer allows you to install new packages or perform updates since 2025.
- Only version 2 of Composer is now supported and available on all PHP versions from 7.2 to 8.3.
Run Composer 2
Composer 2 is already pre-installed and accessible via SSH. Therefore, there is no need to install it manually.
Simple usage
Connect to your hosting via SSH, then use the following command:
composerThis command will automatically execute Composer version 2, which is compatible with the PHP version currently in use in your session.
Check the active version
You can check the available Composer version with:
composer --versionExample output: Composer version 2.5.0 2022-12-20 10:44:08
Force a specific PHP version
If you want to run Composer with a specific PHP version, aliases are available. For example:
composer_php8.1 --versionor:
composer_php7.4These aliases allow you to run Composer 2 with the specified PHP interpreter, which is useful for testing or deploying a project on a target PHP version.
Link to this FAQ: https://faq.infomaniak.com/2118
Has this FAQ been helpful?
This guide concerns Laravel, an open-source web framework written in PHP following the model-view-controller (MVC) principle. Also refer to their documentation.
Prerequisites
- Have a Shared Web Hosting or Cloud Server with the latest MySQL/MariaDB.
- Site under PHP 8.2.
- Create an SSH access.
- Create a database.
Installation of Laravel 11
To do this:
- Log in to the server via SSH (need help?).
- Navigate to the site directory by running the command “cd path-to-site” (for example
cd sites/laravel.domain.xyz). - Create a new project by running the command
composer create-project laravel/laravel example-app. - Modify the
.envfile at the root of the hosting to update the connection parameters to 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
- Navigate to the project directory and publish via SSH:
cd example-appphp artisan migrate - 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: https://faq.infomaniak.com/2119
Has this FAQ been helpful?
This guide explains how to allow certain incoming and/or outgoing ports in the firewall(firewall) for a web hosting or a Cloud Server.
Introduction
- On a shared web hosting plan, it is only possible to open outgoing ports.
- On a Cloud Server, it is possible to open incoming and outgoing ports.
- Opening ports ensures the proper functioning of certain applications but may reduce the security of your hosting.
Access the tool and add a rule
To manage port openings from the Manager:
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting in question.
- Click on Security in the left-hand menu.
- Click on Port Forwarding in the left-hand menu.
- Click on the Open a Port button:

Open a port
You can only specify one port per rule, and only one IP/host per field:
By specifying an IP address or host, the connection will only be allowed in the following cases:
Incoming rule: if the connection comes from this IP address or the specified hostOutgoing rule: if the connection is made to this IP address or host
The same applies to the connection "Type": if the protocol used for the connection is not the one specified in the rule, the connection is not allowed.
Globally open outgoing port 25
You can open outgoing port 25 from the manager if a destination host is specified.
With a Cloud Server, to open this port to the entire world, contact Infomaniak support and justify your request.
Ports opened by default
Once you access the port opening tool, you will find the list of ports that are open by default on the page.
With a Cloud Server, to exceptionally close some of the listed ports, contact Infomaniak support and justify your request.
The display may sometimes be spread across multiple pages:
MySQL Ports
Regarding database ports, please refer to these guides:
Check the activity of a port (Cloud Server)
On Cloud Server, to check if an application is listening on a specific port (1234 in the example below) and to find out the name of the application in question, run the following command via SSH:
netstat -anpe | grep "1234" | grep "LISTEN"Link to this FAQ: https://faq.infomaniak.com/2126
Has this FAQ been helpful?
This guide explains how to migrate a shared web hosting account to a Cloud Server while recovering all its data, websites, databases, etc.
Introduction
- Note:
- Database names and database user accounts are preserved.
- FTP accounts are preserved with the same names, but the host server changes to an address of the type
xxxx.ftp.infomaniak.com. - The IP addresses of the websites will change, except for dedicated IP addresses.
- During this operation, statistics are reset.
- If you already have a Cloud Server, go directly to step 2 of this guide.
- To migrate a web hosting account from a Cloud Server to another Cloud Server, please refer to this other guide.
- To migrate a web hosting account from a Cloud Server to a shared web hosting account, please refer to this other guide; please note that this is an operation that you will need to perform manually.
1. Order a Cloud Server
To do this:
- Click here to access the Cloud Server management section in the Infomaniak Manager (need help?).
- Click on Order, choose a Managed Cloud Server, and follow the wizard to complete the order:

2. Migrate your hosting to the Cloud Server
Once the Cloud Server is up and running:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click on the action menu â‹® located to the right of the item in question.
- Click on Modify offer:

- Select the free transfer offer.
- Select the Cloud Server to which you want to migrate your hosting:
‍ - Click on the Next button at the bottom of the page and complete the procedure.‍
- Wait for the hosting migration to complete; there will be a service interruption during the process.
Link to this FAQ: https://faq.infomaniak.com/2127
Has this FAQ been helpful?
This guide explains how to backup or export a MySQL/MariaDB database via the Infomaniak Manager or via SSH.
Export a database via the Manager
To export an Infomaniak database:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on the chevron to the right of Databases in the left sidebar menu.
- Click on Databases in the left sidebar menu.
- Click on the action menu â‹® to the right of the object concerned in the table that appears.
- Click on Export (or on Download a backup):

- Click on the export method and choose the database to download from the dropdown menu.
- Click on the Next button:

- Click on any desired instructions:
- Compression
Gzip Drop TableCreate Table if not existsInsert ignore into
- Compression
- Click on the Export button.
Export a database via SSH
If you cannot export the database via the console or if the database is large:
- If necessary, create an FTP SSH account.
- Connect to the server via SSH (need help?).
Customize and run the following SSH command:
# Usage: mysqldump --host=[hostname] -u [username] --password=[password] [database_name] --no-tablespaces > [output_file.sql] mysqldump --host=db_host -u db_user --password=db_password db_name --no-tablespaces > backup.sql- Wait for the SSH command to run (the terminal may freeze for a few seconds).
- Connect to the server via an FTP software/client.
- Download the generated SQL file.
Additional help
Example of command to execute at step 3 of the second procedure:
# Example with standard credentials mysqldump --host=abcd.xyz.infomaniak.com -u abcd_test --password=your_secret_password abcd_test --no-tablespaces > backup.sql- Refer to this other guide if you are looking for information related to the MySQL server, database username and password.
Link to this FAQ: https://faq.infomaniak.com/2128
Has this FAQ been helpful?
This guide explains how to install a free SSL certificate from Let's Encrypt on a website hosted by Infomaniak.
Introduction
- Once the certificate is installed, your website will be accessible via
httpandhttps… - If you want to include a domain alias that was recently added to your site, which already had a certificate, you need to update it.
- For multiple subdomains, please refer to this other guide.
- Let's Encrypt limits certificate installation to:
- 100 subdomains
- 20 certificates per 7 days per registered domain
- 5 unsuccessful requests per account per hostname per hour
Install a free SSL certificate on a site
Prerequisites
- For the installation to be possible, the DNS records for the domain name must be correctly configured to point to the site in question.
- If a change has just been made at this level, some operations may not be functional immediately.
To access the websites to install an SSL certificate:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click on the action menu â‹® located to the right of the website in question.
- Click on Install an SSL certificate:

- Choose the free certificate.
- Click on the Next button:

- Check or select the domains concerned.
- Click on the Install button:

- Wait a few minutes for the certificate to be obtained for the website.
Refer to this other guide if you encounter SSL errors and to this other guide specifically if you are using Cloudflare.
Link to this FAQ: https://faq.infomaniak.com/2130
Has this FAQ been helpful?
This guide suggests solutions to resolve common issues and frequent errors that may occur when you try to display your website in https after activating an SSL certificate.
Â
The web browser automatically displays the http version of the site when you try to access it in https
It is recommended to perform the following actions:
- Clear the cache of your applications or website.
- Check that the pages and scripts of the site do not contain redirects to the
httpversion of the site. - Check that the site's
.htaccessfile does not contain redirects to thehttpversion of the site. - Set the
httpsaddress of the site as the default:
Â
The website is not displaying correctly (missing images, unsupported stylesheets, etc.) or displays a warning in the address bar
It is recommended to perform the following actions:
- Clear the cache of your applications or website.
- Check that the pages and scripts do not point to external resources using
http; the whynopadlock.com website can help you identify the insecure elements of your site. - Also, refer to this other guide on the subject.
Â
"This webpage contains a redirect loop", "ERR_TOO_MANY_REDIRECTS"
If your web browser displays this error, it is recommended that you perform the following actions:
- If the website uses a web application such as WordPress or Joomla, disable the extensions one by one to identify the one causing the problem.
- Check that the website's pages and scripts do not contain redirects to the http version of the site.
- Try to disable HSTS.
- If Prestashop is used, SSL must be activated on all pages:
- Add your SSL domain:
- Go to Preferences > SEO & URLs.
- In the "Shop URL" section, enter your site's address in the "SSL domain" field (without
https://, justwww.domain.xyz).
- Activate SSL:
- Go to Preferences > General Settings.
- At the top of the page, click on "Click here to use the HTTPS protocol before activating SSL mode."
- A new page will open with your site in the secure HTTPS version.
- Force the use of SSL on the entire site:
- Go back to Preferences > General Settings.
- Set the "Enable SSL" option to YES.
- Also, set "Force SSL for all pages" to YES.
- Add your SSL domain:
Â
An old SSL certificate is displayed - clear the SSL cache
Web browsers cache SSL certificates to speed up browsing. Normally, this is not a problem. However, when you are developing pages for your website or installing a new certificate, the browser's SSL status may be a hindrance. For example, you may not see the padlock icon in the browser's address bar after installing a new SSL certificate.
The first thing to do in this case is to make sure that the domain is pointing to the server's IP address (A and AAAA records), and if the wrong SSL certificate is still being returned, clear the SSL cache:
- Chrome: go to Settings and click on Settings. Click on Show advanced settings. Under Network, click on Change proxy settings. The Internet Properties dialog box appears. Click on the Content tab. Click on Clear SSL state, then click OK. See other solutions in this other guide.
- Firefox: go to History. Click on Clear Recent History, then select Active Connections and click on Clear Now.
Â
Loss of CSS formatting
If the website is displayed without CSS styling, analyze the page loading process using the browser's Console. You may find mixed content errors related to your .css styles, which will need to be resolved so that they can be loaded correctly again.
Â
Cloudflare
If you are using Cloudflare, please refer to this other guide for more information.
Link to this FAQ: https://faq.infomaniak.com/2131
Has this FAQ been helpful?
This guide explains how to disable or configure HSTS for a website.
Â
Introduction
- When HSTS is enabled for a website, the server instructs the website visitor (if their web browser is compatible) to replace all insecure links with secure links.
- Example:
http://www.domain.xyz.com/one/page/is automatically replaced withhttps://www.domain.xyz/one/page/. - After enabling an SSL certificate on a website, HSTS is configured as follows:
max-age=16000000.
Â
Disable HSTS…
Â
… with a CMS (WordPress, Joomla, etc.)
Include the following line in all pages generated by the CMS:
header( 'Strict-Transport-Security: max-age=0;' );For WordPress, you can, for example, add this directive to the functions.php file of your theme:
add_action( 'send_headers', 'add_header_xua' );
function add_header_xua() {
header( 'Strict-Transport-Security: max-age=0;' );
}More details on WordPress
Â
… with a PHP site
Include the following line in all PHP pages:
header( 'Strict-Transport-Security: max-age=0;' );To do this without having to modify each PHP page of a website, you can use the auto_prepend_file directive in the .user.ini file of the website in question:
auto_prepend_file=/home/clients/xxxx/web/hsts_disable.php... with the following hsts_disable.php file:
header( 'Strict-Transport-Security: max-age=0;' );… with a website containing static content (not PHP)
Â
… avec un site au contenu statique (non PHP)
Include this header in a .htaccess file:
# BEGIN DISABLE HSTS
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=0; includeSubDomains;"
</IfModule>
# END DISABLE HSTSÂ
Customize HSTS
The default value can be modified in your website's PHP files using the following directive:
header( 'Strict-Transport-Security: max-age=X; includeSubdomains; preload' );(X being the desired number of seconds).
Â
Enable HSTS for all hosted subdomains
includeSubDomains; is enabled by default, and as its name suggests, it includes subdomains in "Strict Transport Security".
When a visitor accesses an unsecure subdomain, the browser will automatically redirect to HTTPS and trigger a security error.
If this behavior is not desired, this header must be removed.
Â
Clear the browser's HSTS cache…
… on Chrome
- In Chrome, type
chrome://net-internals/#hsts. - Enter the domain name in the text field in the "Delete domain security policies" section.
- Click the Delete button.
- Enter the domain name in the text field in the "Query HSTS" section.
- Click on the Query button.
- The response should be "
Not found".
… on Safari
- With Safari, start by closing the browser.
- Delete the
~/Library/Cookies/HSTS.plistfile. - Reopen Safari.
… on Firefox
- With Firefox, close all tabs.
- Open the Firefox menu and click on History / Show History.
- Find the page for which you want to delete the HSTS preferences.
- Right-click on one of the corresponding entries.
- Choose Forget this site.
Link to this FAQ: https://faq.infomaniak.com/2133
Has this FAQ been helpful?
This guide provides information about the robots.txt file created by default for web hosting services where this file is missing.
Introduction
- The
robots.txtfile acts as a guide for search engine crawlers. - It is placed in the root directory of a website and contains specific instructions for these crawlers, indicating which directories or pages they are allowed to crawl and which they should ignore.
- However, please note that robots may choose to ignore these directives, making
robots.txta voluntary guide rather than a strict rule.
File content
If the robots.txt file is missing from an Infomaniak website, a file with the same name is automatically generated with the following directives:
User-agent: *
Crawl-delay: 10These directives instruct bots to space out their requests by 10 seconds, which prevents unnecessary overloading of the servers.
Override the default robots.txt file
It is possible to bypass the robots.txt file by following these steps:
- Create an empty
robots.txtfile (it will only serve as a placeholder so that the rules do not apply). - Manage the redirection of the URI (Uniform Resource Identifier)
robots.txtto the file of your choice using a.htaccessfile.
Example
RewriteEngine On RewriteCond %{REQUEST_URI} /robots.txt$ RewriteRule ^robots\.txt$ index.php [QSA,L]
Explanation
Explications
- The
mod_rewritemodule of Apache is enabled to allow redirects. - The condition
RewriteCond %{REQUEST_URI} /robots.txt$checks if the request concerns therobots.txtfile. - The rule
RewriteRule ^robots\.txt$ index.php [QSA,L]redirects all requests torobots.txttoindex.php, with the[QSA]option which preserves the request parameters.
It is recommended to place these instructions at the beginning of the .htaccess file.
Link to this FAQ: https://faq.infomaniak.com/2136
Has this FAQ been helpful?
This guide is about IP addresses, including…
- … those assigned to websites/hosting/servers, dynamic or static IPs, shared or dedicated IPs,
- … assigned by your Internet Service Provider (ISP) when establishing an Internet connection to your Infomaniak product.
Â
Introduction
- A dedicated or static IP address for a website is a permanent IP address that is specifically assigned to it.
- Unlike a shared IP address, which is used by multiple websites, a dedicated IP address ensures that only this platform is associated with that address.
- Dedicated IP addresses for websites are often used in cases where stability, customization, and security are important, such as hosting servers, configuring firewalls, or enabling SSL certificates (although it is possible to proceed without a dedicated IP address to install an SSL certificate).
- Here are the main advantages:
- Configuring a PTR record or reverse DNS on dedicated IPs is useful, especially for installing a mail server, because some email providers check the PTR record before accepting emails sent from a server.
- Improved connection stability.
- Reduced risk of a bad reputation due to websites sharing the same IP address.
- Easier configuration of certain technical aspects.
- A dedicated IP can improve a website's search engine ranking (although there are differing opinions among SEO specialists).
- Note: Infomaniak does not allow access to websites via HTTP(S) using dedicated IPs on managed servers; you must use a domain name that points to the IP (or use the preview URL).
Â
Add a dedicated IP to the website
To add a dedicated IP to your website, please refer to this guide.
If you are experiencing issues when directing web traffic to a specific port, please refer to this other guide.
Â
Blocking the IP address (Internet connection)
If you can no longer access…
- … all your email addresses that you have with Infomaniak (which usually work fine) and this using an email software/client from a single Internet network (i.e., from the same IP address provided by your ISP)…
… or if you have unfortunately performed this type of operation:
- repeated, unsuccessful connection attempts via FTP, SSH, or on access points such as the WordPress login…
- requests returning too many errors, such as a large number of 403 errors…
… your access to Infomaniak servers may be blocked following the banning of the IP address (banip / ipban) of your internet connection.
To resolve this, contact Infomaniak support by email, specifying the domain concerned and, above all, your public IP address.
Â
Permanent unblocking (IP whitelisting)
With a Cloud Server, you can request that the IP address in question be permanently whitelisted so that the blocking never happens again, regardless of the situation. To do this, you must:
- Have a dedicated IP associated with your Cloud Server.
- Be aware that Infomaniak will no longer block any potential attacks originating from this IP.; malicious attacks or access attempts originating from this address will no longer be automatically blocked by the security systems.
- Confirm via email and from a contact addressassociated with the account (owner or administrator), and that you understand and accept full responsibility in the event of an attack originating from this IP address.
Link to this FAQ: https://faq.infomaniak.com/2138
Has this FAQ been helpful?
This guide explains how to order, link or remove a dedicated IP from a website.
Manage dedicated IPs on hosting
Order one or more first dedicated IP addresses
To do this:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on the chevron to the right of Advanced Tools in the left sidebar menu.
- Click on Dedicated IPs in the left sidebar menu.
- Click the button to order one or more IP addresses:

- Increase according to the number of desired IPs:

Order one or more additional dedicated IP addresses
To do this:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned.
- Click on the chevron to the right of Advanced Tools in the left sidebar menu.
- Click on Dedicated IPs in the left sidebar menu.
- Click on the text to order one or more additional IP addresses:

- Increase according to the number of desired IPs.
Link a dedicated IP address to a website on hosting
Once the IP is ordered and paid for, be aware of the prerequisites below as switching to a dedicated IP address for a website can cause temporary disruption, especially in the presence of a Let's Encrypt SSL certificate.
Prerequisites
- Start by reducing the TTL of DNS records
AandAAAA(for@andwww) 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 disruption.
- At the end of the procedure, you will need to wait for the new TTL to propagate the new configuration and regenerate the SSL certificate, then check the accessibility of the site in HTTPS to ensure everything is working correctly.
To switch to a dedicated IP address:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned.
- Click on the chevron to the right of Advanced Tools in the left sidebar menu.
- Click on Dedicated IPs in the left sidebar menu.
- Click the button to associate the IP with a site on your hosting:

- Choose the site to assign the new IP address to.
- Check the box after reading the warnings.
- Click the Associate button:

Remove a dedicated IP address from a website
Once the IP is installed, to uninstall it:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned.
- Click on the chevron to the right of Advanced Tools in the left sidebar menu.
- Click on Dedicated IPs in the left sidebar menu.
- Click on the action menu â‹® located to the right of the item concerned.
- Choose Unlink:

- Read 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: https://faq.infomaniak.com/2139
Has this FAQ been helpful?
This guide explains how to migrate a Web Hosting from MySQL to MariaDB.
Preamble
- MariaDB is an enhanced version of MySQL, featuring numerous powerful built-in features and many improvements in terms of usage, security, and performance:
- MariaDB has a larger connection pool supporting up to 200,000 connections, whereas MySQL has a smaller connection pool.
- When comparing the performance of MariaDB and MySQL, it is observed that replication is faster in MariaDB and slower in MySQL; MariaDB is faster than MySQL overall.
- MariaDB is Open Source, whereas MySQL uses proprietary code in its Enterprise edition.
- The update to MariaDB is irreversible, and all sites on your hosting will subsequently run with this version of MariaDB.
- Check the compatibility of your scripts before proceeding.
- During this operation, the statistics are reset.
Using MariaDB instead of MySQL
To migrate a Web Hosting to MariaDB:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product concerned.
- Click on Databases in the left sidebar.
- Click on the link Migrate to MariaDB.
To migrate a Cloud Server, refer to this other guide regarding the migration to a new generation of Cloud Server.
Link to this FAQ: https://faq.infomaniak.com/2147
Has this FAQ been helpful?
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:
- The 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 sending from your applications; Infomaniak offers a corresponding service.
Specify the sender's address
For messages to be sent correctly from your CMS/web application (and to avoid an error 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:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on Manage advanced settings:

- From the General tab, enter an existing email address in the Sender's email field.
- Click on the blue Save button:

Re-enable the mail function
If you still want to use the PHP mail function, you will need to activate it on each of the sites of your concerned Web Hosting:
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on Manage advanced settings:

- Click on the PHP / Apache tab:

- Activate the mail function:

- Click on the Save button at the bottom of the page to validate the changes.
PHP mail() examples...
...on WordPress
Configure the sending of the default contact form included with Divi Builder:
- Log in to the WordPress admin dashboard.
- Go to the Divi editor of the page containing the contact form.
- Click on the Settings icon to configure the Divi contact form:

- Under EMAIL, enter the email address that will receive the form submissions and save:

- By default, when a visitor uses the form to contact you, you will receive an email from
mail@your-site-nameand 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 Prestashop advanced settings:
- Specify the SMTP mode.
- Enter
localhostas the server. - Enter port
25. - Do not specify a username or password.

... on Joomla
Configure email sending via PHPmail (not recommended) in Joomla:
- Log in to the admin dashboard of your Joomla site.
- Go to Configuration then Server.
- Do not enter ANYTHING in the Site Email field:

This unfortunately prevents any test sending via the button for this purpose, but it will work if you configure a contact form on your site. Click on Save once the box is left empty.
PHP mail() reply address
When sending an email with PHP's mail() function, the return-path will be written in the form root@h2web3.infomaniak.ch for example. However, the header Reply-To: present in the code of your form allows you to specify a valid reply address.
Link to this FAQ: https://faq.infomaniak.com/2150
Has this FAQ been helpful?
This guide explains why using an outdated version of PHP that is no longer officially supported is dangerous and how to use a more recent version of PHP with a website hosted by Infomaniak.
Â
Is an outdated version of PHP dangerous?
When you use a PHP version that is (soon) vulnerable on one or more of your websites, a warning message will appear in the dashboard of the hosting accounts concerned.
The PHP language is constantly evolving, and when you use a PHP version that is no longer updated, you expose your website to security risks. Malicious individuals could, for example, exploit known security vulnerabilities to gain access to your site and modify its content. It is therefore strongly recommended to always use a recent version of PHP.
3 situations are possible:
- the PHP version is fully supported: no action is required
- this PHP version only receives security updates: it is recommended to use a more recent version of PHP
- the PHP version is no longer supported: it is strongly recommended to use a more recent version of PHP
Â
Using a more recent version
The latest versions of PHP offer improved performance and accelerate website loading times.
Before using a more recent version of PHP, it is important to follow these precautions:
- If your website uses a CMS or web application(WordPress, Joomla, Drupal, etc.), ensure that the current version of the CMS is supported by the PHP version you wish to use.
- If your website was developed manually, consult the official PHP documentation to learn about the modified functions and any potential changes that may affect the operation of your code.
If a malfunction occurs after migrating to a newer version of PHP, it is sometimes possible to revert to a previous version, provided that it is still supported!
Link to this FAQ: https://faq.infomaniak.com/2151
Has this FAQ been helpful?
This guide explains how to order Web Hosting at Infomaniak.
Already a customer, you already have hosting
To order an additional hosting:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click on the supermarket cart icon:

If you already have web hosting, you can also add a site to an existing hosting without ordering or paying for new hosting (multi-site/multi-domain management).
Order new Infomaniak web hosting
To order your first web hosting:
- If necessary, create a user account.
- Click here to access the Infomaniak Manager.
- Click on Hosting (Web & Domain universe):

- Click to order new hosting:

- Once on the Shop, check that you are ordering in the desired Organization (select another from the list if necessary or create a new one at point 6 below):

- Confirm your choice by clicking on the blue button at the bottom of the page (or first create a new Organization if necessary using the dedicated blue link):

- At the top, enter the domain name of your hosting and click on Search (even if you already manage it with another registrar):

- Two scenarios are then possible:
- You do not yet own the domain name: check the information and options on the screen, then click on the Next button:

- You own and manage your domain names with another registrar: click on the action menu â‹® to the right of the domain name to Order hosting only:

- You do not yet own the domain name: check the information and options on the screen, then click on the Next button:
- Choose the hosting that suits you.
- Click on Next.
- Complete the order.
Link to this FAQ: https://faq.infomaniak.com/2154
Has this FAQ been helpful?
This guide explains how to update a Let's Encrypt SSL certificate for a website hosted by Infomaniak.
Introduction
- It may be necessary to regenerate a certificate after adding or removing aliases from a website in order to include the new domain names associated with the website.
- The dashboard will clearly indicate that one of the domains associated with the website is not included in the current SSL certificate:

Updating a Let's Encrypt Certificate
To access certificate management:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question:

- Click on the action menu â‹®.
- Click on Update certificate:

- Check or select the domains concerned.
- Click on the Install button:

Link to this FAQ: https://faq.infomaniak.com/2155
Has this FAQ been helpful?