Setting Up Custom Error Pages on Linux Servers

To configure the web server to show custom error pages for a site:

  1. If you have access to several subscriptions, select the required subscription in the Subscription box at the top of the screen. Or, to view sites of all your subscriptions, select All subscriptions.
  2. Switch on support for custom error documents.
    1. Go to the Websites & Domains tab and click Hosting Settings in a website settings pane.
    2. Select the Custom error documents checkbox.
    3. Click OK.
  3. Connect to your FTP account, and go to the error_docs directory.
  4. Edit or replace the respective files. Be sure to preserve the correct file names:

The web server will start using your error documents in a few hours, after it is restarted.