allow specifying the complete server_url
allow specifying a subdomain in server