return same subdomain for www and non-www server URLs, closes #493