The 21YunBox Blog

Share information about modern deployment technologies and the future of web development.

Automatic Deployment Using Github with 21YunBox

To achieve: when you git push changes on your Github repository, 21YunBox will automatically build and deploy the changes for you. Here are the quick setups: Step 1. Copy the Deploy Webhook URL. You can find your site’s deploy Webhook under the “Settings” tab. 2. Paste the Deploy Webhook URL...

Configure Deploy Webhook

When you create a site or a web service on 21YunBox, we will automatically generate a deploy webhook URL for you. The way to use this deploy webhook URL is pretty straightforward, what you need to do is send a POST request to this URL, and 21YunBox Build will build...

21YunBox Common Build Settings

Build command This command runs in the root directory of your repository when a new version of your code is pushed, or when you deploy manually. For node projects Nextjs / Gatsby / Vue / VuePress / React / Gridsome. If you have set up your project by the standard...

21YunBox Build FAQ

Before you read the build FAQ below, check if you have the proper build settings for your site first. Learn more about Common Build Settings. Runtime Selection If you are going to deploy a static website, use Static Site as the Runtime for your site. In this environment, it has...

Troubleshooting 500 Internal Server Error

Why and how to fix this? The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the website’s server. Our team tried our best to minimize this error happens to our users. If this happens on your backend runtimes on 21YunBox,...

Troubleshooting 404 Page Not Found

Why and how to fix this? This happens because you are missing an index.html on the directory you are accessing. For examples: If this happens on your home page, which means you are missing an index.html on your Publish directory. If this happens on the subdirectory of your site, for...

Troubleshooting 403 Forbidden

Why and how to fix this? This happens because, in most web servers, the default action for folders is “Directory listing” which is disabled by default. You can fix this by putting an index.html on that directory. By doing so, you can show a custom message to your users. Custom...