Skip to main content
romank
Explorer III
November 5, 2024
Solved

FortiWeb Error page for not existing service anymore

  • November 5, 2024
  • 1 reply
  • 1024 views

Hey,

HI if some can point where to configure scenerio where when someone will visit `somewebsite.com` then it will get an error page with information " soory this service isnt avaiable any more".

Is it possible to achieve it on WAF without creating another web server where WAF will have to forward traffic?  

Best answer by AEK

Hello Roman

If your server pool has health-check, like ping, TCP or other, when the back-end server is not reachable then you will have a message like this when you try access the VS:

 

waf.png

 

So I don't currently know a clean solution, but as workaround you can configure the pool with health-check and a fake (non-existing) back-end server.

You can also customize the error message above via menu "System .. Config .. Replacement Message".

Hope it helps.

1 reply

AEK
SuperUser
AEKAnswer
SuperUser
November 5, 2024

Hello Roman

If your server pool has health-check, like ping, TCP or other, when the back-end server is not reachable then you will have a message like this when you try access the VS:

 

waf.png

 

So I don't currently know a clean solution, but as workaround you can configure the pool with health-check and a fake (non-existing) back-end server.

You can also customize the error message above via menu "System .. Config .. Replacement Message".

Hope it helps.

AEK
romank
romankAuthor
Explorer III
November 5, 2024

Yeap This is how I did it, but i didnt put any  server pool. Just empty aka place holder  and it worked ;)