Custom Webroots let you upload your own website to your Canary. Simply wrap up your HTML, JS and CSS into a Zip file, upload, and have the Canary run your own interface.
Creating your custom webroot is quick and can be easily done by following the steps below.
Note: Webroots support more advanced configuration files which can modify how they work, check out a guide for this here.
Step 1 - Create the webroot ZIP file
The simplest custom webroot is a ZIP file containing an index.html in its root directory (ZIP file size is capped at 100MB).
As long as these requirements are met, you can create any static site that you want by following normal conventions and including your required pages, images, css, js, etc. in the ZIP file.
Step 2 - Including 403 and 404 Error Pages (optional)
You Canary will display generic 403 and 404 pages, but these can be changed. If you include your own 403.html and/or 404.html in your root directory, they will be used instead of the generic pages.
Step 3 - Including .posted pages (optional)
By default, if a POST request is made, a 403 page will be displayed. But you can change this behaviour by including .posted pages that will be returned instead of the forbidden page.
For example, if you have login.html that allows the user to attempt to login, you can include login.html.posted which will be displayed when the user tries to login (but the URL will still show login.html).
Capturing Incident Data on POSTs
If a POST request is made, any submitted POST parameters will be logged in the incident that gets created on your Console.