burger
infomaniak
infomaniak
cloud-computing-logo
Cloud Computing
web-domain-logo
Web & Domains
event-marketing-logo
Events & Marketing
  • Our products
    • Collaborative tools icon chevron
    • Web & Domains icon chevron
    • Cloud Computing icon chevron
    • Events & marketing icon chevron
    • Streaming icon chevron
      kSuite, the ethical collaborative solution
      drive icon kchat icon swiss-transfer icon custom brand icon mail icon kmeet icon kpaste icon
      Everything you need to collaborate effectively online
    • kdrive
      kDrive Store, collaborate and share your files
    • mail service
      Email Service Create your own email addresses with your domain
    • kChat
      kChat Communicate live with your team
    • kmeet
      kMeet Organise your meetings online in complete security
    • swisstransfer
      SwissTransfer Send your files up to 50 GB free of charge.
    • kpaste
      kPaste Share and encrypt your sensitive information
    • ksuite
      Custom Brand Control the brand image of your products
      Find the right web hosting solution for you
    • Domain name
      Domain name Reserve your domain name at the best price
    • Site Creator
      Site Creator Create your website with ease
    • web hosting
      Web Hosting Create your website with more than 100 CMS
    • web hosting
      Wordpress hosting Create your WordPress website easily
    • Cloud Server
      Cloud Server Power up your sites with guaranteed resources
    • SSL Certificat
      SSL certificates Secure your websites with an EV or DV certificate
    • Options
    • Domain privacy
      Domain Privacy Protect your domains’ private data
    • DNS Fast Anycast
      FastAnycast DNS Speed up your website access times
    • Dyn DNS
      DynDNS Access your devices remotely
    • Dyn DNS
      Renewal Warranty Secure your domains against loss and theft
      Find the right Cloud Computing solution
    • Cloud Server
      VPS Cloud Create a Windows or Linux server
    • jelastic cloud
      Jelastic Cloud (PaaS) Create your own customised environments
    • public cloud
      Public Cloud (IaaS) Create your projects in a high-end, ultra-competitive Cloud
    • High availibility
      Very High Availability Create a multi-data center infrastructure with customised SLAs
    • swiss backup
      Swiss Backup Back up your devices in the Cloud
    • nas synology
      Synology NAS Rent a NAS in our secure data centers
    • Housing
      Housing Install your servers in our data centers
      Infomaniak Events, the local and independent events portal
      Online ticketing service with a wide choice of concerts, shows and events.
    • online shop
      Ticketing Create your ticketing service and sell tickets.
    • kdrive
      Access Control Easily control access to your events.
    • kdrive
      Guest manager Automate your event invitations
    • kdrive
      Newsletter Send your newsletters at competitive prices
    • Streaming radio
      Streaming radio Create and broadcast your own live online radio station
    • streaming video
      Streaming Video Create and broadcast live events and online TV
    • VOD and AOD
      VOD & AOD service Host and distribute your recordings without limits
  • Support
    • FAQs 1000 FAQs, 500 tutorials and instructional videos
      icon chevron
    • Documentation for developers API references
      icon chevron
    • Contact us By chat, telephone or e-mail
      icon chevron
    • Premium support Assistance 24/7
      icon chevron
    • Sales contact For companies, NGOs and public authorities
      icon chevron
  • About us
    solar pannels
    Ecological commitment
    Discover our commitment →
    About Infomaniak
    Our vision, our values
    Our teams
    Infomaniak is recruiting
    Press and communication
    Blog and news
    Partners and resellers
    Become an Infomaniak partner
    Consult the list of partners
    Create a call for tenders
    Sales contact
    Security
    Data confidentiality
    Bug Bounty Programme
  • search-icon
    close-icon
      icon

      Would your needs exceed our solutions? To find out, contact us so that we can advise you personally.

      Our flagship products:
  • search-icon
  • My account
    • Workspace

      Webmail, contacts, calendar

    • Manager

      Managing Infomaniak products

Price Price

Knowledge base

1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

