changing local url to server