Skip to content

Redirecting to Spookhost Error Pages

By default, if your site has an error code, Spookhost may redirect you to our error pages with the url starting https://errors.spookhost.space/.

Error Codes that will redirect to our error pages

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 503 Service Unavailable

Changing the error pages

By setting it in the control panel

  1. Login to your control panel
  2. Choose "Error Pages" and choose your domain.
  3. Input the page to redirect to when you encounter an error

By setting it in the .htaccess file

You may also set the error pages by creating a .htaccess file in your htdocs directory with the following content:

apache
ErrorDocument 400 /your_custom_error_page.html
ErrorDocument 401 /your_custom_error_page.html
ErrorDocument 403 /your_custom_error_page.html
ErrorDocument 404 /your_custom_error_page.html
ErrorDocument 503 /your_custom_error_page.html