I am using a CDN as proxy for my web site.
When i stop that web site on IIS & open web site in browser(without https://) default page of IIS shows like below:


CDN supports SSL.
For configure web site to work with SSL I did this on IIS:


Problem is when I stop web site in IIS & open https://example.com in browser default page of IIS does not show and the page below shows:

Error 20 Of CDN

How can i show default page of IIS when site is stop and we are trying to open web site with (https://)?

  • Why would you want to show the default page from IIS? An error seems completely appropriate to me. Jan 30, 2022 at 8:39
  • That error shows my server & proxy ips to others. I want to hide my ip because of hackers & spammers. Jan 30, 2022 at 10:40
  • The right solution for that problem is changing the configuration at the CDN. There are going to be times when it can't contact your server and shows this message. It isn't realistic to have 100% uptime at your server to prevent that. What CDN are you using? Jan 30, 2022 at 12:40
  • @Stephen Ostermiller My CDN is imperva Jan 30, 2022 at 14:45

1 Answer 1


Keeping your server up 100% of the time to prevent Imperva from showing that error page isn't realistic. If you don't want that information shown, you need to change the page shown by the CDN. Here is Imperva's documentation for custom error pages

This is only one of eight error pages that Imperva may show. You will probably want to create custom error pages for all eight possible errors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.