"View this on your browser" links on email problem

View this on your browser" links on email don’t work because instead of IP, site1.local is used.
example:
http://site1.local/Issue/ISS-00012?format=Standard

any idea how can this be changed to ip?

add “host” property to your site_config.json

Correction, it should be: "host_name": "http://site1.local:8000"

When i added “host_name”: “http://site1.local:8000” on config.json
“bench update” gives error