Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
This guide explains how to connect via SSH to a Web Hosting or a Cloud Server.
Connect via SSH…
… via a Web Browser
- Click here to access the management of your hosting on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting concerned:

- Click on FTP / SSH in the left sidebar menu.
- Click on the SSH Console button:

… via the terminal or an application
To connect via SSH, use the following commands from a Terminal type application (command-line interface, CLI / Command Line Interface) on your device, for example:
- Terminal (application already integrated with macOS and Linux)
- PuTTY (Windows)
- Windows 10 SSH Client (help in French / in English)
Then enter the following command:
ssh username@serverusernamebeing the username of the FTP accountserverbeing the host server (e.g. xxxx.ftp.infomaniak.com)
To know which command is available and the path to use, run the command "whereis":
$ whereis mysql
mysql: /opt/mysql/bin/mysqlLink to this FAQ:
Has this FAQ been helpful?
This guide explains how to add a new domain name to a Web site Infomaniak.
Preamble
- When you add a new domain name to a website, it is referred to as a linked domain but also as an alias.
- In this case, an alias domain is an additional domain name, also linked to an existing site.
- For the website
domain.xyzto be reachable with a completely different domain name such asprivate.abcfor example, you need to addprivate.abcas an alias to the website. - Second example, for the site
domain.xyzto also be reachable withwww.domain.xyz, you need to add it as an alias to the domaindomain.xyz. In this example,domain.xyzis the parent site of the aliaswww.domain.xyz. Generally, the aliaswwwis already added automatically and present…
- For the website
Adding an alias to an existing site
Prerequisites
- If the domain name (intended to become an alias) or its DNS zone is managed by Infomaniak, everything is OK. If not:
- The A record of the domain name must point to Infomaniak.
- To simplify, you can delegate the management of the domain to Infomaniak.
- It is also necessary that the future alias is not already one, in which case it will be necessary to unlink it from the current site beforehand (same if synonym).
To add an additional domain that will be linked to your website:
- 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:

- Then click on the chevron to expand the Domains section of this site.
- Click on the Add a domain button:

- Enter the domain name(s) to be added, separating them with the Enter key.
- If the alias or its DNS zone is managed by Infomaniak, it is possible to automatically update the DNS entries. In the opposite case, make any necessary changes with your registrar or transfer the management of the domain name to Infomaniak.
- If you have an SSL certificate such as Let's Encrypt, for example, you can request to update it here to include the new names.
- Click on Validate to complete the procedure:

To set the alias as the main domain, refer to this other guide.
Link to this FAQ:
Has this FAQ been helpful?
This guide details the technical and administrative aspects of hosting multiple websites on the same platform.
Technically
A hosting includes different websites. It is therefore possible to add multiple websites to a hosting (multi-site / multi-domain management). In this case, the resources of the hosting (disk space, databases, script execution time and memory, etc.) are shared among the different websites of the hosting.
The base Cloud Server plan contains a certain number of hostings (for example 5) and a higher number of websites (for example 20). In this example, this means that you can create 20 websites (with 20 different domain names/subdomains) that you can organize freely on your 5 hostings.
Administratively
At the Organization level on the Infomaniak Manager, management and access rights cannot be assigned to a specific website on a hosting. A user that you add to the Organization cannot have a right limited to a single site; they will always access the entire hosting.
At the server data level, however, it is possible to create an FTP user restricted to a specific folder (in this case, it will need to be limited to the folder where the site is located).
Limited management of one site among others on the same hosting can also be considered directly within the tool used for the site (WordPress user management for example).
Link to this FAQ:
Has this FAQ been helpful?
Supervisor is not offered directly because systemd is recommended, better integrated with Debian, and available in Fast installer.
If you still need to install it, contact Infomaniak support in writing.
Link to this FAQ:
Has this FAQ been helpful?
This guide details the procedure for establishing your first SSH connection on an Infomaniak Cloud VPS or VPS Lite.
Connection via Windows (PuTTY)
On Windows, the reference tool is PuTTY.
Your private key must be converted to .ppk format to work.
Step A: Conversion with PuTTYgen
- Launch PuTTYgen.
- Click on Load to load your current private key.
- Click on Save private key to generate your
.ppkfile.
Step B: PuTTY Configuration
- In Session enter the server's IP address in "Host Name".
- In Connection > SSH > Auth click on Browse to load your
.ppkfile. - Click on Open.
- A window opens: enter your username.
Connection via a Unix terminal (macOS and Linux)
Use the native SSH client of your system by opening a terminal.
The syntax is as follows:
ssh -i [key_path] [user]@[server]
Details of the parameters
[key_path]: Path to your private key file (generated or imported during the command).[user]: Username (see the table of distributions below).[server]: IPv4 address of your VPS, available in the Manager.
Note on permissions: If you get an error of type "UNPROTECTED PRIVATE KEY FILE", secure your key with the following command:chmod 400 [key_path]
List of default users
Use the identifier corresponding to the Linux distribution installed on your server:
| Linux Distribution | Default User |
|---|---|
| Ubuntu | ubuntu |
| Debian 8 and later versions | debian |
| Debian 7 and earlier versions | root |
| AlmaLinux | almalinux |
| Arch Linux | arch |
| CentOS | cloud-user |
| Fedora | fedora |
| FreeBSD | freebsd |
| OpenBSD | openbsd |
| openSUSE Leap 15 | opensuse |
| openSUSE 42 / SLES | root |
| RancherOS | rancher |
Note: the user is always the one defined by default by the publisher of the distribution.
Switching to Administrator (Root) mode
For security, the initial connection is not made directly as root.
To gain full control over the system, run:
sudo -iThis command loads the complete root user environment (system variables and personal directory).
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to add a MySQL/MariaDB database, create or modify users, and how to find all the necessary parameters to configure your scripts and CMS on a Web Hosting.
Manage databases
To access the database management page of your hosting:
- Click here to access your hosting management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the hosting concerned.
- Click on Databases (or MariaDB if necessary) in the left sidebar to access the Databases and Users menu:

