Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Thank you for entrusting the hosting of your WordPress site to Infomaniak.
Preamble
- For your information, the WordPress site creation tool can be:
- hosted by the WordPress.com infrastructure (paid) and in this case Infomaniak is not involved in the hosting
- installed freely but manually by the user thanks to the archive provided by WordPress.org, Infomaniak is then the web host but does not manage any updates and does not list the application in the Web Applications section of the Infomaniak Manager; you will be in this case if you migrate an external WordPress to Infomaniak
- installed automatically by the tool available on the Manager and in this case WordPress is maintained (in terms of security) largely by Infomaniak
- This is the third and final point that is developed in this guide.
The Infomaniak installer automates the installation and security updates of WordPress ⚠️ For additional help contact a partner or launch a free tender — also discover the role of the host.
Install WordPress & Apps
Infomaniak makes it easy to install the WordPress application (and other applications as well):
Using WordPress
Although WordPress is one of the easiest CMS to use, it is necessary to tame it. To help you in this process, here are external resources in several different languages to get started with WordPress:
- Essential basics to know to get started with WordPress
- WordPress French-speaking community help forum
- FAQ about backups / restorations
- Using a theme or extension ElegantThemes
- Free WordPress training provided by the site progresser-en-informatique.com. If you want to get to the point, focus on the following modules:
This guide explains how to install a new WordPress site with WordPress & Apps Infomaniak included in the offersWeb hosting paid.
Install WordPress Infomaniak…
... while creating a new site on hosting
In order to access the Web Hosting and add a new site by installing WordPress at the same time:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the button to add a site:
- Choose to install WordPress.
- Click the Next button:
- Click on the button to use a domain name already present in your Organization (or on the other button if you need to first order a new domain).
- Select the domain name from your already acquired domains (advanced options include choosing a custom location on the hosting server, and an earlier version of PHP).
- Click the Next button:
- Wait for a few minutes to create the site on the accommodation.
- Enter the requested information, it will serve you to connect in the WordPress dashboard (it is possible to modify this information at any time after installation).
- Click the Next button:
- Enter the information about your site (it is possible to modify this information at any time after installation).
- Click the Next button:
- Choose between the Divi theme and the official theme of the most recent WordPress version (it is possible to modify this information at any time after installation).
- Click Next.
- Choose whether to install two Premium extensions offered with your subscription: Monarch and Bloom.
- Click Next.
- Confirm the installation from the summary page.
- You can then log in to the WordPress dashboard or go back to the management of the Infomaniak website.
... on an existing and empty site
In order to access the existing blank site on the hosting and to install WordPress:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned:
- Click on the button to add an application:
- Choose to install WordPress:
- At the bottom, click the Next button.
- Enter the requested information, it will serve you to connect in the WordPress dashboard (it is possible to modify this information at any time after installation).
- Click the Next button:
- Enter the information about your site (it is possible to modify this information at any time after installation).
- Click the Next button:
- Choose between the Divi theme and the official theme of the most recent WordPress version (it is possible to modify this information at any time after installation).
- Click Next.
- Choose whether to install two Premium extensions offered with your subscription: Monarch and Bloom.
- Click Next.
- Confirm the installation from the summary page.
- You can then log in to the WordPress dashboard or go back to the management of the Infomaniak website.
Uninstall WordPress Infomaniak...
... while deleting the hosting website (and keeping WordPress data or not)
In order to access the Web Hosting and remove the website:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the action menu to the right of the item.
- Click Unlink the site:
- Choose if you want to erase everything or keep the WordPress data on the hosting server.
- Confirm deletion:
... keeping the site on the accommodation
In order to access Web Hosting and uninstall WordPress:
- Click here in order to access the management of your product on the Manager Infomaniak (Need help?).
- Click directly on the name assigned to the product concerned.
- Click on the action menu to the right of the application.
- Click Remove Application:
- Confirm the deletion.
- Click Uninstall to remove WordPress:
Read more
This guide details how to work on a WordPress site with a development environment.
Preamble
- The process can be used at the beginning of a staging process, that is, the creation of a new version of your live website, in a development or testing environment:
- This allows website owners to test features, security updates, plugins, themes, WordPress updates, and content changes, without risking disruptions or issues on the live site.
- Once the tests have been conducted and the changes have been validated on the staging copy, it is possible to deploy them to production (on the live site) using automated deployment tools or by making the changes manually.
- Make your life easier! If needed, **local partners recommended by Infomaniak can handle these procedures**. Launch a **free call for tenders**. They take care of everything, freeing you from technical details.
Simple method
To install and set up a new WordPress site with the Infomaniak installer without overwriting your current website:
1. Install WordPress in a second location
Refer to this other guide to create the new site (in parallel with the old site domain.xyz
) by assigning it a domain name in the form of new.domain.xyz
for example and installing WordPress via Web Applications (Infomaniak WordPress installer).
At this stage, the main site (domain.xyz
) remains untouched and you can calmly work on the new site new.domain.xyz
. Both function in parallel.
2. Replace the old site with the new one
Once the new site is complete, you can delete the first site to reuse its domain name for the new one:
- Delete the old site to make the domain name available and reuse it.
- Add domain.xyz as an alias for
new.domain.xyz
. - Reverse the alias with the main domain.
- Remove (unlink/delete)
new.domain.xyz
which has become an alias. - As a precaution, check the main URL of the WordPress site via the Web Applications dashboard on the Infomaniak Manager, to ensure it matches the new name, and not the subdomain you had chosen.
Advanced method
To work on an existing WordPress site without modifying its public version, it is recommended to proceed in 3 steps:
- Duplicate the existing site
- Work on its copy
- Change the target directory of the production site to the production environment directory and modify the URLs of the pre-production site according to the domain name of the production site using a WordPress extension or via phpMyAdmin.
1. Duplicate the site to a second location
- Refer to this other guide to create the new site (in parallel with the old site
domain.xyz
) by assigning it a domain name in the form ofnew.domain.xyz
for example and installing WordPress via the Applications Web (Infomaniak WordPress installer). - Copy your existing site and paste it onto the newly created second WordPress site, using a WordPress extension.
2. Edit the duplicated site
- At this stage, the main site (
domain.xyz
) remains untouched and you can calmly work on the new sitenew.domain.xyz
. Both function in parallel. - It is recommended to install a WordPress extension (there are dozens available) dedicated to putting the second site into maintenance mode.
- If you modify the structure of your site and the URLs of your articles/pages change, you can use a free extension like Redirection to automatically create redirects. This will prevent your visitors from encountering 404 pages while search engines reindex your site or if external sites link to your site.
3. Replace the target
- When you have finished redesigning your site, all you have to do is change the target directory of the production site to the production environment directory and change the URLs of the pre-production site according to the domain name of the production site using a plugin.
- If you are using a caching extension like WP-Rocket, W3 Total Cache or WP Super Cache, it will be necessary to completely clear all the cache or even disable and then reactivate the plugin.
- If you continued to modify your site in production during the site overhaul, it will be necessary to retrieve your modifications (articles, media, pages, etc.).
- After the usual checks (missing images, broken links, etc.), all you have to do is disable the maintenance mode of your site and admire the result.
This guide explains how to set up a WordPress network to manage multiple sites from a single WordPress installation, with URLs like site1.domain.xyz
, site2.domain.xyz
, or even domain1.com
, domain2.com
, etc.
Make your life easier! If needed, local partners recommended by Infomaniak can handle these procedures. Launch a free tender. They take care of everything, freeing you from technical details.
WordPress multisite installation
To begin:
- Install WordPress via Infomaniak on your hosting space with a main domain name:
- This first WordPress site must be reachable and function correctly:
- This first WordPress site must be reachable and function correctly:
- Log in via FTP.
- Edit the
wp-config.php
file of this first WordPress site concerned. - Above the line "
/* That's all, stop editing! Happy blogging. */
" (#94) copy and paste the codedefine('WP_ALLOW_MULTISITE', true);
:
- Save your changes.
- Then log in to the administration of your WordPress site.
- Temporarily disable all WordPress plugins:
- Go to the TOOLS menu to create a Network:
- Choose the method for creating your different WordPress sites (on subdomains)…
- Click on the installation button:
- Add the instructions displayed on the screen to the
wp-config.php
and.htaccess
on the server. - After reconnecting to your WordPress, you will get a new menu "My Sites" where you can add and manage your different sites on the same network:
- In the Manager, add an alias to your site in the form
*
.your-domain-here (the asterisk allows you to create a wildcard alias) with DNS update so that the correctCNAME
is automatically added to the zone: - Install or update your SSL certificates:
- When you create a new site within the network, by naming it for example
home2
it will become accessible viahome2.domain.xyz
and so on:
This guide provides tips to perform operations related to a WordPress site, which notably allows you to…
- …copy and migrate a WordPress site from a competing host to Infomaniak,
- … change the domain name of a WordPress site,
- … backup an entire WordPress site…
Preamble
- Depending on the context, instead of performing a WordPress transfer, you can also simply…
- … change the site address (the associated domain name) very easily if you have installed WordPress via the Infomaniak installer,
- … duplicate a WordPress site to work in parallel in a development environment…
- Make your life easier! If needed, **local partners recommended by Infomaniak can handle these tasks**. Launch a free tender. They take care of everything, freeing you from technical details.
Transfer a WordPress site…
… with the All-in-One WP Migration extension
- Refer to this guide.
- Requires installing a new, clean WordPress (for example via the automatic Infomaniak installer) to import the old site onto it.
… with the Duplicator extension
- Refer to this guide.
- Requires connecting to the hosting via FTP to send a
.zip
archive and a PHP file to reinstall the old site.
This guide explains how to add a theme from Elegant Themes (Divi) for free to a WordPress site already installed via the Infomaniak installer.
Prerequisites
- Your WordPress site must be installed via the Infomaniak WordPress tools to use these themes and extensions.
- Themes can be added during installation (step 14 of this other guide) or afterward.
- To benefit from Elegant Themes support (customer service) you must subscribe to an Elegant Themes offer.
Add an Elegant Themes theme
To do this:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it means it was not installed via the Infomaniak tools… Refer to the prerequisites above.
- Click directly on the name assigned to the relevant product:
- Click on the action menu â‹® located to the right of the relevant Web Application.
- Click on Settings for the application:
- Click on Edit under Theme:
- Activate the desired theme.
- Click on the Save button:
Using an Elegant Themes extension
Refer to this other guide to install Monarch, Bloom.
This guide details the offer of Serveur Cloud which allows you to create several hostings (FTP "spaces" for which you create your FTP/SSH accounts) on which you add sites (Apache "vhosts" for the indicated domain), and the VPS offer intended for a different use.
Breaking free from shared hosting limitations
With a managed Cloud Server, you can distribute your sites across your hosting environments as you wish. You can configure them by specifying the root directory as well as certain information such as the memory_limit
and the max_execution_time
beyond the limits imposed by a shared environment.
Web tools are available such as cronjobs, Site Creator, WordPress (which allows for the installation and use of the WordPress tool with ease) or access and error logs. It is quite possible to add a specific Apache module or to install a caching system.
Server Cloud or VPS?
Managed (Serveur Cloud)
Infomaniak manages the software part of the servers under FastCGI and PHP-FPM without allowing you to freely configure the server (for example, no custom installation). Only specific programs can be installed.
Unmanaged (VPS)
Infomaniak handles the hardware and installs the chosen version of Linux or Windows upon order. There is no software-level intervention. The server is under "your responsibility". You can restart the server via the Infomaniak Manager and a snapshot system is available (excluding VPS Lite).
If you are hesitant to take a Server and you mainly plan to have a large amount of video content, you can pair a shared hosting with a VOD space. This solves the problems of overload on a site since it allows you to separate the audiovisual content from your shared hosting and thus have a video storage space that easily supports significant load increases. You will also have detailed statistics at your disposal regarding the viewing of your videos.
Switching from one to the other...
To migrate a **Serveur Cloud** to a **VPS**, or vice versa, there is no "turnkey" solution. For this type of migration, you must cancel the product that is no longer desired and then order the product you need in its place. Infomaniak will refund upon request any purchase of a new server if the cancellation occurs within 30 days of the order.
This guide explains how to install a new Web Application (Joomla, Drupal, Typo3, PrestaShop, etc.) in a few clicks on the paid Web Hosting offers.
Prerequisites
- Have a Infomaniak Web Hosting (order if necessary).
- Add a blank website to the Infomaniak hosting.
Specific guides
Take note of these guides if you are concerned with the specific installation of:
Refer to this other guide regarding additional technologies that can be installed in a few clicks but on Cloud Server only.
Guides for any other Web Application
To access Web Hosting and install a Web Application:
- 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 the Add an app button:
- Choose the desired application (if necessary, filter and search).
- Click on Select:
- Click at the bottom of the page on Next.
- Enter a name.
- Leave the default location or choose to install the app in a new folder that you can create using an icon visible to the right of point 8 in the image.
- Optionally, choose to install an earlier version if necessary.
- Click on the Next button:
- Set the username and password.
- Specify certain advanced settings if necessary (backup type, among others).
- Review and accept the terms of use of the selected app.
- Click on the Next button:
- Confirm the installation of the application in the next step and wait.
- Take note of any error message on the screen if, for example, the installation folder chosen is not empty or if the PHP version of the site on which you are attempting the installation is not compatible.
Uninstall a Web Application
To access Web Hosting and uninstall the previously installed application:
- 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 the action menu â‹® located to the right of the application to uninstall.
- Click on the trash can icon to delete the application:
- Confirm the deletion.
Learn more
- Modify the domain name associated with the Web Application
- Configure backups for Web Applications
- Restore a Web Application
This guide explains what a web host like Infomaniak is and specifies its role and limits of intervention.
Infomaniak, web host since 1996
According to Wikipedia, a web host is a company that provides Internet hosting for computer systems to individuals or entities that do not wish to do so themselves.
Infomaniak is also…
- … decades of experience in hosting and online solutions
- … more than a million users in Switzerland and Europe (CHF 36.5 million in revenue in 2022)
- … a company certified ISO 27001, ISO 9001, ISO 14001, ISO 50001 and committed to sustainable development
- … 100% Swiss-made technological expertise with data hosted in Switzerland
- … a rich knowledge base and customer support available
Responsibilities and limits of intervention
As a web host, Infomaniak installs, secures, and keeps servers up to date, updates its web interfaces (Manager) and guides its clients in the use of services.
However, **Infomaniak does not intervene in the content of the servers or the development of websites**.
Technical support limitations
The technical support cannot help you with…
- … solve issues related to site development or its updates
- … implement solutions (migrations, complete installations)
- … manually install WordPress
- … take control of your computer remotely
but can assist you with…
- … solve issues related to the infrastructure or the Manager
- … clarify certain processes
A Premium support and a migration service are available for more demanding needs.
Find external help
For help with your site's content or organizing your emails, use the Infomaniak tender platform which lists over 1000 verified professionals, or consult the directory.
This guide explains how to add a free extension from Elegant Themes (Monarch, Divi Builder, Bloom, etc.) or a theme to an already installed WordPress site via the Infomaniak installer.
Prerequisites
- Your WordPress site must be installed via the Infomaniak WordPress tools to use these themes and extensions.
- The extensions can be added during installation (step 16 of this other guide) or later.
- To benefit from Elegant Themes support (customer service) you must subscribe to an Elegant Themes offer.
Add an Elegant Themes plugin
For this:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it means it was not installed via the Infomaniak tools… Refer to the prerequisites above.
- Click directly on the name assigned to the product in question:
- Click on the action menu â‹® located to the right of the relevant Web Application.
- Click on Settings for the application:
- Click on Add under Extensions:
- Activate the desired extensions.
- Click on the Save button:
- The extensions are then available in your WordPress admin interface:
Use an Elegant Themes theme
Take note of this other guide to install an Elegant Themes theme with Infomaniak.
Thank you for entrusting Infomaniak with the hosting of your website.
Preamble
- A web hosting service is a storage space available on a computer, also called a "server," connected to the Internet and managed by a web host, Infomaniak.
- This storage space, made available to professionals and individuals, is used to install websites or other types of tools (CRM, extranet, intranet...) that need to be accessible via the Internet.
- These guides allow you to quickly use the essential functions of your new product, your web hosting, which can host multiple websites.
Where to start?
- Create a WordPress website
- Build the site with Site Creator
- Install a web application (ownCloud, Joomla, Typo3, Drupal, phpBB, Simple Machines Forum, Magento, Prestashop, …)
- Manage your FTP accounts/users
- Manage and publish files on your web hosting via FTP Manager
- Manage your MySQL databases
- Add a site or subdomain to your hosting (multi-sites/multi-domains)
- Link another domain name to an existing website (domain alias)
- Preview your site even if your domain name is not yet pointing to Infomaniak's servers
IMPORTANT: the domain name…
Web hosting, to be visible to the public on the Internet, must be associated with a domain name!
Is your domain name not managed by Infomaniak? Or is it in a different Organization than your web hosting? Then refer to this other guide to configure the DNS or the "A records" in order to link the domain name to your web hosting.
In case of a problem
To resolve an issue, please consult the Web Hosting knowledge base before contacting Infomaniak support.
Click here to share a review or suggestion about a Infomaniak product.
This guide explains how to disable all extensions installed on your WordPress on a Web Hosting.
Preamble
- If you encounter an issue with your website, disabling WordPress extensions allows you to quickly identify if one of them is causing the problem and to draw the necessary conclusions to fix your site.
- For additional help, contact a partner or launch a free tender — also discover the role of the host.
Quickly disable WP extensions
To disable all WordPress plugins:
- Log in to the server via FTP (need help?).
- Go to the site location (folder corresponding to your WordPress site).
- Rename
/wp-content/plugins
to/wp-content/_plugins
for example- To disable a specific extension, rename
/wp-content/plugins/PluginName
to/wp-content/plugins/_PluginName
for example.
- To disable a specific extension, rename
This guide explains how to replace the main domain name associated with a Website hosted on Infomaniak in case you want to, for example, change the name of your activity or modify the spelling.
Preamble
- It is not possible to simply change the spelling of the domain name in question.
- You must own the new domain name and install it in place of the current one by performing a swap (read below).
- You can also rename your Web Hosting product in the Infomaniak Manager but changing the name of a hosting service has strictly no impact on the URLs of the sites.
- You need to act on the domain name and, if necessary, adapt the content of the site.
Change the website's domain name
Prerequisites
- Prepare the new domain name (if necessary you need to buy it).
- If the change you are looking for is more of a "subdomain" to "main domain" type (
dev.domain.xyz
→domain.xyz
for example) then refer to this other guide.
To replace the domain name assigned to the site with another domain name:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the concerned product:
- Then click on the chevron ‍ to expand the Domains section of this site:
- Refer to this other guide to link the new domain name to your site (read the prerequisites carefully):
- It is this new linked domain that will replace the current primary domain name after the inversion you will perform below.
- Once the new domain name is linked to your site, click on the action menu â‹® to the right of it.
- Choose Set as primary domain:
- If necessary, delete the old domain name and its variants that have become alias domains alias (and no longer primary domains).
If you are using a SSL certificate, you will need to update it to include the added aliases.
If you are using the dedicated IP option, you will need to uninstall and reinstall it after performing the swap.
Adapt the site content to the new name
In some cases, the web application used to develop the site needs to be adjusted to work with the new domain name. Click on the link corresponding to the development of your site to adapt the content:
This guide explains how to change the URL of your website from the WordPress app installed on your Web Hosting Infomaniak (only in the case where you have installed WordPress via the dedicated tools offered by Infomaniak).
This allows you to assign a different domain name to your WordPress site.
Prerequisites
- The domain name you wish to use must first be added as an alias to the main domain on the relevant site.
Change the address of a WordPress site
To change the address of the site created with WordPress Infomaniak to another domain name that is already in the same Organization:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it is because it was not installed via Infomaniak tools… refer to the official documentation.
- Click directly on the name assigned to the relevant product:
- Click on the action menu â‹® located to the right of the relevant Web Application.
- Click on Settings for the application:
- Click on Edit to the right of the WordPress:
- Under Site URL, select the desired web address from the dropdown menu:
- If you have not followed the prerequisites above, the desired domain will not appear even if it is registered within the same Organization.
- If you have added the domain as an alias for the site, the desired domain will appear and you will be able to select it to replace the previous domain.
- Click on the Save button:
Domain ….preview.infomaniak.website?
Among the URLs present in the dropdown menu, the preview URL allows you to access your WordPress site in case the site's domain name is not yet correctly configured to point to your WordPress app.
This guide offers two methods to access the administration interface of a WordPress site installed via the tools Infomaniak, for example to update the content.
Prerequisites
- Know your access credentials…
- … to WordPress
- … to the Manager Infomaniak
Access the WordPress console…
1. … from the Manager
To access WordPress from the Manager:
- Click here to access the management of your WordPress site on the Infomaniak Manager (need help?).
- If your site does not appear here, it means it was not installed via the Infomaniak tools… refer to the official documentation.
- Click directly on the name assigned to the relevant product.
- Click on the Edit button to open the WordPress login page:
- Enter the username and password chosen during the WordPress installation.
2. ... via the URL /wp-admin
By default, simply add the term /wp-admin
to the end of your domain name's URL in your web browser's address bar to access the WordPress console login page directly.
If the address of your WordPress site is for example https://domain.xyz
, the address to access the WordPress administration interface will be https://domain.xyz/wp-admin
.
What to do if the shortcut ./wp-admin does not work?
- If the shortcut
./wp-admin
does not work, you might be using a security extension that modifies the URL of certain pages to limit attempts to hack your site (example of plugin)… - If you need to access the WordPress console and your domain name is not functional at the moment, it is possible to switch the main domain name to the preview address..
This guide concerns Redis
, a PHP module for Serveur Cloud Infomaniak.
Preamble
Redis
is used with PHP to accelerate performance by serving as a cache for temporary data and managing user sessions, thus improving the efficiency of web applications.Redis
also allows the implementation of queuing systems and temporary storage of data for asynchronous tasks or statistics.
Install Redis
Redis
is installed via Fast Installer, applications available in a few clicks on Serveur Cloud:
- After installation,
Redis
is accessible via the IP/portlocalhost:6379
or127.0.0.1:6379
- The password for
Redis
must be between 15 and 99 characters (inclusive).
This guide helps you install Ghost on Infomaniak, an ideal platform for blogs (regular writing, editorial format) and content-focused publishing sites, such as Substack or Medium.
Based on Node.js and using Markdown for writing, Ghost stands out for its lightness, whereas WordPress, although more flexible and universal, is heavier.
For additional help, contact a partner or launch a free tender — also discover the role of the host.
Prerequisites
- Have installed a blank Node.js site on Infomaniak Web hosting.
- Create an SSH access.
- Create a database.
- Have a valid and functional email address (especially the forgotten password features).
Ghost Installation
To do this:
- Log in to the server via SSH (need help?).
- Navigate to the site directory by running the command “cd chemin-vers-le-site” (for example
cd sites/ghost.domain.xyz
). Enter the following command:
npx -p ghost-cli ghost install --check-empty=false
and enter the requested information (database host name, website URL, etc.).
Edit the
config.production.json
file to update the port and host parameters:"server": { "port": 3000, "host": "0.0.0.0" },
Specify the email information there as well:
"mail": { "transport": "SMTP", "options": { "service": "Infomaniak", "host": "mail.infomaniak.com", "port": 465, "auth": { "user": "<<email_username>>", "pass": "<<email_password>>" } }, "from": "<<email_address>>" },
Node.js Configuration
To run the application, go to the Node.js dashboard:
- 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 Manage under Advanced Settings:
- Click on the Node.js tab to access the settings:
In the execution command field, enter:
npx -p ghost-cli ghost run
- Click the Save button at the bottom of the page.
- On the main page, click the Start or Restart button.
- Observe the logs showing the creation of the database and the start of the application:
- Then, go to your site's URL to start.
User/mail configuration
To create the first user, add /ghost
to the URL of your site (for example https://ghost.domain.xyz/ghost
) and follow the assistant.
You can also configure the "member portal support address": when new members want to register, the portal sends the double opt-in confirmation from a specific address. By default, this is the “noreply” address of your domain. To update it, navigate to “Settings”, “Membership”, “Portal Settings”, “Customize”, and “Account Page”:
Resolve a technical incompatibility between Ghost and MariaDB
There is a compatibility issue between Ghost and the MariaDB database. This results in this type of error:
[2025-05-26 12:54:28] ERROR "GET /ghost/api/admin/posts/6834625e35802b06f1496305/?formats=mobiledoc%2Clexical&include=tags%2Cauthors%2Cauthors.roles%2Cemail%2Ctiers%2Cnewsletter%2Ccount.conversions%2Ccount.clicks%2Csentiment%2Ccount.positive_feedback%2Ccount.negative_feedback" 400 27ms
Could not understand request.
Error ID:
8f2b0d90-3a30-11f0-a25f-fd9c83e1cf02
Error Code:
ER_BAD_FIELD_ERROR
----------------------------------------
Error: select `posts`.*, (with `k` as (select `member_id` from `members_subscription_created_events` where posts.id = members_subscription_created_events.attribution_id union select `member_id` from `members_created_events` where posts.id = members_created_events.attribution_id) select count(*) from `k`) as `count__conversions`, `posts`.*, (select count(distinct `members_click_events`.`member_id`) from `members_click_events` inner join `redirects` on `members_click_events`.`redirect_id` = `redirects`.`id` where posts.id = redirects.post_id) as `count__clicks`, `posts`.*, (select COALESCE(ROUND(AVG(score) * 100), 0) from `members_feedback` where posts.id = members_feedback.post_id) as `count__sentiment`, `posts`.*, (select count(*) from `members_feedback` where posts.id = members_feedback.post_id AND members_feedback.score = 0) as `count__negative_feedback`, `posts`.*, (select sum(`score`) from `members_feedback` where posts.id = members_feedback.post_id) as `count__positive_feedback` from `posts` where (`posts`.`type` = 'post' and `posts`.`status` in ('draft', 'published', 'scheduled', 'sent')) and `posts`.`id` = '2834125e33802b06e1433305' limit 1 - Unknown column 'posts.id' in 'where clause'
at Child.<anonymous> (/srv/customer/sites/ghost.domain.xyz/versions/5.120.2/core/server/models/base/plugins/crud.js:194:31)
at Packet.asError (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/packets/packet.js:740:17)
at Query.execute (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/commands/command.js:29:26)
at Connection.handlePacket (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/base/connection.js:475:34)
at PacketParser.onPacket (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/base/connection.js:93:12)
at PacketParser.executeStart (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/packet_parser.js:75:16)
at Socket.<anonymous> (/srv/customer/sites//versions/5.120.2/node_modules/mysql2/lib/base/connection.js:100:25)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
Some SQL queries generated by Ghost, using common table expressions (CTE) nested in scalar subqueries, cause HTTP 400
errors when executed on MariaDB. These queries are valid in MySQL 8, which supports CTE in scalar subqueries, but not in MariaDB until version 10.6.
A patch is available to adapt Ghost's behavior and avoid these errors (refer to the official guide).
To use this patch, enter this command:
cd current
curl -L https://gist.githubusercontent.com/reneluria/8cbbfbc001e542c77d6d5887fbafe5d3/raw/65e0ce31753b4687d0eb67fc030734a35d3ffbad/ghost-post.patch | patch -p0
This guide is for users making changes around a hosting environment where WordPress is installed.
Preamble
- Following a change in your web hosting plan (migration from the old v1 60 Go hosting formula to the current offers), you may need to update the connection between the MySQL/MariaDB database and your WordPress site (to avoid the error "
error establishing a database connection
" for example) and thus restore the link between WordPress and the MySQL/MariaDB database.
Modify the important elements
Here is the information to update in the wp-config.php
file to ensure your WordPress site works (in most cases, a prefix has simply been added to the existing database name and username):
- the name of the MySQL database (database namebefore, abcd_database name after, for example)
- the MySQL database host server (mysql.domain.xyz before, abcd.myd.infomaniak.com after, for example)
- the username that accesses the MySQL database (userbddbefore, abcd_userbdd after, for example)
Modify the WordPress wp-config.php file
To do this:
- Find and keep your current MySQL information according to the list above.
- Create an FTP account.
- Log in via FTP.
- Edit the
wp-config.php
file located in the root folder of your WordPress site. - Find the relevant paragraph and update the 3 pieces of information (according to the list above).
- Save the file and that's it, your WordPress will now connect to the correct database!
This guide details the possible actions to combat unwanted content that may appear on your WordPress site when it is not sufficiently protected.
Introduction
- When your WordPress site is not sufficiently protected or monitored, spam bots take advantage of the comment system to post thousands of messages (obviously containing links to their fraudulent activities).
- Any form (contact, voting, booking, etc.) can also be exploited for malicious activities if nothing is done in advance to protect against it.
- This will affect your site (no one will leave a serious comment), the reputation of the domain name, your activities and the server itself to the point of saturating it and impacting other sites on the same space.
- It is therefore crucial to take care of your site's health and ensure its proper functioning throughout its lifespan.
Fighting unwanted comments
First, carefully follow the solutions proposed by the WordPress codex. You will learn, for example, that disabling the comment system via the WordPress dashboard only affects future posts; it is therefore important to follow one of the alternative methods proposed by WordPress for a more radical deactivation.
If you still want to collect comments, you can for example limit them to registered users (refer to the official help regarding the comments settings page) but you will then need to monitor registrations.
Fighting spam submissions
An effective protection against automated comments and the exploitation of any form on your site involves implementing a captcha
, or its alternative, the honeypot
(honey pot). You will thus close the door to bots
(robots programmed to browse the Web and exploit its vulnerabilities).
Akismet, developed by Automattic
, the company behind WordPress, receives good reviews but becomes paid for commercial use.
By installing WordPress on your Infomaniak site via the automatic installation system, you will find the WP Armour – Honeypot Anti Spam extension already activated, to protect in its free version all types of forms, such as those of WP Comments, WP Registration, BBPress Forum, Contact Form 7, Gravity Forms, Elementor Forms, Divi Theme Contact Form, WooCommerce Reviews Pro, etc.
If you want an alternative dedicated solely to the contact form Contact Form 7, add its protective Honeypot extension.
Another extension receives many favorable reviews: La Sentinelle antispam !
The role of the hoster
You can learn more about the mechanisms put in place by Infomaniak to combat this issue through the article and the FAQ about the tools available if you have a website.‍
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 the resources and configuration
Manage the sites and domains
If your domain name is not managed by Infomaniak or if your hosting is not managed under 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. 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 is not yet pointing to Infomaniak's servers
In case of a problem, consult the knowledge base before contacting Infomaniak support.