We will assume that you have already installed Hostza and logged in. If you haven’t already done so, you should check out our login section. Hostza is a cloud computing platform that stands out for offering comprehensive support for different types of services. This article explores the features and bot support that Hostza provides. Supported Languages Hostza caters to a wide range of programming languages, empowering developers to choose the most suitable technology for their projects. Here is a brief overview of the main supported languages:

How do I host my app on Hostza?

1

ZIP file creation

The first step to hosting your app on Hostza is preparing your app for upload. This involves placing the application files correctly on Hostza inside a .zip file. However, not all files need to be included in this .zip. Files like node_modules, package-lock.json, pyproject.toml and poetes.lock are not necessary as they can be generated automatically on the server side. A list of files that do not need to be uploaded is available here, helping to ensure that only the necessary files are in the .zip, making the upload process faster and smoother.
2

Dependency file

Another crucial aspect is including the dependencies file in .zip. This file tells the Hostza platform which dependencies to install for your project. For a Node.js project, this file is package.json, and for a Python project, it is requirements.txt. These files list the libraries and packages necessary for the application to function correctly. Keeping these files up to date is crucial to avoid installation errors. Additionally, it is important to note that native dependencies such as node-fetch in Node.js and random in Python should not be included in these files as they are native libraries.
3

Upload to Hostza

After following all the steps and configuring your project for Hostza, it’s time to upload your application. Go to the upload page on the Hostza website and upload your .zip file here. The process is simple: select your .zip file and click the upload button. The Hostza platform will begin the deployment process, installing the necessary dependencies and configuring your application environment automatically.

Common mistakes when deploying applications

Even with careful preparation, some errors may occur during the application deployment process. Below are some common errors and how to resolve them. If you encounter an error not listed here, please feel free to contact our team. We are always ready to help solve problems that may arise during the implementation process.
This error occurs when the image version in your environment is incompatible with your application. This error can be easily resolved by going to the environment images tab and changing to the version that corresponds to your application.
This error is usually caused by a problem with the zip file. Verify that the .zip file was created correctly and is not password protected. If the zip file is password protected, you will need to remove the password from the zip. If the file was created correctly and is not password protected, but you still receive this error, the file may be corrupt or too big. In this case, you can try creating a new zip file and see if that solves the problem.