Databases
Under the Databases tab you can:
- Create a MySQL/MariaDB database by clicking on the Add a database button.
- Import, export or restore a MySQL database by clicking on the dropdown to the right of the Add button.
Users
Under the Users tab you can:
- Create a MySQL/MariaDB database user by clicking on the Add a user button.
Configuration information
This is also where you will find the required information to configure CMS or Web applications:
- The name of a database (e.g.
XXXX_dbname) - The username of a database (e.g.
XXXX_username) - The password of the username of a database (the one you chose when creating the MySQL/MariaDB user to reset if you forgot it)
- The MySQL/MariaDB server of the databases / the hostname (e.g.
XXXX.myd.infomaniak.com) with its version (5.7 for example)
User rights, shared servers & Cloud
- With read permissions: “SELECT”
- With write permissions: “INSERT, UPDATE, DELETE, CREATE TEMPORARY TABLES, LOCK TABLES”
- With admin permissions: “CREATE, DROP, INDEX, ALTER, CREATE VIEW, SHOW VIEW, REFERENCES”
- + “CREATE ROUTINE, ALTER ROUTINE, EXECUTE, TRIGGER, EVENT” on Cloud Server only (see this other guide on this subject)
- With no permissions: the user will not see the database appear in phpMyAdmin
Web application databases
- See this other guide on WordPress.
- See this other guide on Joomla.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to add an additional website to an existing Infomaniak hosting plan.
Preamble
- The hosting can be on a shared web hosting plan or on an Infomaniak Cloud Server.
- The additional site can be either:
- a second domain name (for example.
domain2.xyz), - or a subdomain (for example.
abc.domain.xyz) of a domain name that you already own.
- a second domain name (for example.
- In this multisite/multidomain management (virtual host), the total disk space and resources of your hosting are shared between your sites/subdomains.
Access site management
Prerequisites
- If the 20 site slots offered in the Web hosting are already in use, order additional sites.
To access a web hosting plan and add a site:
- Click here to access the management of your products in the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click the blue button Add:

- Choose the optional content for the new site (A) or other specific installation, blank space, advanced technologies (Node.js for example) (B):

- Click on Next.
- Choose the type of domain to assign to this new site:
- an already acquired domain name
- a subdomain created from an already acquired domain name
- a domain name still available and to order
- Enter the domain name (
domain2.xyz, for example) or the subdomain.
- Choose the optional advanced options, including:
- By default, the new site is added to the directory
/sites/domain2.xyzon your FTP server. - To manually set another directory, check Set location manually and indicate the path and name.
- Create a new folder if necessary:

- By default, the new site is added to the directory
- Click on Continue.
If it's a subdomain or if the domain name or its DNS zone is managed by Infomaniak, it is possible to automatically update the existing DNS entries. Otherwise, make the necessary changes with your registrar or transfer the management of the domain name to Infomaniak.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to find out the operating system version of the server for your Web Hosting.
Preamble
- Even if Debian or a package seems outdated, the displayed versions do not present any vulnerabilities:
- Infomaniak keeps them up to date via regular internal patches on all components and systems used.
- The versions are chosen for their stability and then strengthened by security measures that standard tests do not detect.
- If you or your clients identify a vulnerability in an Infomaniak product, please submit a POC. Although rare, these cases are handled quickly.
- Data security is the responsibility of the user: Infomaniak cannot be held responsible for poor management or use of access credentials.
What OS on my site?
To find out the version:
- Log in to the server via SSH (need help?).
Run the following command:
lsb_release -aYou will get information of this type:
Distributor ID: Debian Description: Debian GNU/Linux 7.9 (wheezy) Release: 7.9 Codename: wheezy
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to remove 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 allows you to create a new Web Hosting or distinct site for the domain name thus unlinked.
Prerequisites
- Have dissociated the synonym domain name from the main domain name if there was an association before.
Remove the alias domain
To remove an alias domain from your site:
- 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 the chevron to expand the Domains section of this site.
- Click on the action menu ⋮ to the right of the domain to be removed.
- Choose Unlink:

Confirm the deletion of the alias:
- If necessary, you can choose to delete the DNS records related to the domain…

Link to this FAQ:
Has this FAQ been helpful?
This guide allows you to quickly use the essential functions of your new Cloud Server.
Install an application
- Create a WordPress website
- Install a web application (ownCloud, Joomla, Typo3, Drupal, phpBB, Simple Machines Forum, Magento, Prestashop, …)
- Install applications/technologies on Cloud Server (Fast Installer)
Configure the server
- Manage your MySQL databases
- Manage MySQL limits
- Manage your FTP accounts/users
- Manage and publish files on your hosting via FTP
- Modify resources and configuration
Manage sites and domains
If your domain name is not managed by Infomaniak or if your hosting is not managed in the same user account as your domain name, refer to this other guide to configure the DNS or records to link the domain name to your hosting. But also:
- Transfer a shared web hosting to a Cloud Server
- Add a site or subdomain to your hosting (multisite)
- Preview your site even if your domain name does not yet point to Infomaniak's servers
In case of a problem, consult the knowledge base before contacting Infomaniak support.
Link to this FAQ:
Has this FAQ been helpful?
This guide contains essential resources to get started with your VPS Cloud or VPS Lite offered by Infomaniak.
Introduction
- Support for
UEFIandSecure bootis not planned for the VPS Cloud / VPS Lite offer. - It is not possible to migrate a
vmdkfile to work on OpenStack becauseKVMis used for virtualization. - In case of a problem, refer to the knowledge base.
- Contact Infomaniak support for questions concerning only the hardware part of the VPS.
Getting Started with a VPS Cloud / VPS Lite Linux
Getting Started with a VPS Cloud / VPS Lite Windows
Which version (Cloud or Lite) to choose for the VPS?
- The configurations (vCPU / Ram / disk space) differ depending on the VPS offers, starting at 1 vCPU with very competitive prices.
- Make your choice according to your needs.
- The evolution from a VPS Lite to a VPS Cloud is not yet possible automatically and it is not possible to reduce a subscribed offer.
- Refer to this other guide if you wish to migrate from VPS Lite to VPS Cloud (the migration is irreversible).
- The same Linux distributions & Windows versions are offered (Windows is not available on the smallest configurations).
- Only the official images of the operating systems are installed, without any security software such as fail2ban preinstalled.
- However, the firewall is configurable from the Manager and a VPS also benefits from anti-DDoS protection.
- Regarding port opening, refer to this other guide.
- On VPS Lite, the bandwidth is limited to 500 mbit/s and the guaranteed SLA + snapshots are not available.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to create a PTR record on the dedicated IPs of VPS Cloud / VPS Lite.
Preamble
- A PTR (Pointer Record) is a type of DNS record used to resolve IP addresses into domain names.
- The PTR record is used to associate an IP address with a domain name or subdomain.
- It is the opposite of the A record which is used to resolve domain names into IP addresses.
Create a PTR on the VPS Cloud / VPS Lite IP
If you have a VPS Cloud / VPS Lite and you want to create a PTR record for your dedicated IP address, follow these steps:
- Make sure your domain or subdomain points to the IP address (v4 or v6) of your VPS Cloud / VPS Lite server.
- You can do this by creating an A record for your domain or by modifying the existing record to point to the IP address of your VPS Cloud / VPS Lite.
- Check that your domain points to the IP address of your VPS Cloud / VPS Lite (see 1).
- Contact Infomaniak support to request the creation of a PTR record for your dedicated IP address.
- Specify the IP address of your VPS Cloud / VPS Lite server (you can find this IP address in your server management dashboard or by using a command line command such as "
ifconfig" or "ipconfig" depending on the operating system you are using).
- Specify the IP address of your VPS Cloud / VPS Lite server (you can find this IP address in your server management dashboard or by using a command line command such as "
- Once the PTR record is created, use an online verification tool to ensure that the PTR record points to your domain or subdomain.
Link to this FAQ:
Has this FAQ been helpful?
This guide presents the use of MySQL on Infomaniak hosting, particularly the operation of stored procedures.
Preamble
- “Stored procedures” and “stored routines” are not available on a shared web hosting.
Understanding stored procedures and routines
If stored procedures are essential to your project and you are currently using shared hosting, it is advisable to consider a VPS or a dedicated server, which offer more control and resources.
Stored procedures are an effective way to automate tasks and integrate business logic directly into the database. This results in more performant and easier-to-maintain applications.
On a Cloud Server, as soon as the user has administrator rights on the relevant MySQL database, they have the necessary permissions to execute SQL instructions, including the EXECUTE command, used to launch stored procedures already present in the database.
The user also has the required privileges to create new stored procedures. Creating a stored procedure is done via specific SQL syntax defining the instructions to execute, followed by its recording in the database.
Example
DELIMITER //
CREATE PROCEDURE GetUserCount()
BEGIN
SELECT COUNT(*) AS total_users FROM users;
-- Returns the total number of users in the table
END //
DELIMITER ;
-- Execute the stored procedure
CALL GetUserCount();Link to this FAQ:
Has this FAQ been helpful?
This guide explains the differences between Infomaniak's web hosting offers to help you choose the best solution according to your IT needs.
If you are looking to host your email, refer to this other guide.
Web Hosting Starter
Free web hosting
The Web Starter hosting is offered for free with each domain name registered with Infomaniak. It provides 10 MB of disk space to create a site (basic pages in HTML language only - no PHP, no database) even without particular knowledge thanks to the Welcome Page tool.
- Register or transfer a domain name with Infomaniak
- Learn more about the benefits included with a domain name
Shared Web Hosting
The flagship offer to create your sites
These web hostings are shared offers (the websites will be hosted on servers whose resources are shared with other customers). To ensure the reliability of these shared services, Infomaniak servers use on average only 40% of the CPU power and are equipped with professional last-generation SSD disks.
Web hosting offers a minimum of 250 GB of disk space and allows you to manage multiple websites with multiple domain names. This offer includes all the technologies usually used to create professional sites: PHP, MySQL, FTP and SSH access, SSL certificates and easy installation of WordPress or common CMS, etc. It is also possible to add a Node.js site and/or Site Creator.
Note that without any hosting, it is also possible to obtain and then use Site Creator “autonomous / standalone”. Refer to this other guide.
Cloud Server
Professional web hosting
With a Cloud Server, the resources allocated to you are not shared with other customers and you can customize the hardware and software configuration of your server according to your needs. A Cloud Server also allows you to use components that are not available on shared web hostings (Node.js, mongoDB, Sol, FFMPEG, etc.).
- A Cloud Server allows you to easily manage your server via the same administration interface as web hostings - you manage the sites in the same way.
- A VPS allows you to manage your server 100% autonomously with the version of Windows or the Linux distribution of your choice (
Debian,Ubuntu,openSUSE, ...) - solid technical skills are required to use a VPS, including VPS Lite.
Public Cloud (and Kubernetes Service)
Open, proven and secure IaaS solution
For Infomaniak, it is the infrastructure that powers kDrive, Swiss Backup and the Webmail, services used by several million users. But Public Cloud is accessible to everyone and provides the resources you need to develop your projects.
With the help of personalized and tailored offers, you will have no trouble managing your development budget. No setup fees. No minimum amount. Cancelable at any time. You only pay for the resources actually used with Public Cloud at the end of each month, the same goes for Kubernetes Service.
Jelastic Cloud
Custom web hosting with the technologies of your choice
Jelastic Cloud allows you to create custom development environments with the technologies of your choice (PHP, Java, Docker, Ruby, etc.). It is a flexible cloud offer:
- Horizontal and vertical scaling of resources.
- Payment based on actual resource consumption.
- Easy customization of your infrastructure (redundancy, IP, SSL, load balancing, etc.).
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to modify your current Managed Cloud Server offer.
Modifying resources and configuration
The basic Managed Cloud Server plan includes 5 hostings and 20 websites. To add an additional hosting or modify the server configuration to increase CPU / RAM:
- 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 concerned.
- Click on Modify the offer:

- Make the desired adjustments and complete the procedure.
To reduce the size of the entire Managed Cloud Server disk space:
- Order a new server with the desired new storage (contact support to order the new server for free while performing the steps below).
- Move the hostings from the old server to the new one.
- Cancel the old server.
Refer to this other guide to modify the disk space of a hosting.
Increasing the process limit
On Linux, the number of processes that a user or a system can create simultaneously is limited. These limits prevent processes that are too fast from consuming excessive resources and affecting the overall stability of the system. Process limits are managed by the Linux kernel and can be viewed and modified using specific commands and configuration files. You can request to increase the limits by contacting support.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how…
- … generate a
CSRand private key to request a third-party certificate from a certification authority (CA), - … import this certificate for your Infomaniak site, using the
CRTobtained from theCA.
Preamble
- Although Infomaniak offers all the SSL certificates you might need…
- free Let's Encrypt certs for personal sites (only possible with sites hosted by Infomaniak),
- DV certs from Sectigo for professional/personal sites that are not registered in the trade register,
- EV certs from Sectigo for companies registered in the trade register,
- … it is also possible to install an SSL certificate obtained elsewhere (intermediate certificate from a certification body of your choice), custom or self-signed certificates.
1. Generate a CSR (Certificate Signing Request)
A CSR (Certificate Signing Request or Certificate Signing Request) is an encoded file containing the information necessary to request an SSL/TLS certificate.
It must be generated on your side to ensure that the private key remains under your control, using OpenSSL, for example.
Adapt and run the following command from a Terminal type application (command line interface, CLI / Command Line Interface) on your device:
openssl req -utf8 -nodes -sha256 -newkey rsa:2048 -keyout domain.xyz.key -out domain.xyz.csr -addext "subjectAltName = DNS:domain.xyz, DNS:www.domain.xyz"
Explanations
newkey rsa:2048: Generates a new 2048-bit RSA key.keyout domain.xyz.key: Specifies the file where the private key will be saved.out domain.xyz.csr: Specifies the file where the CSR will be recorded.addext “subjectAltName = ...”: Adds additional domains via theSAN (Subject Alternative Name)extension, necessary to include all desired domains in the certificate (main domain domain.xyz + any other associated domain or subdomain, such as www.domain.xyz).
After generation, you can check the contents of the CSR with the following command:
openssl req -in domain.xyz.csr -noout -textThis allows you to verify that all domains listed in subjectAltName are correctly included.
Once the CSR is generated, you can send it to the certification authority (CA) to obtain your SSL/TLS certificate.
2. Import the external certificate
Once validated, the CA issues a certificate (domain.xyz.crt) and sometimes an intermediate certificate (ca_bundle.crt).
To access SSL certificate management:
- 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 SSL Certificates in the left sidebar menu.
- Click the blue button Install a certificate:

- Choose the custom certificate.
- Click the Next button:

- Import your certificate and private key, either by importing the
.crtand.keyfiles or by copy-pasting. - Click Complete:

Alternative command to generate a self-signed certificate (optional)
If you want a local certificate only for testing or without going through a CA (not recommended for production), you can use this command:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout domain.xyz.key -out domain.xyz.crt -addext “subjectAltName = DNS:domain.xyz, DNS:www.domain.xyz”This generates both a self-signed certificate (domain.xyz.crt) and a private key (domain.xyz.key). However, self-signed certificates are not recognized as valid by public browsers or systems. They are only suitable for internal or development environments.
Import an intermediate certificate
When adding a custom SSL certificate, it is possible to import the intermediate certificate (by importing the .crt file or copy-pasting the data provided by the certification authority):
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to deploy Node.js with a Cloud Server to always have the environment needed to compile or build modern frontends (React, Vue, etc.). However, it is recommended to use the integrated node.js solution.
Preamble
- Node.js is a free software platform in JavaScript oriented towards network applications that need to scale, a simple and effective solution to integrate frontend tools into any server stack.
Node.js= official name of the language/environment.NodeJS= "technical" or simplified name in certain contexts (often for practical reasons, no real technical difference).
Install Node.js
Prerequisites
- Install NVM on your Cloud Server.
- Warning: Node.js version 18 is not compatible with old Cloud Servers; perform a migration beforehand!
Install the stable version of Node.js
nvm install stableInstall the latest version
nvm install nodeInstall an older version (not recommended)
nvm install 17List available versions
nvm ls-remoteInstall a specific version
nvm install <version>Switch Node.js versions and set version 6.3.1 (or another version) as default
nvm alias default 6.3.1Use a specific version of Node.js in the current shell
nvm use <version>Check the currently used Node.js version
node -v
Source
To set up NVM, go to the WebSSH console of your Cloud Server.
Source the .profile file
source ~/.profileRun the following command to verify the NVM installation
nvm
Configure Node as a service
To configure Node as a service, it is recommended to use a "systemd-user service".
Redirect traffic to a specific port
Refer to this other guide regarding traffic redirection to a specific port and dedicated IPs.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to change the PHP version available for the websites of your Web Hosting Infomaniak.
Preamble
- It is possible to switch from an old and potentially vulnerable PHP version to a recent one, but you will not be able to revert to this vulnerable version afterward for security reasons.
- The change is effective immediately and permanently.
- Refer to this other guide if you are looking for information about configuring the PHP version used in SSH.
- It may be necessary to update your hosting in advance to access the very latest PHP versions offered by Infomaniak.
Change the PHP version used for a website
It is possible to easily change the PHP version used on an entire website:
- 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 More information.
- Click on Modify:

- Select the desired PHP version.
- Click on Save at the bottom of the page to save the modification:

Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to enable or disable maintenance mode on a website hosted with Infomaniak Hosting.
Preamble
- Maintenance mode allows you to display a custom message to your visitors, for example, while resolving a technical issue.
- It is also possible to specify IP addresses that can bypass this page.
- An email is sent to the users of the Organization.
Enable maintenance mode
To enable a page that temporarily replaces your usual homepage:
- 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 the toggle switch to enable the maintenance page.
- Confirm the warning.
- Click the button to enable:

Customize the maintenance page
To set up a page with your desired message:
- 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 Maintenance Page in the left sidebar.
- Click on Create a page or the Customize button if it already exists:

- Format the text of your choice.
- Configure the display using the elements on the right.
- Click on Save & Activate to publish the page:

Allow IP addresses
It is possible to display the real site even with maintenance mode activated. To do this, it is necessary to enter the IP addresses of the computers that should be able to bypass maintenance mode:
- Activate maintenance mode according to the procedure above.
- Go back to the maintenance page configuration page (see procedure above).
- Under Maintenance on the right, click on Insert my IP address to allow your computer to display the site without maintenance mode:

- It is also possible to manually enter the IPs to authorize.
- Click on Save and Publish.
If the IP addresses of the added computers change, it will be necessary to repeat these steps.
Disable maintenance mode
To disable the message that appears on your site during maintenance:
- 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 either on the Disable button or on the toggle switch to disable the maintenance page:

- Confirm the deactivation of maintenance.
Alternative method for WordPress
It is not recommended to activate the Infomaniak maintenance page above to then work in WordPress.
It is recommended to install a WordPress extension (there are dozens available) dedicated to maintenance within the CMS itself.
Otherwise, you can add the code <?php $upgrading = time(); ?> in a new empty file named .maintenance (the dot before the file name is important) placed on the server at the root of your site, which will deactivate all your pages except the WordPress homepage.
Link to this FAQ:
Has this FAQ been helpful?
This guide explains how to use PHP environment variables with Web Hosting that runs on php-fpm.
Preamble
- PHP environment variables are system variables used to store information about HTTP requests and redirects.
- They are generally used on web servers to store details about previous requests or redirects that have been performed.
- These variables can contain information such as previous URLs, HTTP methods, or other data related to the client's navigation on the web server.
Using environment variables
To use PHP environment variables:
- Define the PHP environment variables in a
.htaccessfile:SetEnv EXAMPLEVARIABLE hello
- In your PHP file, the name of the variable to call corresponds to the same variable name defined in the environment variable:
<?php getenv('EXAMPLEVARIABLE');
In this example, the displayed result will be hello.
Going further with environment variables
It is possible to configure environment variables directly from the Manager for your entire website:
- 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 under Advanced settings:

- Click on the PHP / Apache tab:

- Further down on the page, click on the chevron to expand the Environment Variables section.
- Click on the icon Add.
- Enter the variable and its value.
- Click the button to save:

Link to this FAQ:
Has this FAQ been helpful?