Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide explains how to change the PHP version available for your Infomaniak Web Hosting sites.
Introduction
- You can upgrade from an old and potentially vulnerable PHP version to a newer version, but for security reasons, it will no longer be possible to revert back to the vulnerable version.
- The change is effective immediately and can be done infinitely.
- Refer to this guide if you are looking for information about configuring the PHP version used in SSH.
Change the PHP version used for a website
You can easily change the PHP version used for an entire website:
- Click here to manage your product in the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on ‍ More Information.
- Click Edit:
- Select the desired PHP version:
- Click Save at the bottom of the page to apply the change.
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 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.
This guide explains what a web host like Infomaniak is and what its role is. For example, can the technical support help with designing a website or troubleshoot a bug that appeared on a user's computer?
Infomaniak, hosting provider since 1996
According to Wikipedia, a web host is a company that provides internet hosting services for various computing systems to individuals or entities who do not wish to do so by their own means.
Infomaniak is also:
- decades of experience: it is a recognized player worldwide in hosting & online solutions, who loves what it does and aims to offer high-end solutions at accessible prices while continuously improving its services based on market trends and customer needs
- over one million users in Switzerland and Europe; CHF 36.5 million in revenue in 2022 (22.43% growth in German-speaking Switzerland compared to 2021)
- company certified ISO 27001, ISO 9001, ISO 14001, ISO 50001... Infomaniak is 100% committed to sustainable and responsible development with concrete actions, such as creating the most ecological data center in Switzerland; it offsets the CO2 emissions generated by its activities and the energy used is renewable
- 100% Swiss-made technological expertise: all customer data is hosted on servers in Switzerland owned by Infomaniak; its solutions are systematically developed and maintained by hundreds of employees based in Geneva and Winterthur
- with over 1,000 articles and videos, the knowledge base allows customers to immediately find answers to the vast majority of questions, and it is always possible to contact Infomaniak support
Infomaniak's Responsibilities and Intervention Limits
As a web and mail host, Infomaniak's main activities are to install, secure, and keep servers up to date, particularly to protect them from malicious attacks.
Infomaniak also ensures to continuously evolve its web interfaces (Manager) and its infrastructure based on customer feedback, the latest technologies, and market needs. Finally, Infomaniak is also there to support its customers through the various stages of using its services.
However, Infomaniak does not intervene in server content or website development. Indeed, creating or maintaining a website is a different profession; Infomaniak employs webmasters and developers for its own site, its own applications & tools.
Technical Support Limits
In particular, the technical support department will not be able to help you with:
- solving issues related to website development (Fatal Error, etc.) or its updates
- setting up solutions (e.g., "hello, I want you to help me set up my entire Swiss Backup", “migrate my site”)
- manually installing WordPress
- remotely controlling your computer with TeamViewer or similar
etc.
but it can assist you with:
- resolving issues related to infrastructure or the Manager
- clarifying certain processes
etc.
A Premium support option exists for more demanding and recurring requests requiring additional time and resources from staff to assist you optimally.
Finding Help from a Webmaster
For external help related to your site's content or organizing your messaging systems, you can contact one of Infomaniak's partners.
Request a Quote
The Infomaniak quote platform lists over 1,000 verified companies in Switzerland, France, Belgium, Italy, and Spain. It is the fastest way to find a webmaster, UX designer, IT technician, web agency, or marketing and communication agency near you; or browse the directory.
This guide presents the DNS Diagnostic tool, which allows you to verify that the relationships between domain names and Infomaniak's Mail Service and/or Web Hosting are correct so that Mail/Web traffic is directed to the right place. This involves checking MX, A, CNAME, etc. records. The tool allows you to intervene in the configuration if needed.
You can thus detect and correct certain Mail or Web problems, especially if they are related to DNS (name servers, technical information that essentially determines where Web or Mail traffic should be directed) by acting at the level of your domain.
Diagnosing a DNS Problem
To access the DNS diagnosis of your domain name:
- 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 sidebar menu, for example)
- Select Domains (universe Web & Domain)
- Click directly on the name of the relevant object in the displayed table
- Click on DNS Diagnostic in the left sidebar menu
- If DNS problems are detected, they will be indicated in red on the table
- Correct each entry individually (1) or all entries at once (2), or if necessary and you are sure about it, ignore these warnings (3):
Also see the diagnosis of DNS records related to messaging.
This guide explains what you need to determine as a website visitor if you encounter a 403 error to resolve the issue.
What is a 403 error?
The HTTP 403 error code generally means that access to a resource is denied to the client by the server.
When does this error occur?
The user is not authenticated: the server requires the user to identify themselves to access the resource. This can be the case for private pages requiring authentication, for example.
The user is authenticated but does not have the necessary permissions: the server recognizes the user but does not grant access to the requested resource due to permission or role restrictions. This cause of the 403 error can be due to incorrect permissions on a folder or file. For a folder, the error message is "403 Forbidden", and for a file, it is "failed to open stream: Permission denied". In this case, you should check that the permissions of your folders/files are correct, which should be at least 644 for a file and 755 for a folder. Learn more
The user's IP address is blocked or restricted: the server may block access to a specific IP address for security reasons, protection against attacks... Learn more
The requested resource does not exist on the server: in this case, the server returns a 403 error instead of a 404 error to avoid disclosing sensitive information. If you are trying to access your homepage or a part of your site by entering an address like www.domain.xyz or www.domain.xyz/folder/, ensure that there is a homepage named "index.html or .htm or .php" placed in the correct location (at the root of your FTP space, in the /web directory, or in the /folder/ directory). Learn more
Additionally, ensure there are no uppercase letters in the file name; all file or folder names must be in lowercase, without accents or spaces.
Script-related error: if you were running a script, filling out a form, or uploading a file online and received this type of message:
Access forbidden!
You don't have permission to access the requested object.
It is either protected or unreadable by the server.
If you think this is a server error, please contact the site administrator.
Error 403
the cause may be a filter that prevents unwanted use of scripts by spammers. Indeed, Infomaniak's antivirus blocks file uploads via scripts or FTP. This means that when a hacker sends a file identified as a virus via a form, an unsecured script, or FTP, its upload is directly blocked, the file is not uploaded to the server, and the upload generates a 403 error.
In case of a false positive, contact Infomaniak support providing the URL of the page where you encounter this error message to accurately diagnose the problem.
However, there are many other cases where you might receive a "403 forbidden" message for various reasons (PHP scripts, perl, mod_security, .htaccess, etc.).
Dieser Leitfaden erklärt, wie Sie einen neuen Domainnamen zu einer Infomaniak-Website hinzufügen.
Vorbemerkung
- Wenn Sie einen neuen Domainnamen zu einer Website hinzufĂĽgen, spricht man von einer verknĂĽpften Domain oder auch von einem Alias.
- Ein Alias-Domainname in diesem Fall ist ein zusätzlicher Domainname, der ebenfalls mit einer bestehenden Website verknüpft ist.
- Damit die Website „
domain.xyz
“ auch unter einem anderen Domainnamen wie „private.abc
“ erreichbar ist, muss „private.abc
“ als Alias der Website hinzugefügt werden. - Ein weiteres Beispiel: Damit die Website „
domain.xyz
“ auch mit „www.
domain.xyz“ erreichbar ist, muss sie als Alias zur Domain „domain.xyz
“ hinzugefügt werden. In diesem Beispiel ist „domain.xyz
“ die Hauptdomain des Aliases „www.domain.xyz
“. Der Alias „www
“ wird im Allgemeinen bereits automatisch hinzugefügt und ist vorhanden…
- Damit die Website „
Einen Alias zu einer bestehenden Website hinzufĂĽgen
Voraussetzungen
- Wenn der Domainname (der zum Alias werden soll) oder dessen DNS-Zone von Infomaniak verwaltet wird, ist alles in Ordnung. Andernfalls:
- Der A-Record des Domainnamens muss auf Infomaniak verweisen.
- Zur Vereinfachung können Sie die Domainverwaltung Infomaniak überlassen.
- Der zukĂĽnftige Alias darf auch nicht bereits ein Alias sein; in diesem Fall muss er zuvor vom aktuellen Standort getrennt werden.
Um eine zusätzliche Domain hinzuzufügen, die mit Ihrer Website verknüpft wird:
- Hier klicken, um auf die Verwaltung Ihres Produkts im Infomaniak Manager zuzugreifen (Brauchen Sie Hilfe?).
- Klicken Sie direkt auf den Namen des betreffenden Produkts:
- Klicken Sie dann auf das Chevron-Symbol ‍, um den Abschnitt Domains dieser Website zu erweitern.
- Klicken Sie auf die Schaltfläche Domain hinzufügen:
- Geben Sie den oder die hinzuzufĂĽgenden Domainnamen ein und trennen Sie diese durch die Eingabetaste.
- Wenn der Alias oder seine DNS-Zone von Infomaniak verwaltet wird, können Sie die DNS-Einträge automatisch aktualisieren. Andernfalls nehmen Sie die Änderungen bei Ihrem Registrar vor oder übertragen Sie die Domainverwaltung an Infomaniak.
- Wenn Sie ein SSL-Zertifikat wie Let's Encrypt verwenden, können Sie hier eine Aktualisierung anfordern, um die neuen Namen einzuschließen.
- Klicken Sie auf Bestätigen, um den Vorgang abzuschließen:
Um den Alias als Hauptdomain festzulegen, lesen Sie diesen anderen Leitfaden.
This guide concerns inbound and outbound traffic permissions between different hosting providers at the database level.
Accessing...
... external databases to Infomaniak
From an Infomaniak Web hosting, it is possible to perform MySQL queries to external servers without restriction.
... from outside to Infomaniak databases
Access to Infomaniak databases from outside the infrastructure is only allowed with a Cloud Server (you need to open port 3306
in TCP / inbound in the firewall).
Allowing external connections on MongoDB
Regarding MongoDB, you need to disable the "local_only" option from Fast Installer:
- 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 sidebar menu for example)
- Choose Cloud Server (universe Web & Domain)
- Click on the name of the object concerned in the displayed table
- Click on Fast Installer in the left sidebar menu
- Click on MongoDB
- Click on the action menu â‹® to the right of the object concerned in the displayed table
- Click on Configure
- Disable "local_only"
- Save the changes
Port 27017
for MongoDB must be opened in the firewall.
This guide explains how to activate or deactivate maintenance mode on a website hosted by Infomaniak Hosting.
Maintenance mode allows you to display a customized message to your visitors, for example, during the resolution of a technical issue. It is also possible to configure IP addresses that can bypass this page.
Activating Maintenance Mode
To set up a page with your chosen message:
- 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 (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
Then choose:
- A/B: click on Manage then Enable Maintenance
- C: click on Enable Maintenance then Customize
- D: click on Page Editor then Maintenance Page > Customize
Then, to customize the maintenance page:
- Layout the text as desired
- Configure the display using the elements on the right
- Click Save to keep your ongoing edits
- Click Save & Activate to publish the page
Allowing IP Addresses
It is possible to display a site even with maintenance mode active. To do this, it is necessary to specify the IP addresses of computers that should be able to bypass maintenance mode:
- Activate maintenance mode following the procedure above
- Go to the maintenance page configuration page (see above procedure)
- 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 IP addresses to allow
- Click Save and Publish
Deactivating Maintenance Mode
To deactivate the message displayed on your site during maintenance:
- 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 (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
- Click on Manage then Disable Maintenance or directly on the button in the red banner
Alternative Method for WordPress
It is not recommended to activate the above Infomaniak maintenance page and then work in WordPress. It is recommended to install a WordPress extension (there are dozens available) dedicated to putting WordPress into maintenance mode within the CMS itself or by adding the code
<?php $upgrading = time(); ?>
in a new empty file named .maintenance (the period before the file name is important) placed on the server at the root of your site, which disables all your pages except the WordPress home page.