I have an existing site hosted under www.myhost.com. I created a new "site" and using apache config/rewrites, this is hosted under new.myhost.com.The problem is that when I make a request (example: www.myhost.com/my-servlet/lets-go), the values returned by absoluteLink function uses "new.myhost.com"...