1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Modifying the Folder of a Website
This guide explains how to modify the target folder in which your Website is stored on an Infomaniak Web Hosting.
What is a Website folder?
On Infomaniak Web Hosting, it is possible to install multiple websites with their own domain names (multi-site management).
Each of these websites is stored in a folder on your hosting, which is the target of the site. It is possible to freely modify the target of a site.
Example:
- The website domain.xyz has the default target folder /web
- You publish a site in a new sub-folder of /web named, for example, /web/v2
- By modifying the target /web of the website domain.xyz to /web/v2, the website domain.xyz will display the content of the /web/v2 folder, without including this path in the browser's address bar and without providing access to any files still located in /web
We recommend, however, not creating "v2" in a sub-folder of "web" but alongside it by creating the folder in the root of your hosting.
These folders exist on the server but you are not required to connect via FTP to manage them.
Viewing the folder for your Websites
To find information about the folder in which your site is stored:
- Log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- Click on the icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- Select Website (universe Web & Domain)
- Click on the name of the relevant item in the displayed table
- The Location information indicates the target folder
You can also view the folders used by the sites on your Web Hosting:
- Log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- Click on the icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- Select Hosting (universe Web & Domain)
- Click on the name of the relevant item in the displayed table
- Click on My Websites in the left sidebar menu
- Click on Manage Sites in the left sidebar menu
- The Location column indicates the target folder for each of the sites on the hosting
Modifying the target or folder of a Website
To manage the location of a Website within the hosting:
- Log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- Click on the icon at the top right of the interface (or navigate using the left sidebar menu, for example)
- Select Hosting (universe Web & Domain)
- Click on the name of the relevant hosting in the displayed table
- Click on the name of the relevant site in the displayed table
- Click on Advanced Settings
- Under Site Folder, manage the desired location:
- Click on the blue Save button at the bottom of the page