The ProxySG does not support the use of a hosts file. However the ProxySG does offer a way of simulating such behavior by defining a forwarding host. This can be done via the CLI or the Management Console.
ProxySG>enable
Enable Password:
ProxySG#config t
Enter configuration commands, one per line. End with CTRL-Z.
ProxySG#(config)forwarding
ProxySG#(config forwarding)create host "Https_Server" 10.10.10.10 tcp=443 ssl-verify-server=no server
ok
ProxySG#(config forwarding)exit
ProxySG#(config)exit
You can set the following policy rule in the local policy file. If you do not know how to place this into the local policy file, see 000010101
<forward>
server_url.domain=www.example.com forward(Https_Server)
If you would like to resolve an http site, create follow forwarding host instead:
create example_server 10.10.10.10 http=80 server
Note: Detailed info on creating a rule to resolve an http site is available at 000009121