Skip to content

Custom Pages

Open Console → WAF → [your domain] → Custom Pages. Select a page type, enable it and paste your HTML template. Changes deploy to all edge nodes within seconds.

Each page type maps to a specific HEIMWALL response:

Page typeWhen it is shown
blockedA firewall rule blocks a request
captcha / hcaptcha / friendlycaptcha / mtcaptcha / altchaChallenge interstitials
javascriptBrowser integrity check page
maintenanceOrigin is in scheduled downtime
ratelimitVisitor hits the rate limit threshold
waitingroomQueue page shown during a waiting room event
nooriginHEIMWALL cannot reach your origin server
overloadShort-lived “please wait” page shown under extreme load — template must include {{refresh}} (or its own meta-refresh) so the browser retries automatically
502 / 503 / 504Custom pages for these HTTP error codes from origin

Paste a full HTML document into the editor. HEIMWALL processes template variables before serving. The page is delivered from edge — external CSS and fonts loaded by URL work normally. Keep the page lightweight; visitors see it under adverse conditions (attack traffic, origin down).

Insert these placeholders anywhere in your HTML; HEIMWALL replaces them at render time:

VariableValue
{{.IP}}Visitor IP address
{{.RayID}}Unique request ID, useful for support lookup
{{.Host}}The domain the request targeted
{{.Rule}}The rule name that triggered the page (block pages only)
{{.RetryAfter}}Seconds until the visitor may retry (ratelimit pages only)

Disable the toggle for any page type to revert to HEIMWALL’s built-in default. Your custom HTML is preserved and can be re-enabled at any time.