using setBaseUrl to change host