Hello,
I need to make publication of server via WAF on XG, but I have complication in names of server.
Its public name is something like this : webapi-srvr.company.cz
Its internal name is something like this : webapi-srvr-int.cz.company.net
Its internal name is something like this : webapi-srvr-int.cz.company.net
Server is used by internal users and should be used by external users as well.
There are several web servers on IIS and server is differentiated by name webapi-srvr-int.cz.company.net internally in IIS (Site binding host name). It means it works well for internal users, but it is not usable for external users in normal regime (without change of server name). The only solution seems to be translation at WAF.
Another complication is due to the certificate. There is used internal certificate including internal name (to be honest I do not know how it works). After change of server name in IIS config internal clients stop work and external do not start to work ...
I found some information about Rewrite HTML possibility in this page : https://docs.sophos.com/nsg/sophos-firewall/17.5/Help/en-us/webhelp/onlinehelp/nsg/sfos/tasks/WebServerProtectionRule.html
Example: One of your web server instances has the hostname yourcompany.local but the hosted web server’s hostname on the device is yourcompany.com.
Do not know whether this feature works like requested. There is no other filed for definition of substitution.
Is it possible to make change of server name in html header somehow ?
Best regards,
Petr
This thread was automatically locked due to age.