Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
This guide explains how, after purchasing a domain name from Infomaniak, you can get for free a Mail Service + Web Hosting.
Preamble
- For each domain name registered or transferred to Infomaniak, you can benefit from the following for free:
- an email address that gives you access to the Mail Infomaniak app
- and a 10 MB Web space for a basic page.
- It is also possible to have a free Mail Service while having a paid Web offer, or vice versa.
- Instead of a Starter type Mail Service, it is recommended to order a kSuite (for example, the Standard 1 user offer which is free).
Activate the Starter Mail + Web Offer
Prerequisites
- Own a domain name with Infomaniak (a DNS zone is not sufficient).
- Depending on the desired type (Mail or Web), do not have a corresponding product already associated with the domain name and this in any existing Infomaniak Organization.
To order a Starter Mail Service and Starter Web Hosting included with each domain:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product concerned.
- Click the Connect a service button:
- Click on Create an email address:
- Click on the search field then on Order a Mail Service:
- Click to select the free email address on the Infomaniak Shop (as below) and click on the Next button at the bottom right to advance the order:
- Click to select the basic Web page on the Infomaniak Shop (as below) and click on the Next button at the bottom right to advance the order:
- Finalize the order:
โ
- Go back to your Infomaniak Manager to discover and use your new products.
Use your Starter products
- Create the desired email address on your Starter Mail Service.
- To use the 10 MB Web space and create a basic Web page on your Starter Web Hosting, use:
- the page editor
- or the FTP file manager to manage your HTML pages
- or any FTP software/client with the classic FTP protocol
Upgrade a Starter offer
- Modify a Mail offer (click here).
- Modify a Web offer (click here).
If you have a problem with a Starter hosting
A Starter type Web hosting does not offer IPv6. Be careful with AAAA records in the DNS zone of the domain name concerned which can in particular prevent you from activating SSL; also refer to this other guide.
This guide details errors of type Rejected, too many connections from this host
if they occur while visiting a website.
Error origins
429 Too Many Requests
This error occurs when the server is overwhelmed by a large number of requests in a short period of time, which can be due to heavy site usage or abuse.
503 Service Unavailable
This error can be caused by several factors, including planned maintenance work on the server, server overload due to high traffic, or the execution of a script that exceeds the server's resource limits.
Rejected, too many connections from this host
This error occurs when the server rejects connections due to a high number of simultaneous connections from the same IP address. Check the "Access and error logs" on your hosting dashboard to find multiple entries in the following format:
[Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/blocktopmenu/js/superfish-modified.js current:34 limit:30
[Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/blocktopmenu/js/hoverIntent.js current:34 limit:30
[Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/productscategory/productscategory.js current:34 limit:30
[Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/modules/feeder/rss.php current:35 limit:30
[Fri Sep 02 11:40:31] [error] [client 222.111.123.123] Rejected, too many connections from this host. (vhost:domain.xyz uri:/js/modules/favoriteproducts/favoriteproducts.js current:34 limit:30
In this example, the IP 222.111.123.123
is making 30 simultaneous connections on each page, and is therefore automatically rejected as this may resemble an attack or scan.
Resolution paths
Some ways to resolve these errors:
- Check the scripts that make multiple connections to the server to display data.
- Optimize the relevant script(s) so that they require fewer resources.
- Increase the limits of the concerned site to allow the script to do everything it needs to do and/or limit the number of simultaneous connections (especially on a Cloud Server where the limits โ RAM, execution time, simultaneous connections โ can be significantly increased).
- Migrate your hosting to a Cloud Server.
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 details sending emails from a website hosted by Infomaniak using the PHP function mail() which is disabled by default.
Preamble
- Infomaniak strongly discourages the use of the PHP mail() function for sending emails from your applications:
- Emails will be considered as โunauthenticatedโ and will therefore be subject to limits.
- Their deliverability will be affected, which can harm your website.
- It is strongly recommended to use an authenticated SMTP sending method for your email sends from your applications; Infomaniak offers a corresponding service for this purpose.
Specify the sender's address
To ensure that messages are sent correctly from your CMS/web application (and to avoid errors such as Could not instantiate mail function
or sender mismatch
) it is necessary to specify a valid address in the site parameters on the Infomaniak side:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Manage under Advanced settings:
- From the General tab, enter an existing email address in the Sender Email field.
- Click on the blue Save button:
Re-enable the mail function
If you still want to use PHP's mail function, you will need to enable it for each of the sites in your concerned Web Hosting:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product in question.
- Click on Manage under Advanced Settings.
- From the PHP / Apache tab, enable the mail function:
- Click on the blue Save button.
PHP mail() examples...
... on WordPress
Configure the sending of the default contact form included with Divi Builder:
- Log in to the WordPress admin panel.
- Go to the Divi editor of the page containing the contact form.
- Click on the Settings icon โ to configure the Divi contact form:
- Under EMAIL, enter the email address that will receive the form submissions and save:
- By default, when a visitor uses the form to contact you, you will receive an email from
mail@le-nom-de-votre-site
and if you reply, the recipient will automatically be the email address indicated by the visitor when filling out the contact form.
... on Prestashop
Go to the advanced settings of Prestashop:
- Specify the SMTP mode.
- Enter
localhost
as the server. - Enter the port
25
. - Do not specify a username or password.
... on Joomla
Configuring email sending via PHPmail (not recommended) in Joomla:
- Log in to your Joomla site's administration panel.
- Go to Configuration then Server.
- Do not enter anything in the Site Email field:
Unfortunately, this prevents any test send via the button, but it will work if you configure a contact form on your site. Click Save once the box is left empty.
Reply-To address for PHP mail()
When sending an email with PHP's mail() function, the return-path
will be in the form of root@h2web3.infomaniak.ch
for example. However, the Reply-To:
header present in your form code allows you to specify a valid reply address.
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.
This guide explains how to delete a folder or file via SSH, which can be particularly useful when it is impossible to delete a file with an FTP software/client or the FTP Manager.
SSH command to delete a folder/file
Infomaniak disclaims any responsibility in case of data loss related to these instructions.
To delete a file or a directory, you must use the rm
command.
To delete the files NomDuFichier.php
and NomDuFichier.txt
, you should for example execute the following command:
rm NomDuFichier.php NomDuFichier.txt
To delete a directory, you must first delete its contents and then use the following command:
rmdir NomDuDossier/
To delete all files in html format, you need to run the following command:
rm *.html
- Other useful commands (external link)
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 provides tips for performing operations related to a WordPress site, which allows, among other things, 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 simplyโฆ
- โฆ change the site's 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 referenced by Infomaniak can handle these procedures. Launch a free call for tenders. They take care of everything, freeing you from technical details.
Transfer a WordPress siteโฆ
โฆ with the All-in-One WP Migration extension
- Be aware of this guide.
- Requires installing a new clean WordPress (for example via the Infomaniak automatic installer) to import the old site onto it.
โฆ with the Duplicator extension
- Be aware of 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 enable compression of resources such as css
, html
, json
, xml
etc. on your chosen 'Web Hosting.
Introduction
- This way, you will reduce the size of the resources to be loaded by your visitors, which will have the effect of reducing the loading time of your web pages.
- The
.htaccess
and.user.ini
files will be automatically updated with the necessary directives.- As a security measure, a backup copy of these two files is made with each change.
- Any change may take several minutes to take effect.
Compress files with Gzip
To enable compression with Gzip:
- 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 Advanced Settings button.
- Click on the APACHE tab.
- Enable the File Compression option.
- Click the blue Save button:
Test compression
It is possible to easily test the compression of your pages using tools like:
This guide explains how to activate a CDN to optimize an Web Hosting Infomaniak.
Preamble
- CDN stands for "Content Delivery Network" in English, which translates to "Content Delivery Network" in French.
- A CDN stores a copy of your site's content (images, videos, CSS/JS files) on multiple servers spread geographically.
- When a user accesses your site, the CDN delivers this content from the server closest to their location, thereby reducing load times:
- Your site loads faster for visitors, which can reduce the bounce rate and improve the user experience.
- By distributing the content, the CDN reduces the load on your main server, improving its performance and availability.
- Some CDNs offer security features like protection against DDoS attacks and data security.
Setting up a CDN
To use a CDN, you will generally need to make adjustments to the configuration of your domain name, specifically at the DNS record level. This will direct the traffic of your website to the CDN's network of servers. In general:
- Create an account on the website of your chosen CDN and add your site to it.
- Modify the DNS zone of your domain name according to the instructions provided by the CDN.
- Test your site to ensure that the CDN is working properly.
Cloudflare Specific Guide
For customers who want to optimize their site against overloads caused by the intense passage of bots, the use of a CDN like Cloudflare is often recommended. The Cloudflare CDN allows you to optimize the performance and security of a website with the following features:
- caching of a site's static content
- minification of HTML, CSS and Javascript code
- basic anti-DDoS protection
- etc.
To set up Cloudflare:
- If necessary, create an account with Cloudflare.
- Add the domain name of the site in question.
- Report **all** DNS zone records for the domain in question to Cloudflare (A, MX, TXT, NS records, etc.).
- In the Infomaniak Manager, modify the DNS of the domain in question with the DNS servers indicated by Cloudflare.
- Configure DKIM and DNSSEC if necessary.
- Any DNS addition/modification can take up to 48 hours to propagate.
Note: mod_cloudflare
is enabled by default on all paid web hostings.
Enable Cloudflare Rate Limiting
By default, Cloudflare acts as a mere intermediary between the site and Infomaniak, forwarding all requests to Infomaniak's servers. Thus, during traffic spikes or attacks, requests still reach the origin server, but with Cloudflare IP addresses, making it difficult to manage mitigation on a shared server.
Implementing "rate limiting" rules in Cloudflare's web application firewall is now an effective solution offered. This feature limits the number of requests sent to the server, blocking aggressive scans and protecting the server from excessive overloads.
And alsoโฆ
โฆ Amazon CloudFront
If you already use AWS services, CloudFront is easy to set up. Create a distribution, configure the settings and link it to your site.
โฆ Fastly
Sign up on Fastly, configure your service by adding your site and setting the cache parameters. Fastly offers advanced configuration options.
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 explains how to use PHPMailer with the Web hosting.
Introduction
- PHPMailer is a library that allows sending HTML-formatted emails from a website.
- It notably handles attachments, and supports SMTP authentication and multipart/alternative for clients who cannot read HTML-formatted emails.
Using PHPMailer
To use PHPMailer, it is necessary to install it manually:
- Click here to download the PHPMailer library.
- Copy the files into a directory of your website via FTP.
Link your script to PHPMailer, example:
require_once('chemin_a_modifier/class.phpmailer.php');
Fixing a Sender mismatch error
In the SMTP (Simple Mail Transfer Protocol) protocol, the From
header specifies the email address of the message sender. This is the address that will appear in the โFromโ field of the message received by the recipient.
In PHPMailer, the method setFrom
is used to set the sender's email address, while the header From
is used to specify this same address when sending the message. The method setFrom
also sets the Reply-To
field of the email.
The error Sender mismatch SMTP code: 550 Additional SMTP info: 5.7.1
occurs when the email address specified in the setFrom
field does not match the email address specified in the From
header when sending the message.
To avoid this error:
Instead of using the
setFrom
method to set the sender's email address, use theFrom
property of the PHPMailer object, example:$mail = new PHPMailer(); $mail->From = 'expediteur@domain.xyz';
Make sure the value specified in the
From
property exactly matches the email address used in thesetFrom
field.Example, if you use
setFrom
with a sender name like this:$mail->setFrom('expediteur@domain.xyz', 'Nom Expediteur');
โฆ then make sure that the value of
From
is also set with the sender's name:$mail->From = 'expediteur@domain.xyz'; $mail->FromName = 'Nom Expediteur';
Then, continue with the configuration and sending of the email as usual.
Learn more
This guide explains how to generate a certificate signing request (CSR) for a domain name and all its subdomains with a Web Hosting (excluding free hosting of type Starter).
This allows you to encrypt the connection to your domain name and all its subdomains via SSL.
Set up a Wildcard certificate
1. Add an alias domain with an asterisk *
To add an alias of type *
to your website:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product concerned:
- Click on the chevron โ to expand the Domains section of this site.
- Click on the Add a domain button:
- Enter the domain name to be added in this format:
*.domain.xyz
(the asterisk is mandatory, followed by a dot, then the domain name of the website which is domain.xyz in this example)
- Click on the Confirm button to complete the procedure:
2. Install an SSL certificate or update it
Example of updating the existing certificate to include the wildcard subdomain *
:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the product concerned.
- Click on SSL in the left sidebar.
- Click on the action menu โฎ located on the right.
- Click on Change the certificate:
- Select the same certificate that you already own.
- Click on the Next button:
- Make sure the recently added subdomain is selected.
- Click on the Install button at the bottom:
- Wait for the creation or update to complete.
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 prevent cyberattacks and how to avoid hacking of the website you manage.
WordPress users: read this dedicated article.
The role of the hoster
Infomaniak's job is to provide high-quality hosting, so it is crucial to respond extremely quickly to the various and varied attacks that any Internet actor may be subject to. Infomaniak therefore does everything possible to take the maximum precautions against hacking, notably by keeping the different versions of the technologies used up to date.
In the case of a proven hacking, if it is possible to track down the author and the machine has been compromised due to a security flaw on Infomaniak's part, and the integrity of the servers is at stake, Infomaniak takes care of it itself.
The role of the site owner and the webmaster
If your site has been hacked due to your responsibility (an outdated script, a security patch that has not been applied, etc.), Infomaniak will contact you to warn you of a problem that needs to be resolved quickly. Some organizations like Saferinternet can also suspend the domain name upstream, which will disable the site but also the email.
Infomaniak cannot counter exploits related to a bug in your PHP code or otherwise. If the hacking is not detected, you will generally notice the intrusion quite quickly through suspicious elements on your pages or by receiving numerous error emails.
It is therefore your responsibility to manage the evolution of your website over time and to ensure that it does not become neglected, even if it means hiring a webmaster whose job it is.
Don't have time to manage your services? Launch a free tender to find an Infomaniak partner who will take care of everything.
Infomaniak's recommendations
- Update all your web applications (WordPress, Joomla, Drupal, ownCloud, etc.) regularly.
- Keep the PHP version of your site on Infomaniak servers up to date.
- Keep your site up to date by migrating to new offers when they are proposed to you.
- โAdd a protection system to your contact forms (captcha, etc.) and any "recommend to a friend" tools (tell-a-friend...).
- Regularly run a antivirus scan of the hosting.
- Monitor the vulnerability detection tool.
- Remove anything you did not develop yourself and for which the author has not provided an update or correction in several months.
- Perform regular backups of your site (refer to this other guide if you use WordPress) when everything is fine and keep it safe (since automatic backups are only kept for a few days and this is sometimes not far enough back to restore after you notice an intrusion).
- Visit ibarry.ch.
If an issue has occurred...
- Change the passwords of your Web applications, your FTP accounts and your databases after previously checking that no virus is on your computer.
- Restore a backup but update immediately whatever can be updated as soon as the restoration is complete.
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 helps you understand the various HTTP status codes.
1xx - Information
error 100: Continue
The server has received the request headers and the client may continue to send the request body.
error 101: Switching Protocols
The server agrees to switch protocols as requested by the client.
2xx - Success
error 200: Request successful
The request has been successfully processed by the server.
error 201: Document created (reason: new URI)
The request was successful and resulted in the creation of a new resource.
error 202: Request completed asynchronously (TBS)
The request has been accepted but processing is not yet complete.
error 203: Incomplete request
The server successfully processed the request, but the information returned comes from a third-party source.
error 204: No Content
The request was successfully processed, but there is no content to return.
error 205: Request completed but form empty
The server has successfully processed the request and asks the client to reset the document that submitted the request.
error 206: Incomplete GET request
The server returns only part of the data, as requested by the client with the Range
header.
3xx - Redirections
error 300: The server cannot determine the return code
The request has several possible responses, and the server cannot automatically choose one of them.
error 301: Moved Permanently
The requested resource has been permanently moved to a new URL.
error 302: Document temporarily moved
The requested resource is temporarily located at a different URL.
error 303: Redirection with new access method
The response to the request can be found under another URL using a GET
method.
Error 304: The field 'If-Modified-Since
' was not modified
The resource has not been modified since the last request. No new data will be sent.
Error 305: Redirect to a proxy specified by the header
The requested resource must be accessed through a specified proxy.
Error 307: Temporary Redirect
The requested resource temporarily resides under a different URL, but the client must use the same method to make the next request.
4xx - Client Errors
Error 400: Bad request
The request is incorrect or malformed.
error 401: No authorization to access the document
Access to the resource requires authentication.
error 402: Payment required
This code is reserved for future use regarding online payments.
Error 403: Forbidden
The server understands the request but refuses to authorize it.
Error 404: The requested page does not exist
The server cannot find the requested resource.
Error 405: Method Not Allowed
The method specified in the request is not allowed for the target resource.
Error 406: Request not acceptable by the server
The requested resource is not capable of generating acceptable content according to the Accept
headers sent in the request.
Error 407: Proxy Authentication Required
Access to the resource requires authentication by a proxy.
Error 408: Request timeout
The server did not receive the complete request within the time allowed.
error 409: The user must resubmit with more information
The request cannot be processed due to a conflict with the current state of the resource.
Error 410: This resource is no longer available
The requested resource is no longer available and this is permanent.
error 411: The server refused the request because it has no length
The server refuses to process the request without a valid Content-Length
header.
Error 412: The precondition given in the request has failed
One of the conditions specified in the request headers has failed.
Error 413: The request entity was too large
The server refuses to process the request because the size of the entity is too large.
Error 414: The request URI was too long
The server refuses to process the request because the URI is too long.
Error 415: Unsupported Media Type
The server refuses to process the request because the format of the request entity is not supported.
5xx - Server Errors
Error 500: Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
error 501: Requested feature not supported by server
The server does not support the functionality required to process the request.
Error 502: Bad Gateway
The server, acting as a gateway or proxy, received an invalid response from the upstream server.
Error 503: Service Unavailable
The server is not available at the moment (overloaded or maintenance).
Error 504: Gateway Timeout
The server, acting as a gateway or proxy, did not receive a timely response from the upstream server.
Error 505: HTTP Version Not Supported
The server does not support the HTTP protocol version used in the request.
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 concerns RTMP (Real-Time Messaging Protocol), a service that allows for the streaming of multimedia content in real-time over the Internet:
- It is a proprietary protocol developed by Adobe and its use requires the configuration of a dedicated RTMP server or the use of RTMP hosting services.
- Viewers can access the live stream using an RTMP-compatible media player, such as VLC.
- By default, RTMP is blocked by Infomaniak's security rules.
- Contact Infomaniak support if you wish to have an exception set up:
- You will need to provide the fixed IP address of the machine you wish to reach as well as the desired port number.