home > features > error

Custom error pages

Error pages are the web pages sent by the server whenever something unexpected occurs, such as a page not found. You can create your own error pages, for example, to give them the same visual style as your website.

Error pages folder

To enable custom error pages, create a folder in your website called error. Then, add web pages to the folder with the names below. These pages will be used by the server whenever the error condition they describe occurs. If you are hosted on Windows Server, please also contact us after you upload your custom error pages, to enable them for your site.
  • 401.html

    Error: "Authorization required". This error page is sent when someone tries to access a password-protected web page.
  • 403.html

    Error: "Forbidden". This error page is sent when a visitor tries to access a web page or folder that doesn't have the correct access permissions for public viewing, or to which access is restricted by IP address.
  • 404.html

    Error: "Not found". This error page is sent when a visitor tries to access a web page or other document that doesn't exist.
  • 500.html

    Error: "Internal server error". This error page is sent when a script fails to run, e.g. due to a programming error or wrong permissions, or when the server encounters a configuration error in an .htaccess file.

Seeing custom error pages in Microsoft Internet Explorer

Microsoft Internet Explorer uses its own built-in error page, which hides the actual error page sent by the server. In some versions of Internet Explorer, you'll have to turn this behaviour off in order to see your custom error pages.

In Internet Explorer, click the "Tools" menu item, and select "Internet Options...". Click the "Advanced" tab, and scroll down to the "Browsing" section. Find the item labeled "Show friendly HTTP error messages" and uncheck it. Click the "OK" button.