Root.processHref (href)
href URL postprocessor. If a virtual host mapping is defined for this site's alias, use it. Otherwise, use normal site URL.

Sourcecode in Root/objectFunctions.js:
1:   function processHref(href) {
2:      return app.properties.defaulthost + href;
3:   }