Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
1983
This guide explains how to migrate an old Infomaniak hosting to our current offer.Our new hosting are much more efficient, flexible and secure.
Migrate an old hosting to our current offer
- open the manager (manager.infomaniak.com)
- go to Web Hosting
- click on the relevant hosting/domain name
- click on the Manage button then Modify the offer (If you do not see the "Change offer" button, please make sure you are logged in with an account with billing rights).
Then carefully follow the guide adapted to your situation:
- keep your current site (recommended)
- delete the content of your hosting and create a new site (ideal for starting from scratch )
- keep your current site and move to a Cloud Server
This guide explains how to manage the content of a web hosting account by accessing the server via FTP protocol or command line (CLI) securely using SSH.
What is the difference between an FTP and SSH account?
When creating an FTP account, you have the choice between two types of accounts:
- FTP + SSH account gives the user access to all content of a hosting account and allows them to manage it via FTP and SSH
- FTP account restricts a user's access to a specific folder and its subfolders; if you manage multiple sites on the same hosting, this allows distributing site management among several webmasters, for example
From the Manager, it is also possible to quickly log in without specifying a particular account.
Manage FTP Accounts and Access
To access Web Hosting to manage the FTP part:
- log in to Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- click on the ‍ icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- choose Hosting (in the Web & Domain universe)
- click directly on the name of the relevant item in the displayed table
- click on FTP / SSH in the left sidebar menu
From this point, you can:
- click the Add button to create a new FTP/SSH account
- click on the name of the relevant account in the displayed table to change its password (help)
- delete an account from the action menu â‹® to the right of the relevant item in the displayed table
Configure an FTP Client/Software
With an FTP client/software such as Filezilla or CyberDuck, you can manage files via FTP without limits (background work capabilities, transfer resumption after interruptions, speed limitations, etc.)
Follow this guide if you need help setting up an FTP client/software.
This guide explains how to use the FTP Manager, which allows you to easily and quickly manage the content of your Web Hosting.
Introduction
- The online service FTP Manager allows you to:
- create files
- navigate directories
- transfer files less than 48 MB* between your computer and the server
- manipulate existing files (copy, rename, move, delete, etc.)
- edit and view text, php, and html files less than 1 MB
- compress and decompress zip files
- With Web FTP, no special access is required as long as you have management rights on a hosting account in the Infomaniak Manager
* To go beyond this limit and for background work capabilities, transfer resumption after interruption, speed limitations, etc., use an FTP client/software like Filezilla or CyberDuck!
Access the server via Web FTP
To access Web Hosting to add a new site:
- log in to Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- click on the ‍ icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- choose Hosting (in the Web & Domain universe)
- click directly on the name of the relevant item in the displayed table
- click on FTP / SSH in the left sidebar menu
- click on the buttons available to you
Uploading Multiple Files
It is not possible to upload folders due to the technology used which does not support it.
However, multiple file selection is possible, allowing you to send a large number of files at once into a pre-created folder.
Alternatively, you may consider uploading a zipped folder (.zip) and extracting this archive once on the server, using the same Web FTP tool.
CHMOD (abbreviation for change mode) allows access permissions for a file or a directory to be changed.
The rights (read at Wikipedia) available for each person/group are as follows:
- read: grants permission to list (also requires the right to execute) and read from a directory and/or read a file
- write: grants permission to create, modify, rename, delete files and/or directories
- execute: for a directory: grants permission to traverse the directory in order to read its sub-directories -> For a file: grants permission to execute it if it is a program or a script, for example.
- set uid (read at Wikipedia): on a file with execution rights, this will have the effect of executing it with the owner's rights if the execve or setuid system command is used
- set gid (read at Wikipedia): all new files created will belong to the directory group and on a file with execution rights this will have the effect of executing it with group rights
- sticky bit (read at Wikipedia): on a directory, the directory's files can be renamed or deleted only by the owner, even if other users are granted writing rights. Not very useful on these files.
We recommend that you use our FTP File Manager which enables you to change file permissions (including those of /web).
Most FTP software allows you to change access rights to files; the function is usually called "CHMOD" and is found in "Properties", "Permissions" or "Attributes" (usually with a right click on the file or folder you wish to change). Often you can tick an option that allows you to apply permissions recursively to all files and subdirectories in the folder.
Once you have ticked the required permissions, OK them and all rights will be modified except those which you do not have permission to change or rather which the user you are logged in as does not have permission to change.Example with Filezilla:
To find out more
When talking about changing permissions, you might generally be asked to do a "chmod 777", "chmod 666" etc. This means you actually need to view these as three separate figures, where:
- the first corresponds to the owner's rights
- the second corresponds to group's rights
- the third number corresponds to other users' rights.
And rights are made up as follows:
- "4" for read permission
- "2" for write permission
- "1" for execute permission
Then simply add the numbers together. For example, if you want to grant all rights to the owner but no rights to the others, execute a "chmod 700" (4 + 2 + 1 = 7). If you wish to grant permissions for all users to read and write only (4 + 2 = 6), execute a "chmod 666".
These values are recognised by any good FTP software, so you have the option of entering the number directly into your FTP client to change permissions.
To modify permissions on PHP files or directories, you can also do so using the "chmod" function as in the following example:
chmod ("/a_folder/a_file", 0755)Note that the value to use must be in octal, which is why the zero in front is compulsory. Be careful when storing the value in a variable, as you will run into an issue with data types. To get round this issue, you can use the octdec() function, as in the following example:
$mode = 0755;chmod("/a_folder/a_file", octdec($mode))
This guide provides solutions for errors like Malicious Website! The website has been reported as malicious and has been blocked based on your security preferences
.‍
Who Displayed This Message?
This error message or warning…
- … IS NOT added by Infomaniak.
- … is generated based on Google’s own criteria, notably using https://www.stopbadware.org/.
- … may appear in English (
STOP! This Website Can Harm Your Computer!
). - … may no longer appear directly because…
- … you are no longer listed by Google.
- … you are using a browser that does not rely on Google’s checks.
What Should You Do?
If this does not concern the site you are managing, refer to Google’s help on this matter.
If the site is yours, review the advice below:
- Check the source code of the published page: there is likely additional code compared to clean pages; it could be a malicious iframe or some form of inclusion…
- On the page in question, click the "Why was this site blocked?" button and follow the instructions…
- Refer to Google’s documentation on this topic.
- Monitor the vulnerability detection tool, which could resolve the issue in the meantime.
⚠️ For additional assistance, contact a partner or launch a free tender — also learn about the role of the host.
This guide explains how to change the PHP version available for the websites on your Infomaniak Web Hosting.
It is possible to switch from an old and potentially vulnerable PHP version to a newer one, but reverting back to this vulnerable version will no longer be possible for security reasons.
Change the PHP version used for a website
You can easily change the PHP version used on an entire website:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- Click on the ‍ icon at the top right of the interface (or navigate through the left side menu, for example)
- Choose Website (Web & Domain universe)
- Click on the name of the relevant object in the displayed table
- Click on Edit in the PHP version section
- Choose the desired PHP version
- Click Save to save the change
The change takes effect immediately and permanently.
To configure the PHP version used in SSH, read this guide.
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:
- log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- click on the ‍ icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- choose Hosting (in the Web & Domain universe)
- click directly on the name of the relevant object in the displayed table
- click on Databases or MariaDB in the left sidebar menu, for example:
or
Databases
Under the Databases tab, you can:
- create a MySQL/MariaDB database by clicking the Add a Database button
- import, export, or restore a MySQL database by clicking the chevron ‍ to the right of the Add button
Users
Under the Users tab, you can:
- create a MySQL/MariaDB database user by clicking 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 database username (e.g.,
XXXX_username
) - the password for the database username (the one you chose when creating the MySQL/MariaDB user to reset if you forgot it)
- the MySQL/MariaDB server of the databases / hostname (e.g.,
XXXX.myd.infomaniak.com
) with its version (5.7, for example)
User Rights
- with read rights: the user can only see the structure and content of a table and therefore perform SELECT queries
- with write rights: the user can modify the structure and content of the database
- with administrative rights: the user can delete the database
- with no rights: the user will not see the database appear in phpMyAdmin
Web Application Databases
This guide explains how to view information about visitors who have accessed the sites of your Web Hosting (visitor statistics).
Introduction
- The result is presented in a simple format with charts for easy interpretation.
- Annual, monthly, daily, and hourly statistics are displayed by site, HTTP address, referring site, country, etc.
- Refer to this other guide if you are looking for information about access logs.
Accessing visitor statistics
To view visitor statistics:
- Click here to access the management of your product in the Infomaniak Manager (need help?)
- Click directly on the name assigned to the product concerned.
- Click on Statistics in the left-hand menu.
Then, the top section allows you to choose:
- A: the relevant site
- B: the desired type of statistics
- C: the period
- D: more details
The page accessible under "Details" also allows you to download the statistics to be analyzed with a third-party tool:
Explanation of terms
No distinction is made between humans and bots. You can also use tools like Matomo, Open Web Analytics, Google Analytics, etc.
Category | Description | Details |
---|---|---|
Hits | Every request to the server is recorded | Hits include all requests, whether for HTML pages, graphic files, audio, etc. Each element requested on your site, whether visible or not, counts as a hit. It’s as if each visitor presses an invisible button every time they interact with your site. |
Files | Records requests requiring data to be sent back | This category records requests that force the server to send back data, such as graphic files or HTML files. The difference between hits and files can be likened to the difference between incoming requests and outgoing data. |
Pages | Counts the number of pages displayed on your site | This counter measures the number of pages viewed on your site, excluding graphic or audio files. Each time a user accesses a new HTML page, it is counted as a page view. |
Visits | Calculates the time elapsed since the last visit from an IP address | A visit is recorded when the IP address makes a request to the server. If this address returns within 30 minutes, it is considered a unique visit. If it exceeds 30 minutes, a new visit is counted. |
Sites | Estimates visits from fixed IP addresses | This category provides an estimate of visits from fixed IP addresses, excluding connections via mobile networks or other dynamic connection technologies. This gives insight into regular visitors to your site, often linked to businesses or institutions, which can help you better understand your target audience and tailor your content accordingly. |
Ko | Amount of data sent by the server in Ko | This figure represents the total amount of data transferred during the given period, measured in kilobytes. It is calculated from the server’s log files, but may have some calculation errors due to variations in file size. |
Total Hits | A hit is an HTML request, each page view generates several hits | For example, if a page contains 3 images and a text, it will return 5 hits every time it is displayed: one for the page itself, one for the text, and three for the images. Thus, the total hits can be significantly higher than the number of pages viewed. |
Total Files | Total number of files called by the visitors' browser | This figure expresses the number of specific files (images, HTML files, etc.) requested by visitors when browsing your site. It can be useful for evaluating the complexity of your site and the variety of content accessed by visitors. |
Total Pages | Total number of pages displayed | Every time a user accesses a new page on your site, it is counted as a page view. This number can differ from the total hits, as a single page can generate multiple hits if it contains multiple elements to load. |
Total Visits | Total number of unique visits recorded | A unique visit is recorded each time a user accesses your site. If the same visitor returns within 30 minutes, it is counted as a single visit. This number is an indicator of visitor engagement on your site. |
Total Ko | Total amount of data transferred in kilobytes | This figure represents the total size of the data sent by your server to visitors during the given period. It can be used to evaluate your site’s bandwidth consumption and plan hosting upgrades if needed. |
Total Unique Sites | Total number of unique IP addresses that visited your site | This number represents the total number of distinct IP addresses that accessed your site during the given period. It can be used to evaluate the diversity of traffic sources to your site and identify the most active audience segments. |
Total Unique URLs | Total number of unique paths taken during visits | This figure represents the number of distinct paths followed by visitors while navigating your site. Each unique URL corresponds to a specific page or file accessed by visitors. This can provide insights into the structure of your site’s navigation and the most visited content. |
Total Unique Referrers | Total number of distinct referring sites | This number represents the number of external sites that directed traffic to your site via links. Referrers are important indicators of the effectiveness of your online marketing strategy and can help identify the top-performing partners or traffic channels. |
Meaning of "Commercial (com)" in the country list
When reviewing statistics under "Geographical areas," you will notice that "Commercial" represents a significant portion of the traffic. This category includes users connected to the internet via ISPs with a .com domain. It is difficult to determine which countries are represented by .com, as this extension is used by multiple ISPs from different countries. Furthermore, the "Commercial" category may also include businesses using .com addresses regardless of their actual geographical location.
As for "unresolved," they refer to IP addresses that cannot be resolved into a specific geographical location. These addresses can result from various reasons, such as ISP privacy settings or Virtual Private Networks (VPNs). They therefore remain undetermined in the geographical location statistics.
This guide details the technical and administrative aspects of hosting multiple websites on the same platform.
Technically speaking
A single hosting package can encompass various websites. Therefore, it's possible to add multiple websites to one hosting account (multi-site / multi-domain management). In this scenario, the resources of the hosting (disk space, databases, script execution time, and memory, etc.) are shared among the various websites on the hosting account.
The basic Cloud Server plan includes a certain number of hostings (e.g., 5) and a higher number of websites (e.g., 20). In this example, that means you could create 20 websites (with 20 different domains/subdomains) that you can freely organize across your 5 hosting accounts.
Administratively speaking
Regarding the organization within the Infomaniak Manager, management and access rights cannot be assigned to a specific website on a hosting account. A user that you add to the organization cannot have rights limited to just one site; they will always have access to the entire hosting account.
However, at the server data level, it is possible to create an FTP user restricted to a specific folder (this should be limited to the folder where the site is located).
Managing a single site among others on the same hosting can also be considered directly within the tool used for the site (e.g., WordPress user management).
Also read: https://news.infomaniak.com/quel-hebergement-web-choisir/
This guide explains how to add an additional website to an existing Infomaniak hosting plan.
Introduction
- The hosting may be on a shared Web Hosting plan or on an Infomaniak Cloud Server.
- The additional site can be either:
- a second domain name (e.g.,
domain2.xyz
), - or a subdomain (e.g.,
abc.domain.xyz
) of a domain name you already own.
- a second domain name (e.g.,
- In this multisite/multidomain management (virtual host), the total disk space and resources of your hosting are shared among your sites/subdomains.
Access Site Management
Prerequisites
- If the 20 site slots offered on the Web hosting are already used, order additional sites.
To access a Web Hosting plan to add a site:
- Click here to access your product management in the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click the blue Add button.
- Choose optional content for the new site (A)‍ or no specific installation (B)‍:‍
- Press Next.
- Choose the type of domain to be assigned to this new site:
- an already acquired domain name
- a subdomain created from an already acquired domain name
- a domain name that is still available and to be ordered
- Enter the Domain name (
domain2.xyz
, for example) or the Subdomain. - Choose any Advanced Options, including:
- By default, the new site is added to the
/sites/domain2.xyz
directory on your FTP server. - To manually define another directory, check Define location manually and indicate the path and name.
- Create a new folder if needed:
- By default, the new site is added to the
- Click Continue.
If this is a subdomain or if the domain name or its DNS zone is managed by Infomaniak, it is possible to automatically update existing DNS entries. Otherwise, make the necessary changes with your registrar or transfer the domain name management to Infomaniak.