1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Put a site in maintenance / temporarily disable a site
This guide explains how to activate or deactivate maintenance mode on a website hosted by Infomaniak Hosting.
Maintenance mode allows you to display a customized message to your visitors, for example, during the resolution of a technical issue. It is also possible to configure IP addresses that can bypass this page.
Activating Maintenance Mode
To set up a page with your chosen message:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- Click on the icon at the top right of the interface (or navigate through the left side menu, for example)
- Choose Website (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
Then choose:
- A/B: click on Manage then Enable Maintenance
- C: click on Enable Maintenance then Customize
- D: click on Page Editor then Maintenance Page > Customize
Then, to customize the maintenance page:
- Layout the text as desired
- Configure the display using the elements on the right
- Click Save to keep your ongoing edits
- Click Save & Activate to publish the page
Allowing IP Addresses
It is possible to display a site even with maintenance mode active. To do this, it is necessary to specify the IP addresses of computers that should be able to bypass maintenance mode:
- Activate maintenance mode following the procedure above
- Go to the maintenance page configuration page (see above procedure)
- Under Maintenance on the right, click on Insert my IP address to allow your computer to display the site without maintenance mode. It is also possible to manually enter the IP addresses to allow
- Click Save and Publish
Deactivating Maintenance Mode
To deactivate the message displayed on your site during maintenance:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Edge
- Click on the icon at the top right of the interface (or navigate through the left side menu, for example)
- Choose Website (universe Web & Domain)
- Click on the name of the relevant object in the displayed table
- Click on Manage then Disable Maintenance or directly on the button in the red banner
Alternative Method for WordPress
It is not recommended to activate the above Infomaniak maintenance page and then work in WordPress. It is recommended to install a WordPress extension (there are dozens available) dedicated to putting WordPress into maintenance mode within the CMS itself or by adding the code
<?php $upgrading = time(); ?>
in a new empty file named .maintenance (the period before the file name is important) placed on the server at the root of your site, which disables all your pages except the WordPress home page.