1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Manage website maintenance mode
This guide explains how to activate or deactivate maintenance mode on a website of an Hosting Infomaniak.
Introduction
- Maintenance mode allows you to display a custom message to your visitors, for example while resolving a technical issue.
- It is also possible to specify IP addresses that can bypass this page.
- An email is sent to the users of the Organization.
Enable maintenance mode
To activate a page that temporarily replaces your usual homepage:
- 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 the toggle switch to enable the maintenance page:
- Confirm the activation of maintenance mode.
Customize the maintenance page
To set up a page with your chosen message:
- 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 Maintenance Page in the left sidebar.
- Click on Create a page or on the Customize button if it already exists:
- Format the text of your choice.
- Configure the display using the elements on the right.
- Click on Save to avoid losing your ongoing edits.
- Click on Save & Activate to publish the page:
Allow IP addresses
It is possible to display a site even with maintenance mode enabled. To do this, it is necessary to enter the IP addresses of the computers that need to bypass maintenance mode:
- Activate maintenance mode according to the procedure above.
- Go to the maintenance page configuration page (see procedure above)
- 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 authorize.
- Click on Save and publish.
Disable maintenance mode
To disable the message that appears on your site during maintenance:
- 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 either the Disable button or the toggle switch to disable the maintenance page:
- Confirm the deactivation of maintenance.
Alternative method for WordPress
It is not recommended to activate the Infomaniak maintenance page above to then work in WordPress.
It is recommended to install a WordPress extension (there are dozens available) dedicated to maintenance within the CMS itself.
Alternatively, you can add the code <?php $upgrading = time(); ?>
to a new empty file named .maintenance
(the dot before the file name is important) placed on the server at the root of your site, which will disable all your pages except the WordPress homepage.