setup url->host in config