Knowledge base FAQ - Knowledge base Cloud Server
    212 FAQ(s) found
    Modify a site's server configuration

    This guide explains how to modify the server configuration of a website (.user.ini; .htaccess).


    .htaccess or .user.ini File?

    Apache is the HTTP server. It is configured with a .htaccess file placed at the root of the website.

    PHP is a programming language used to create dynamic web pages via an HTTP server. You can customize PHP directives with a .user.ini file, which will be effective in the folders and subfolders of the location of the .user.ini file.

    PHP directives must be placed in the .user.ini file to take effect!

    Important: Modifying the .user.ini file may take several minutes to take effect.


    Modifying the Server Configuration of a Website

    via the Manager

    To modify the PHP configuration, most settings (max_input_vars, allow_url_fopen, memory_limit, etc.) can be configured via the Manager:

    1. Open the Manager (manager.infomaniak.com)
    2. Go to Web Hosting
    3. If necessary, click on the hosting/domain name concerned
    4. Under Sites, at the bottom, click on the domain name of the relevant site
    5. Click on the Advanced Settings button
    6. Under the PHP and Apache tabs, adjust the site's configuration as needed
    7. Save

    sign


    via the .user.ini File

    For PHP directives that are not available in the Manager, you need to define the desired values in the .user.ini file.

    For example:

    max_file_uploads = 20

    The list of existing directives can be found on the official PHP website, but items with "PHP_INI_SYSTEM" in the "Changeable" column, as well as max_input_time, memory_limit, and mysqli.default_socket, cannot be used.


    via the Command Line Interface (CLI)

    To customize PHP directives via a Command Line Interface (CLI) or in CRON tasks, you need to define the desired values in a .user.ini file and then call the PHP executable with the -c .user.ini option.

    The following example changes the available memory for PHP:

    ~/web$ echo -e ' ' >memory-limit.php
    ~/web$ php memory-limit.php
    memory_limit: 512M
    ~/web$ echo 'memory_limit = 1024M' >.user.ini
    ~/web$ php -c .user.ini memory-limit.php
    memory_limit: 1024M
    ~/web$


    The following example enables allow_url_fopen for the WP CLI tool (which allows retrieving extensions):

    php -d allow_url_fopen=On ~/bin/wp package install trepmal/wp-revisions-cli


    Learn More

    • How to Create a .htaccess or .user.ini File
    • Change the PHP Version of a Website
    • Enable Gzip Compression
    • Enable Google PageSpeed Tools
    • Increase Script Memory and Execution Time


    Updated 22.09.2023 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Add a site to hosting

    This guide explains how to add a site to existing hosting, by having a second domain name (domain2.xyz) or by adding the site as a subdomain (abc.domain.xyz) 

    During this multi-site/multi-domain management (virtual host), the disk space and resources of your hosting are shared between your sites/subdomains.

    Note: in the event that the 20 sites offered by web hosting are used, you can order additional sites.


    Add a site or subdomain

    1. open the Manager (manager.infomaniak.com)
    2. go to Web Hosting or Cloud Server depending on your product
    3. click on the hosting/domain name concerned
    4. under Sites click on Add
    5. choose between adding a Domain or a Subdomain 
    6. enter the name of the Domain (ex: domain2.xyz) or Subdomain (ex: abc.domain.xyz)
      • By default the new site is added in the following directory: /sites/domain2.xyz on your FTP server
      • To manually define its location, you will need to click on Advanced Options (above the Validate button) and check the box: Define location manually and finally indicate a folder name
    7. Under Advanced Options , it is possible to choose a PHP version different from the one recommended
    8. complete the procedure with the Validate button
    If it is a subdomain or the domain name or its DNS zone is managed by Infomaniak, it is possible to automatically update the DNS entries and existing entries. Otherwise, make the necessary changes with your registrar or transfer management of the domain name to Infomaniak.


    Manage/view your sites

    1. open the Manager (manager.infomaniak.com)
    2. go to Web Hosting or Cloud Server depending on your product
    3. in the Dashboard of the hosting concerned, your different sites are displayed under the heading: Sites


    Updated 20.09.2023 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Getting Started Guide: managed Cloud hosting

    Thank you for letting us host your online projects.

    This guide will enable you to quickly use the basic functions of your new product. In case of problems, please consult our knowledge base before contacting  our support team.

    You ordered a managed Cloud Server and you want...

    1. To create a WordPress website with "My Easy Site"
    2. To install a Web app (ownCloud, Joomla, Typo3, Drupal, phpBB, Simple Machines Forum, Magento, PrestaShop, etc.)
    3. Manage your FTP accounts/users
    4. Manage and publish files on your hosting via our FTP Manager
    5. Manage your MySQL databases
    6. Add a site or a subdomain to your hosting (multisite)
    7. Preview your site even if your domain name does not yet point to the Infomaniak servers

    Important: If your domain name is not managed by Infomaniak or your hosting is not managed under the same customer account as your domain name, follow this guide to configure DNS or the Records to link the domain name to your hosting.



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Getting Started Guide : VPS Cloud

    Thank you for entrusting us with the hosting of your online projects. This guide contains essential resources to get you started with your VPS Cloud, the unmanaged server offered by Infomaniak.

    In case of problem, please consult our knowledge base. As a general rule, our support will only answer your questions that relate to the hardware part of the Cloud VPS.


    Cloud VPS Information

    • It is not planned to support UEFI and Secure boot in VPS Cloud offer
    • It is not possible to migrate a vmdk file to work on OpenStack because we are using KVM for virtualization
    • Concerning the opening of ports, consult this guide (click here)

    Cloud Linux VPS

    • How to connect to your server via an SSH key?
    • Which Linux distributions are supported?
    • Format and mount Cloud Server data volume (important)

    Windows Cloud VPS

    • How to connect to your Windows server?
    • What versions of Windows are supported?


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Install a new WordPress site (+ uninstall)

    This guide concerns the Infomaniak WordPress & Apps tools that allow you to create and maintain a scalable and ergonomic website without requiring great technical knowledge, based on the most widely used content management system in the world, WordPress .

    Install WordPress on the site of your choice

    1. open the Manager ( manager.infomaniak.com )
    2. go to Web Hosting
    3. click on the hosting/domain name concerned
    4. in the left side menu click on My Sites
    5. click on WordPress & Apps
    6. click on + New application
    7. choose WordPress and click Install

    Two types of installation are available to you: easy and advanced to customize your use of WordPress a little more.

    In any case, you will have to choose the site on which to install the application (via a drop-down menu showing the sites present within your hosting) as well as a user name (login) and a password which will be used to Log into the WordPress dashboard .

    All the information requested during the installation can be modified later, such as the theme or the name of the site.

    Uninstall a WordPress & Apps site

    1. open the Manager ( manager.infomaniak.com )
    2. go to Web Hosting
    3. click on the hosting/domain name concerned
    4. in the left side menu click on  My Sites
    5. click on  WordPress & Apps
    6. in the grid, hover over the WordPress you want to delete
    7. click on the trash can icon at the top right of the tile concerned
    8. confirm your wish to uninstall

       

    Learn more

    • Install a free SSL certificate
    • See all our WordPress FAQs


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    SSH connection (1st Cloud Linux VPS connection)

    This guide explains how to establish the first connection in SSH on your VPS Cloud.

    Run a command with root privileges

    You have to type:

    sudo -i

    Effectively sudo -i loads root's full environment, giving you a full interactive session as root with root's home directory and environment variables. Learn more


    under macOS or Linux

    To connect, you need to open a Terminal window and enter the following command:

    ssh -i [key path] [user]@[server]

    If you receive a "WARNING: UNPROTECTED PRIVATE KEY FILE!" error, issue the following command:

    chmod 400 [key path]

    Meaning of indications

    [ key path ] = link to the file that contains the private key. As a reminder, when ordering your VPS Cloud, you were asked to generate a key pair or to upload your own public key (the rights must be sufficient, 0700 for example).

    [ user ] = read at the end of the guide

    [ server ] = IPv4 address of the server (indicated on your administration console in the “Server” > “Cloud” menu on the “Cloud Server” page)


    under Windows

    Windows does not allow you to connect in SSH natively but you can activate the Bash shell (Windows 10 mininum) or download the following two free software: PuTTY & PuTTYgen

    To begin with, your private key must be converted for use with PuTTY.

    To do this, open PuTTYgen and click on the " Load " button to load your private key. Then just save your private key using the “ Save private key ” button.

    Now open PuTTY and configure it with the following:

    Under Session (in the left panel):

    [ HostName ] = IPv4 address of the server (indicated on your administration console in the “Server” > “Cloud” menu on the “Cloud Server” page)

    [ Port ] = leave the default port, i.e. 22

    [ Connection type ] = indicate “SSH” here

    Under Connection / SSH / Auth (in the left panel): open your private key generated via PuTTYgen using the “ Browse ” button under “ Private key file for authentication ”.

    To finish, press the “Open” button at the bottom of the window. A terminal will open and ask for your username ([ user ] = read below)

    Default username [user] of unmanaged cloud servers with:

    Alma Linux = almalinux

    archlinux= arch

    CentOS= cloud-user 

    Debian Stretch =  debian

    Debian Jessie = debian

    Debian Wheezy (and earlier) = root

    Fedora =  fedora

    FreeBsd = freebsd

    ubuntu=  ubuntu

    openbsd = openbsd

    openSUSE LEAP 15 = opensuse

    openSUSE 42 = root

    rancherOs = rancher

    SuSE linux Enterprise server = root

    The user is always the default user for the distribution


    Updated 29.08.2023 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Difference between a hosting and a site

    On a technical level

    A hosting covers different websites. It is therefore possible to add several websites to a hosting (multisite management). In this case, the hosting resources (disk space, databases, runtimes and script memories, etc.) are shared between the different websites on the hosting.

    For example, the basic Cloud Server plan contains 5 hostings and 20 websites. That means that you can create 20 website with 20 different domain/subdomain names which you can organise freely among your 5 hostings.

    On an administrative level

    You can assign rights at the level of a hosting. For example, you can assign the management of all sites contained on one hosting to one person.

    However, it is impossible to restrict the management of certain sites within the same hosting.

    A user (which you add on your management platform) cannot have a right limited to a single site, but only to a hosting.

    However, you cancreate an FTP user limited to a specific folder (in this case, you'd have to limit the user to the folder where the site is located).



    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Modify the configuration of a managed Cloud Server

    This guide explains how to modify your current Managed Cloud Server offer.


    Increase resources

    The basic Managed Cloud Server plan contains 5 hostings and 20 websites.

    To add additional hosting or change server configuration to increase CPU/RAM:

    1. open the Manager ( manager.infomaniak.com )
    2. go to Cloud Server
      sign
    3. click on the server concerned
    4. click on the Manage  button then Modify the offer
    5. make the desired adjustments and complete the procedure

    Read also modify the disk space of a hosting.


    Increase process limit

    On Linux, the number of processes a user or system can create simultaneously is limited. These limits prevent excessively fast processes from consuming excessive resources and affecting the general stability of the system. Process limits are managed by the Linux kernel and can be viewed and modified using specific commands and configuration files. You can request to increase the limits by contacting our support.



    Updated 14.09.2023 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Putting a site into maintenance mode / temporarily disabling a website

    This guide explains how to enable or disable maintenance mode on a website in your hosting.

    The maintenance mode allows you to display a personalized message to your visitors, for example during the resolution of a technical problem. It is also possible to configure IP addresses that can bypass this page.


    Activate maintenance mode

    To set up a page with the message of your choice:

    1. open the Manager (manager.infomaniak.com)
    2. go to Web Hosting
    3. click on the hosting/domain name concerned
    4. in the left side panel, click on My sites  then on Pages editor
    5. choose the site concerned
    6. click on  Create a maintenance page (or Customize )
    7. layout the text of your choice
    8. configure the display using the items on the right
    9. click on Save so as not to lose your modifications during editing
    10. click on Save & activate to publish the page


    Allow IP addresses

    It is possible to display a site even with the maintenance mode. To do this, it is necessary to enter the IP addresses of the computers that must be able to bypass maintenance mode:

    1. activate the maintenance mode according to the procedure above
    2. go to the configuration page of the maintenance page (see procedure above)
    3. under Maintenance  on the right, click on Insert my IP address to authorize your computer to display the site without maintenance mode. It is also possible to manually enter the IPs to authorize
    4. click save and publish
    If the IP addresses of the added computers change, it will be necessary to repeat these steps.


    Turn off maintenance mode

    To disable the message that appears on your site during maintenance:

    1. open the Manager (manager.infomaniak.com)
    2. go to Web Hosting
    3. click on the hosting/domain name concerned
    4. in the left side panel, click on My sites  then on Pages editor
    5. choose the site concerned
    6. in the Maintenance rectangle, click on  Customize
    7. click on Save & deactivate at the bottom right


    Alternative method for WordPress

    It is not recommended to activate the Infomaniak maintenance page above to then work in WordPress. We recommend instead the use of a WordPress extension (there are dozens of them) dedicated to maintenance within the CMS itself or the addition of code

    in a new empty file named .maintenance (the dot before the filename is important) placed on the server at the root of your site, which will disable all your pages except the WordPress homepage.

    Updated 06.09.2023 Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Change the domain name of a website

    This guide explains how to replace the main domain name associated with a Website in the event that you wish, for example, to change the name of your activity or change the spelling.

    Indeed it is not possible to simply modify the spelling of the domain name concerned; you must own the new domain name and come install it instead of the current one by reversing it (read below).

    Also note that you can rename your Web Hosting product in the Infomaniak Manager, but changing the name of a hosting has absolutely no impact on the site URLs. It is necessary to act on the domain name and if necessary adapt the content of the site.


    Prerequisites

    Have the desired new domain name (if necessary you have to buy it).

    If the change sought is more of a "subdomain" to "main domain" type (example: dev.domain.abc → domain.abc) then a guide is here.


    Add the new domain as an alias

    When the new domain name is ready to be used instead of the old one:

    • connect to your Infomaniak space (manager.infomaniak.com)
    • add the new domain as an alias to your site

    It is this alias that will replace the current main domain name after the inversion that you are going to perform.


    Swap alias and primary domain

    Once the alias domain is added to your site:

    1. connect to your Infomaniak space (manager.infomaniak.com)
    2. go to Web Hosting
    3. click on the relevant hosting/domain name
    4. under Sitesat the bottom right, click on the site concerned
    5. under Domains at the bottom right, click on the iconsignall to the right of the alias intended to become the main domain
    6. chooseSet as primary domain
    7. if necessary, delete the old domain name and its variants that have become alias domains

    If you use an SSL certificate, you will need to update it so that it includes the added aliases.

    If you use the Dedicated IP option, you must uninstall it, and reinstall it after the reversal you are about to perform.


    Adapt the content of the site

    If your site corresponded to a specific domain name, it is possible that errors will appear if you do not adapt its content to the new name. Click below if you are using:

    • WordPress
    • Joomla
    • Prestashop
    • Other application offered in WordPress & Apps


    Link to this FAQ:
    Has this FAQ been helpful?
    Thank you for your feedback. Improve this FAQ?
    Please do not ask any questions through this form, it is only used to improve our FAQ.
    Please use our contact form for any question.
    Your message has been sent. Thank you for suggesting an improvement to this FAQ.
    Display more results If you cannot find an answer, contact us
    logo infomaniak
    Prices do not include VAT
    facebook
    twitter
    linkedin
    instagram

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press space Infomaniak blog All certificates Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support Sales contact API REST Report abuse

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    ©2023 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map
    icann-logo
    swiss
    new-iso
    swiss-hosting
    logo infomaniak
    Prices do not include VAT

    Infomaniak

    About Infomaniak The team Infomaniak is recruiting Press and media Infomaniak blog All certificates Clients' opinions

    Support

    Assistance 7/7 FAQ and guides Premium Support offer Sales contact API REST Report abuse

    Partnerships

    Become a reseller Affiliate programme Directory of partners Requests for quotes

    Ecology

    Green hosting Certificates & awards

    Follow our development

    The email entered is invalid
    icann-logo
    swiss
    new-iso
    swiss-hosting

    facebook
    twitter
    linkedin
    instagram
    ©2023 Infomaniak
    Contracts - Legal notice - Data Protection - Privacy Policy - Site map

    Managers

    earth icon
    • EN
      • EN
      • DE
      • ES
      • FR
      • IT
    Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.