Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide explains how to use the FTP Manager which allows you to manage the content of your Web Hosting simply and quickly.
Introduction
The online service FTP Manager allows you to:
- create files
- browse directories
- transfer files of less than 48 MB* between your computer and the server
- manipulate existing files (copy, rename, move, delete, …)
- edit and view text, php, and html files of less than 1 MB
- compress and decompress zip files
With Web FTP it does not require any special access as long as you have management rights over a hosting present in the Infomaniak Manager.
* In order to go beyond this limit and for possibilities of background work, resuming transfers after disconnection, limiting speeds, etc. use an FTP software like Filezilla or CyberDuck!
Accessing the server via Web FTP
In order to access the Web Hosting to add a new site:
- log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- click on the icon in the top right corner of the interface (or navigate through the left side menu, for example)
- choose Hosting (universe Web & Domain)
- click on the name of the relevant object in the displayed table
- click on FTP / SSH in the left side menu
- click on the buttons available to you
Sending Multiple Files
It is not possible to send and upload folders due to the method used which does not allow it.
However, multiple file selection is possible, allowing for the sending of a large quantity of files at once into a previously created folder.
You can also upload a zipped folder (.zip) and extract it once on the server, using the same Web FTP tool.
This guide offers solutions to errors of the type:
"Malicious site! The website has been reported as a malicious site and has been blocked based on your security preferences"
Who put this message?
This error message or warning:
- IS NOT added by Infomaniak
- is generated based on Google's criteria, including the use of https://www.stopbadware.org/
- may appear in English ("STOP! This Website Can Harm Your Computer!")
- may not appear directly anymore because
- you are no longer indexed by Google
- you are using a browser that does not rely on Google's controls
What to do?
If this does not concern the site you are dealing with, consult Google's help on this topic.
If the site is yours, please read the advice below:
- Check the source code of the published page: there is probably additional code compared to previously healthy pages; it could be a malicious iframe or any inclusion
- On the page in question, click on the "Why has this site been blocked" button and follow the instructions
- Read the documentation https://developers.google.com/search/docs/monitor-debug/security/malware
- Monitor Patchman which could resolve the issue in the meantime
⚠️ For additional assistance contact a partner or submit a bid — also read 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 find all the necessary parameters to configure your scripts and CMS on a Web Hosting.
Database Management
To access the database management page of your hosting:
- Log in to the 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 through the left side menu, for example)
- Choose Hosting (under Web & Domain)
- Click directly on the name of the relevant object in the displayed table
- Click on Databases or MariaDB in the left side menu, for example:
or
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 using the arrow on the right side 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 database username (the one you chose when creating the MySQL/MariaDB user reset it if forgotten)
- The MySQL/MariaDB server for databases / hostname (e.g., XXXX.myd.infomaniak.com) with its version (5.7, for example)
User Rights
- With read rights: the user can only view the structure and content of a table and perform SELECT-type queries
- With write rights: the user can modify the structure and content of the database
- With administration rights: the user can delete the database
- Without any rights: the user will not see the database in phpMyAdmin
Web Application Databases
This guide explains how to view information about visitors who have accessed the websites of your Web Hosting (traffic stats).
The result is presented in a simple format with graphics, allowing for easy interpretation. Annual, monthly, daily, and hourly statistics are displayed by site, http address, referrer site, country, etc.
Accessing Visitor Statistics
To view public traffic statistics:
- 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 using the left side menu, for example)
- Choose Website (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
- Click on Statistics in the left side menu
Then, the upper part 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 interpreted by a third-party tool:
Explanation of Terms
There is no distinction between humans and robots. You can also use tools like Matomo, Open Web Analytics, Google Analytics, etc.
Category | Description | Details |
---|---|---|
Hits | Each request made to the server is recorded | Hits include all requests, whether they are HTML pages, graphic files, audio, etc. Every element requested on your site, whether visible or not, is counted as a hit. It's like every visitor pressing an invisible button with each interaction with your site. |
Files | Records requests that require data to be sent back | This category records requests that require 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 recorded 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 requests a query from 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 | Estimation of visits from fixed IP addresses | This category provides an estimate of the number of visits from fixed IP addresses, excluding connections via mobile networks or other dynamic connection technologies. This provides insight into regular visitors to your site, often associated with 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 KB | This figure represents the total amount of data transferred during the given period, measured in kilobytes. It is calculated from server 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 multiple hits | For example, if a page contains 3 images and a text, it will return 5 hits for each display: one for the page itself, one for the text, and 3 for the images. Thus, the total hits can be significantly higher than the number of page views. |
Total Files | Total number of files called by visitors' browsers. | This figure expresses the number of specific files (images, HTML files, etc.) requested by visitors while browsing your site. It can be useful for evaluating the complexity of your site and the variety of content viewed by visitors. |
Total Pages | Total number of pages displayed | Every time a visitor accesses a new page on your site, it is counted as a page view. This number may differ from the total hits, as a single page can generate multiple hits if it contains several elements to load. |
Total Visits | Total number of unique visits recorded | A unique visit is recorded each time a visitor 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 data sent by your server to visitors during the given period. It can be used to assess your site's bandwidth consumption and plan hosting upgrades if necessary. |
Total Unique Sites | Total number of unique IP addresses that visited your site | This number represents the 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 during their navigation on your site. Each unique URL corresponds to a specific page or file visited by visitors. This can provide insights into your site's navigation structure and the most viewed content. |
Total Unique Referrers | Total number of distinct referring sites | This number represents the number of external sites that directed traffic to your site through links. Referrers are important indicators of the effectiveness of your online marketing strategy and can help identify the most effective partners or traffic channels. |
Meaning of "Commercial (com)" in the country list
When viewing statistics under "Geographical Zones," you'll notice that "Commercial" represents a significant portion of the traffic. This category includes users connected to the Internet via ISPs with a .com domain in their address. It is difficult to determine which country(s) are represented by .com as this extension is used by several ISPs from different countries. Additionally, the "Commercial" category may also encompass businesses using .com addresses regardless of their actual geographic location.
As for "unresolved," they correspond to IP addresses that cannot be resolved to a specific geographic location. These addresses may result from various reasons such as ISP privacy settings or virtual private networks (VPNs). They remain undetermined in geographic 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 concerns you if you encounter a 500 error, which can have various origins generally related to the development of your website on a Web Hosting, especially with the rewrites in your .htaccess files.
Under What Circumstances Do These Errors Occur?
Apache2, in use on our servers, no longer supports certain modules like mod_auth_anon, mod_auth_dbm, mod_authz_dbm, mod_cern_meta, mod_imap, mod_imagemap, mod_mime_magic.
Furthermore, Apache2 is strict with syntax errors, and when it encounters syntax errors in an .htaccess file, it can result in 500 Internal Server Error or unexpected URL rewriting errors.
Examples of Incorrect Syntax in .htaccess and Correction
In this first example, the syntax error is that the rewrite rule does not specify the HTTP redirection response code to return. The correction adds the R=301 directive to specify that the redirection should return a 301 (permanent) status code:
RewriteRule ^articles/([0-9]+)/$ /article.php?id=$1 [L]
Correction:
RewriteRule ^articles/([0-9]+)/$ /article.php?id=$1 [L,R=301]
In this second example, the syntax error is that the Options directive does not properly specify the options to enable or disable. The correction adds the "+" sign to specify that FollowSymLinks should be enabled rather than disabled:
Options -Indexes FollowSymLinks
Correction:
Options -Indexes +FollowSymLinks
How to Resolve These Errors?
- If the first page or another page displays a 500 error, rename the .htaccess file or comment out all lines with # and uncomment line by line until you find the problematic section.
- If the error occurs after making changes to one of your pages, the easiest way is to restore the previous version of the file.
The Infomaniak student program allows you to obtain free Web Hosting and Mail Service to develop your digital skills during your higher education.
Get free online hosting
To benefit from this offer, simply contact Infomaniak support by email only by sending valid copies of your
identity card | |
+ registration card / school certificate |
Admission requirements
In addition to the domain name which is not included in the offer, here are the conditions of the Infomaniak Student offer:
- offer valid only in the following countries: Switzerland, France, Belgium, Germany, Italy, Austria, Spain, Canada
- offer reserved for new hosting orders (does not apply to orders already in progress or renewed orders)
- 1 Web Hosting (= storage of 20 websites on 250 GB SSD space) and 1 Mail Service (= 5 email addresses) per person
- the student must be of legal age
- the student must be able to prove his status with valid registration and identity cards
- the duration of the offer depends on the validity period of the registration card and cannot exceed a total of 4 years
Discover other free Infomaniak services
- free messaging @ik.me (+ ikmail.com, etc.): learn more
- free cloud (etik.com): learn more
- file sending (SwissTransfer): learn more
- unlimited and privacy-friendly video conferencing (kMeet): learn more
- secure encrypted message sharing (kPaste): learn more
This guide explains how to add an additional website to an existing hosting.
The hosting can be on a shared Web Hosting plan or on an Infomaniak Managed Cloud Server.
The additional website can correspond either to a second domain name (domain2.xyz for example) or to a subdomain (abc.domain.xyz for example) of a domain name you already own.
If the 20 sites offered by Web Hosting are already used, you can order additional sites.
During this multisite/multidomain management (virtual host), the disk space and total resources of your hosting are shared among your sites/subdomains.
Access the site management
To access a Web Hosting to add a site:
- Log in to the Infomaniak Manager (manager.infomaniak.com)
- Click on the icon with squares in the upper right corner of the interface (or navigate through the left sidebar menu, for example)
- Choose Hosting (under the Web and Domain universe)
- Click on the name of the relevant object in the displayed table
- Click on the blue Add button (in the Sites section)
- Choose potential content for the new site (A) or no particular installation (B)
- Press Continue
- Choose the type of domain that should correspond to this new site:
- an already acquired domain name
- a subdomain created from an already acquired domain name
- an available domain name that needs to be ordered
- Enter the name of the Domain (domain2.xyz for example) or the Subdomain
- Choose any Advanced Options, including:
- by default, the new site is added in the /sites/domain2.xyz directory on your FTP server
- to manually define another directory, check the Set location manually option and indicate the location and its name
- Click Continue
If it is 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 domain name management to Infomaniak.
This guide explains how to install a free SSL certificate from Let's Encrypt on a website hosted by Infomaniak.
To make the installation possible, the DNS of the domain name must be correctly configured to point to the specific website. If a recent change has been made at this level, some operations may not work immediately.
Installing a Free SSL Certificate on a Website
To access Web Hosting and install an SSL certificate:
- Log in to the 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 Website (under Web & Domain)
- Click on the name of the relevant object in the displayed table
- Click on SSL Certificates in the left sidebar menu
- Click the blue Install an SSL certificate button
- Choose the site where the certificate should be installed
- Select Free SSL Certificates and click Save
- You will receive a confirmation email when the SSL certificate is installed
Once the certificate is installed, your website will be accessible via both http and https. If necessary, redirect all your visitors automatically to the secure https site.
If you want to include a recently added alias domain to your site that already had a certificate, you need to update it.
For multiple subdomains, refer to this guide (click here).
Limitations
Let's Encrypt limits certificate installations to:
- 100 subdomains
- 20 certificates per registered domain in 7 days
- 5 failed requests per account per hostname per hour