Setting Up Custom Error Pages on Windows Servers

To configure the web server to show custom error pages for a site or a directory within 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 the Hosting Settings button beside domain name you need.
    2. Select the Custom error documents checkbox.
    3. Click OK.
  3. Go to the Websites & Domains tab.
  4. Click the domain name you need.
  5. Click Virtual Directories to see the list of error documents for the root web directory. Error documents located here are used for all web pages of the selected site. If you want to customize error pages for a specific virtual directory, navigate to that directory.
  6. Click Error Documents tab and click the required error document in the list.
  7. Once the web server is restarted, it will start using your error documents.