Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide explains how to migrate a Web Hosting from MySQL to MariaDB.
Preamble
- MariaDB is an enhanced version of MySQL, featuring numerous powerful integrated features and many improvements in terms of usage, security, and performance:
- MariaDB has a larger connection pool supporting up to 200,000 connections, while MySQL has a smaller connection pool.
- When comparing the performance of MariaDB and MySQL, it is noted that replication is faster in MariaDB and slower in MySQL; MariaDB is generally faster than MySQL.
- MariaDB is Open Source, while MySQL uses proprietary code in its Enterprise edition.
Using MariaDB to replace MySQL
The update to MariaDB is irreversible and all sites on your hosting will then run on this version of MariaDB. Check the compatibility of your scripts before proceeding.
To migrate a Web Hosting to MariaDB:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Databases in the left sidebar.
- Click on the link Migrate to MariaDB.
To migrate a Cloud Server, refer to this other guide about migrating to a new generation of Cloud Server.
Remote connection to an Oracle database is not available with shared hosting and servers.
However, you can install OCI8
for PHP on VPS Cloud / VPS Lite.
This guide concerns Django, an open-source web development framework in Python.
Django Installation
It is only possible to install Django on VPS Cloud / VPS Lite.
Discover the various web hostings of Infomaniak.
This guide explains how to migrate a shared web hosting to a Cloud Server by retrieving all its data, websites, databases, etc.
Preamble
- If you already have a **Serveur Cloud**, go straight to step 2 of this guide.
- To migrate a web hosting from one Server Cloud to another Server Cloud, refer to this other guide.
- To migrate a web hosting from a Server Cloud to a shared web hosting, refer to this other guide; note that this is a manual operation.
1. Order a Cloud Server
For this:
- Click here to access the management of Cloud Servers on the Infomaniak Manager (need help?).
- Click on Order, choose a Managed Cloud Server and follow the assistant to complete the order:
2. Migrate the hosting to the Cloud Server
Once the Cloud Server is up and running:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click on the action menu ⋮ located to the right of the relevant item.
- Click on Change Offer:
- Select the free transfer offer.
- Select the Serveur Cloud to which to migrate your hosting:
- Click on the Next button at the bottom of the page and complete the procedure entirely.
- Please wait during the hosting migration, a service interruption will be felt during the process.
- Note:
- The names of the databases and database users are retained.
- FTP accounts are retained with the same names, but the host server changes to an address of type
xxxx.ftp.infomaniak.com
. - The IP addresses of the sites will change except for dedicated IPs.
This guide details the offer of Cloud Server Infomaniak which allows you to create multiple hostings (of "FTP spaces" for which you create your FTP/SSH accounts) on which you add sites (of "Apache vhosts" for the indicated domain), and the offer VPS Infomaniak for a different use.
Clearing the boundaries of the mutualized
With a managed Cloud Server, you distribute your sites to your accommodation as you wish. You can set them by indicating the root directory as well as certain information such as the memory_limit
and max_execution_time
beyond the limits imposed by an environment that would be mutualised.
Web tools are available such as cronjobs, Site Creator, WordPress (which allows the installation and then the use of the WordPress tool in all simplicity) or access logs and errors (logs). It is quite possible to add a specific Apache module or toinstall a cache system.
Cloud server or VPS?
Managed (Cloud Server)
Infomaniak manages the software part of servers under FastCGI and PHP-FPM without you being able to freely configure the server (no custom installation e.g.). Only specific programs can be installed.
Unmanaged (VPS)
Infomaniak handles hardware and installs the version of Linux or Windows selected at the order. No intervention at the software level. The Server is under "your responsibility". You can restart the server via the Infomaniak Manager and a system of snapshot is available (excluding VPS Lite).
If you hesitate to take a Server and you are planning a large video content, you can pair a shared hosting with a space VOD This solves the problems of overload on a site as it allows you to dissociate audiovisual content from your shared hosting and thus have a video storage space that easily supports large-scale loads. You will also have at your disposal detailed statistics regarding the viewing of your videos.
Tossing from one to the other...
To migrate a Cloud Server to a VPS, or vice versa, there is no "turnkey" solution. For this type of migration, you have to terminate the product that is no longer desired and then order the product you need instead. Infomaniak reimburses any purchase of a new server on request if the cancellation takes place less than 30 days after the order.
This guide explains how to view and download Apache logs from Web Hosting useful for correcting PHP scripts or certain programming errors.
Preamble
- Infomaniak keeps the last 500 error or access displays for a maximum retention period of 10 days.
- It is impossible to perform a previous search even upon request.
- You can also find these logs on the server via FTP in the
/ik-logs
folder.
Accessing the access and error logs
To display these logs:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Logs in the left sidebar:
- Click on Errors or Access to display the error log or access log.
- Click on Send by email to immediately receive all entries by email at your user address:
This guide explains how to order, link or remove a dedicated IP from a website.
Manage dedicated IPs on a hosting plan
Order one or several first dedicated IP addresses
To do this:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Web in the left sidebar.
- Click on Dedicated IPs in the left sidebar.
- Click on the button to order one or more IP addresses:
Order one or several additional dedicated IP addresses
To do this:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Web in the left sidebar.
- Click on Dedicated IPs in the left sidebar.
- Click on Order :
Associate a dedicated IP address with a website on a hosting plan
Once the IP has been ordered and paid for, familiarize yourself with the prerequisites below, as switching to a dedicated IP address for a website may cause a temporary interruption, especially in the presence of a certificat SSL Let’s Encrypt. To limit the impact:
- Start by reducing the TTL of the DNS records
A
andAAAA
(for@
andwww
) to 5 minutes. - Wait for the previous TTL duration before making any changes.
- The change below should be made during a period of low traffic to limit the inconvenience caused by the inevitable interruption.
- At the end of the procedure, you will need to wait for the new TTL to propagate the new configuration and for the SSL certificate to be regenerated, then check the accessibility of the site in HTTPS to ensure that everything is working correctly.
To switch to a dedicated IP address:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Web in the left sidebar.
- Click on Dedicated IPs in the left sidebar.
- Click on the button to dedicate the IP to a site on your hosting:
- Select the site to assign the new IP address to.
- Check the box after reviewing the warnings.
- Click on the Associate button:
Remove a dedicated IP address from a website
Once the IP is installed, to uninstall it:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Web in the left sidebar.
- Click on Dedicated IPs in the left sidebar.
- Click on the action menu ⋮ located to the right of the relevant item.
- Choose Unbind:
- Take note of the warnings and confirm the deletion to complete the IP uninstallation procedure.
Refer to this other guide if you are looking for information on potential issues related to your IP.
This guide explains how to order a Web Hosting at Infomaniak.
Order new Infomaniak Web Hosting
To order a first web hosting:
- If necessary, create a user account.
- Click here to access the Infomaniak Manager.
- Click on Hosting (Web & Domain universe):
- Once on the Shop, enter the domain name of your hosting and click on Search (even if you already manage it with another registrar).
- Two scenarios are then possible:
- You do not yet own the domain name: click the Next button.
- You own and manage your domain names with another registrar: click on the action menu ⋮ to Order hosting only.
- Choose the hosting that suits you.
- Click on Next.
- Complete the order.
You are already a customer and you already have hosting
To order additional hosting:
- Click here to access your product management on the Infomaniak Manager (need help?).
- Click on the supermarket cart icon:
If you already have web hosting, you can also add a site to an existing hosting without ordering or paying for new hosting (multi-site/multi-domain management).
This guide provides basic guidance for creating and using a file .htaccess
and .user.ini
with a Web hosting Infomaniak.
Preamble
- A file
.htaccess
places itself at the root of a website and allows to configure Apache HTTP Server.- As a decentralized configuration file, it offers significant flexibility to adjust the server's behavior according to the specific needs of the site.
- This file allows you to set URL rewrite rules, impose access restrictions, manage HTTP errors, and even customize security aspects such as deactivating file/folder display.
- It also facilitates the establishment of redirections and aliases, thus providing precise control over the organisation and accessibility of the site.
- A file
.user.ini
allows for customize the PHP directives of the folder (and its subfolders) in which it is located.- By acting at the PHP interpreter level, this file allows you to define specific configurations for a given folder and its subdirectories.
- Thanks to its clear syntax, it offers the possibility to modify various parameters such as memory limit, script execution time, error management, and other PHP-related directives.
- This granular approach allows developers to finely customize PHP's behavior according to the specific requirements of each section of the site.
Create File...
… .htaccess
- Log in to your accommodation via FTP or SSH.
- At the root of the relevant website, create a new file and give it the following name:
.htaccess
. - Enter the desired instructions in the file; learn more about these other guides e.g.:
… .user.ini
- Log in to your accommodation via FTP or SSH.
- At the desired location, create a new file and give it the following name:
.user.ini
. - Enter the PHP configuration settings desired in the file.
⚠的 File modification .user.ini
takes several minutes to be effective.
This guide explains how to launch a content analysis of a Web Hosting to detect and clean files containing viruses and other malicious scripts that could threaten the security of websites.
Start an antivirus scan of the sites
To analyze potentially infected content:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on Security in the left sidebar.
- Click on Antivirus in the left sidebar.
- Click the blue button Analyze:
- Select the site(s) to analyze.
- Click on the blue button Start the analysis.
The antivirus scan may take some time, but the Manager can be closed. You will receive an email when the operation is complete.
Also consider the vulnerability detection tool to monitor potential vulnerabilities that are automatically fixed on your websites.