Do you want full control over the server you host your Foleon content on? In this article, we show you how to compress your content to a ZIP file, and how you can upload it to your server.
💡 This feature is not included in every plan. If you're interested in using this functionality, please reach out to our Customer Success Management team.
In this article
How to compress your Foleon Doc to a ZIP file
In order to upload your Foleon Doc to your own server, you will need to download all of its contents. We compress your content to a ZIP file and send it to you, so you can download it and later upload it to your own server.
Go to the project of the content that you want to compress to a ZIP file. Click on the 3 dots of your Foleon Doc, and click on Compress to ZIP.
💡When you host Foleon Docs on your own server, the editions functionality will not work.
After clicking on Compress to zip, you have to confirm that you want to compress this Foleon Doc to a ZIP file. After confirming, you will see a message letting you know we’ll send you a download link to your email shortly.
⚠️ The maximum file size for successfully generating a ZIP file is 380 MB. The size mostly depends on the size of the images in your Foleon Doc. If you experience issues with receiving your ZIP, please contact our Support team.
Uploading the content to your own server
In the email you received, you'll see a link that allows you to download the ZIP file.
The file is a compressed tarball archive, which you can extract with a variety of utilities, such as WinRAR or 7-Zip, or directly on the command line:
tar -xzvf filename.tar.gz
💡 If you need assistance with the technical steps for the upload, we recommend consulting your internal IT department.
To view your Foleon Doc, you have to upload the extracted files to a web server. This is due to the Foleon Doc using cross-origin "XMLHttpRequest" requests, which will not work on locally viewed pages (e.g. using the file:// scheme).
There are many ways to upload the extracted files to your web server — for example, through the web interface of your server's content management system. A popular alternative is SSH File Transfer Protocol (SFTP), which connects to the file server using a desktop app such as Filezilla.
After you've uploaded the files, no further action is needed. You can then access your Doc by navigating to its folder, e.g. https://www.mydomain.com/projects/docfoldername
Frequently Asked Questions (FAQ)
Are the HTML Pages of the ZIP files static or dynamic?
Under what conditions/ state does the data in the ZIP files run?
What technical requirements do I need to meet so that the data in the file can run on their servers?
The static files need the run on a web server. For example, you could use Apache or Nginx to serve the static files. Alternatively, you could opt for services such as AWS S3 with Cloudfront or GCP Cloud Storage.
Is it possible to set up access control for self-hosted Foleon Docs?
No, this is not possible.
Does the search function work for self-hosted Docs?
No, the search function doesn't work for self-hosted Docs, as it would require your Foleon Doc to be connected to our servers — which is not the case. For that reason, the search function is disabled by default for self-hosted Docs.