Use hostname config for url resolution