Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Modify the folder of a website
This guide explains how to change the target folder where your website is stored on an Web Hosting Infomaniak.
Introduction
- On an Infomaniak Web Hosting, it is possible to install several websites with their own domain name (multisite management).
- Each of these sites is stored in a folder of your hosting, which is the target of the site. It is possible to freely modify the target of a site. Example:
- The site
domain.xyz
has as target for example the folder/web
… - You publish a site in a new subfolder of
/web
named for example/web/v2
… - By modifying the target
/web
of the sitedomain.xyz
to/web/v2
, the sitedomain.xyz
will display the content of the folder/web/v2
without obviously including this path in the browser's address bar and without leaving access to any files still located in/web
.
- The site
- It is recommended not to create "
v2
" in a subfolder of "web
" but next to it, by creating the folder at the root of your hosting. - These folders actually exist on the server, but you are not required to connect via FTP to manage them.
Display the folder of your websites
To find information about the folder where your site is stored:
- 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.
- Then click on the chevron to expand the Information section of this site.
- The highlighted indication below is the location of the example site:
Change the target folder or website folder
To manage the location of a website within the hosting:
- 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 Manage in the Advanced Settings section:
- Manage the desired location for the site:
- Click on the button to Save at the bottom of the page.
Link to this FAQ: