Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
romank
New Contributor III

FortiWeb Error page for not existing service anymore

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?  

rkr
rkr
1 Solution
AEK
SuperUser
SuperUser

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

View solution in original post

AEK
2 REPLIES 2
AEK
SuperUser
SuperUser

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
AEK
romank
New Contributor III

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

rkr
rkr
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors